[ Jan 25 08:06:51 Enabled. ] [ Jan 25 08:06:51 Rereading configuration. ] [ Jan 25 08:06:53 Rereading configuration. ] [ Jan 25 08:06:55 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ] + . /lib/svc/share/smf_include.sh ++ SMF_EXIT_OK=0 ++ SMF_EXIT_NODAEMON=94 ++ SMF_EXIT_ERR_FATAL=95 ++ SMF_EXIT_ERR_CONFIG=96 ++ SMF_EXIT_MON_DEGRADE=97 ++ SMF_EXIT_MON_OFFLINE=98 ++ SMF_EXIT_ERR_NOSMF=99 ++ SMF_EXIT_ERR_PERM=100 ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default + DATALINK=oxControlService12 ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default + GATEWAY=fd00:1122:3344:101::1 ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default + DATASET=oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::12 ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default + LISTEN_PORT=32345 ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default + PORTBASE=19000 ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default + DOWNSTAIRS_PREFIX=downstairs ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default + SNAPSHOT_PREFIX=snapshot + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService12/omicron6 + route get -inet6 default -inet6 fd00:1122:3344:101::1 default: not in table + route add -inet6 default -inet6 fd00:1122:3344:101::1 add net default: gateway fd00:1122:3344:101::1 + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX") + exec /opt/oxide/crucible/bin/crucible-agent run -D /opt/oxide/crucible/bin/crucible-downstairs --dataset oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:06:56.344818684Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:06:56.359541861Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:06:56.359559722Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:06:56.777273865Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.4168434Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:48101"} {"msg":"region 06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.449102309Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.453192192Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.456726797Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"uri":"/crucible/0/regions","method":"POST","req_id":"1a9d1f36-00f9-4e89-989b-72c560d54327","remote_addr":"[fd00:1122:3344:101::b]:48101","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":20658,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.462526057Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.462538637Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 16, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.54607385Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"region":"06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.709772703Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"region":"06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","component":"worker"} {"msg":"region 06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.709832764Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.709922065Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.710337931Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.71476149Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.729090432Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.732492414Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.733263866Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.735742705Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.735794216Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.735841726Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.747515227Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.753096533Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:02.75419962Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"uri":"/crucible/0/regions","method":"POST","req_id":"7d10b664-25db-4b81-9801-b79993a64ef4","remote_addr":"[fd00:1122:3344:101::b]:48101","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.914031057Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:33085"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.914113829Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"uri":"/crucible/0/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","method":"GET","req_id":"e7195435-a7e3-4166-9b09-d020a0db44e9","remote_addr":"[fd00:1122:3344:101::b]:33085","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":65,"response_code":"200"} {"msg":"path is \"/data/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.914285321Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.923548195Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"datafile"} {"msg":"region 06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.932495173Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.932631355Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.932691566Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"uri":"/crucible/0/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","method":"DELETE","req_id":"5fc64360-83dc-4210-992c-124b27e05128","remote_addr":"[fd00:1122:3344:101::b]:33085","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":18430,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.932839208Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"uri":"/crucible/0/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","method":"GET","req_id":"cbcc94df-49b9-4002-93e6-94661b4f2de5","remote_addr":"[fd00:1122:3344:101::b]:33085","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.933622652Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.938345113Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:03.9484572Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"region":"06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:04.003230498Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"uri":"/crucible/0/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","method":"GET","req_id":"97de556f-351c-4c66-a4d9-953c9677e850","remote_addr":"[fd00:1122:3344:101::b]:33085","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"region 06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:04.00411054Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T08:08:04.086145391Z","hostname":"oxz_crucible_ad03f235-64c3-437c-adf6-3d9849463ec3","pid":22758,"uri":"/crucible/0/regions/06ba3bf6-a2a3-47ac-8763-b4d33ceaca5b","method":"GET","req_id":"17048fbb-d17f-45d1-8164-7bee695958d1","remote_addr":"[fd00:1122:3344:101::b]:33085","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":648,"response_code":"200"}