[ Dec 1 20:52:49 Enabled. ] [ Dec 1 20:52:49 Rereading configuration. ] [ Dec 1 20:52:52 Rereading configuration. ] [ Dec 1 20:52: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=oxControlService21 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService21/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.129425227Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.134148437Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.134169747Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.383742719Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.790915455Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:45676"} {"msg":"region 90761532-b634-4701-9d08-ce58c1ba1899 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.866444901Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.867372766Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.871928022Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"uri":"/crucible/0/regions","method":"POST","req_id":"479933bf-25df-426a-af27-3e6d2c1fa605","remote_addr":"[fd00:1122:3344:101::a]:45676","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":15676,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/90761532-b634-4701-9d08-ce58c1ba1899","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.878483302Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/90761532-b634-4701-9d08-ce58c1ba1899","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.878497502Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"90761532-b634-4701-9d08-ce58c1ba1899\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/90761532-b634-4701-9d08-ce58c1ba1899\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.946710108Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"region":"90761532-b634-4701-9d08-ce58c1ba1899","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.140827915Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"region":"90761532-b634-4701-9d08-ce58c1ba1899","component":"worker"} {"msg":"region 90761532-b634-4701-9d08-ce58c1ba1899 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.140871858Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.140972689Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-90761532-b634-4701-9d08-ce58c1ba1899","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.141512984Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-90761532-b634-4701-9d08-ce58c1ba1899","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.14608867Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.164307841Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-90761532-b634-4701-9d08-ce58c1ba1899","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.174992044Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/90761532-b634-4701-9d08-ce58c1ba1899","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.175535619Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.177827772Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.177887484Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.177935615Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.178066189Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"uri":"/crucible/0/regions","method":"POST","req_id":"5281312e-2e0a-4c32-ae63-71c178f405c8","remote_addr":"[fd00:1122:3344:101::a]:45676","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":67,"response_code":"200"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.182075969Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.187604011Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.05446823Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:55933"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.056811984Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"uri":"/crucible/0/regions/90761532-b634-4701-9d08-ce58c1ba1899","method":"GET","req_id":"15cc9c28-ee70-4324-bbe8-2b86b73f103b","remote_addr":"[fd00:1122:3344:101::a]:55933","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":2317,"response_code":"200"} {"msg":"path is \"/data/regions/90761532-b634-4701-9d08-ce58c1ba1899\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.0570382Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/90761532-b634-4701-9d08-ce58c1ba1899","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.067625631Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"datafile"} {"msg":"region 90761532-b634-4701-9d08-ce58c1ba1899 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.075196398Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.075485746Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.075552968Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"uri":"/crucible/0/regions/90761532-b634-4701-9d08-ce58c1ba1899","method":"DELETE","req_id":"fc8a671e-9c89-4454-a240-505b20c3fdb3","remote_addr":"[fd00:1122:3344:101::a]:55933","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":18585,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.075722833Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"uri":"/crucible/0/regions/90761532-b634-4701-9d08-ce58c1ba1899","method":"GET","req_id":"672b53a3-d67b-40c9-9590-b3752ac32982","remote_addr":"[fd00:1122:3344:101::a]:55933","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":29,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-90761532-b634-4701-9d08-ce58c1ba1899 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.076494944Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.083252309Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/90761532-b634-4701-9d08-ce58c1ba1899\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.091342881Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"region":"90761532-b634-4701-9d08-ce58c1ba1899","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.133655971Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"uri":"/crucible/0/regions/90761532-b634-4701-9d08-ce58c1ba1899","method":"GET","req_id":"cc42de27-5483-4b5f-bfaf-17ff25f030c3","remote_addr":"[fd00:1122:3344:101::a]:55933","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":659,"response_code":"200"} {"msg":"region 90761532-b634-4701-9d08-ce58c1ba1899 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.143434409Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:05.263902002Z","hostname":"oxz_crucible_1ec8faba-90b9-4093-aa06-a8a8042d5880","pid":21232,"uri":"/crucible/0/regions/90761532-b634-4701-9d08-ce58c1ba1899","method":"GET","req_id":"3c57d984-4cbd-4fc9-950f-17c76f50414e","remote_addr":"[fd00:1122:3344:101::a]:55933","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":28,"response_code":"200"}