[ Dec 6 05:05:31 Enabled. ] [ Dec 6 05:05:31 Rereading configuration. ] [ Dec 6 05:05:32 Rereading configuration. ] [ Dec 6 05:05:33 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=oxControlService11 ++ 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService11/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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:33.992563149Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:33.9942235Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:33.994234525Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:34.108811846Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.164787908Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49611"} {"msg":"region f56fb970-13c6-46c9-9c82-377f6730cbe8 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.214663863Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.215933204Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.21986901Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"uri":"/crucible/0/regions","method":"POST","req_id":"10d2ca95-4e02-4a2d-873c-fd8bb990276a","remote_addr":"[fd00:1122:3344:101::a]:49611","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":18993,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.227820493Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.227836813Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f56fb970-13c6-46c9-9c82-377f6730cbe8\"), 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/f56fb970-13c6-46c9-9c82-377f6730cbe8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.278010583Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"region":"f56fb970-13c6-46c9-9c82-377f6730cbe8","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.475214704Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"region":"f56fb970-13c6-46c9-9c82-377f6730cbe8","component":"worker"} {"msg":"region f56fb970-13c6-46c9-9c82-377f6730cbe8 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.475257015Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.475479638Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f56fb970-13c6-46c9-9c82-377f6730cbe8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.477892489Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.47799068Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"uri":"/crucible/0/regions","method":"POST","req_id":"b5969ddd-5226-4873-bd58-7a29eaea4352","remote_addr":"[fd00:1122:3344:101::a]:49611","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":81,"response_code":"200"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f56fb970-13c6-46c9-9c82-377f6730cbe8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.480794477Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.49526949Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f56fb970-13c6-46c9-9c82-377f6730cbe8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.498406082Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.50305357Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.503130091Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.503190752Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.503262283Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.507071697Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.513548836Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.560262234Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:38343"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.562362469Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"uri":"/crucible/0/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8","method":"GET","req_id":"57d39402-9e86-4868-8c66-bff37c295f31","remote_addr":"[fd00:1122:3344:101::a]:38343","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":2070,"response_code":"200"} {"msg":"path is \"/data/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.562566153Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.572165084Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"datafile"} {"msg":"region f56fb970-13c6-46c9-9c82-377f6730cbe8 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.580531924Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.580733147Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.580821689Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"uri":"/crucible/0/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8","method":"DELETE","req_id":"5188a67b-0980-4ba6-8fed-162878063709","remote_addr":"[fd00:1122:3344:101::a]:38343","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":18295,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.581002861Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"uri":"/crucible/0/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8","method":"GET","req_id":"2989fd98-0e7d-4a1a-baa6-cd9cfdc1b737","remote_addr":"[fd00:1122:3344:101::a]:38343","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f56fb970-13c6-46c9-9c82-377f6730cbe8 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.581847105Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.585617849Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.59526583Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"region":"f56fb970-13c6-46c9-9c82-377f6730cbe8","component":"worker"} {"msg":"region f56fb970-13c6-46c9-9c82-377f6730cbe8 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.650590416Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.692415836Z","hostname":"oxz_crucible_a31161d5-0c9f-4788-bd3f-3888f075c4b0","pid":19731,"uri":"/crucible/0/regions/f56fb970-13c6-46c9-9c82-377f6730cbe8","method":"GET","req_id":"9a3c6283-064d-4c30-9939-b572421f7a86","remote_addr":"[fd00:1122:3344:101::a]:38343","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":91,"response_code":"200"}