[ Dec 5 05:08:17 Enabled. ] [ Dec 5 05:08:17 Rereading configuration. ] [ Dec 5 05:08:20 Rereading configuration. ] [ Dec 5 05:08:25 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=oxControlService22 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService22/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.474834702Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.478513672Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.478532002Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.609882753Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.072169494Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:37057"} {"msg":"region b4013600-169b-46df-bbd8-dec7be6445a7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.11442465Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.11753449Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"uri":"/crucible/0/regions","method":"POST","req_id":"ca97eab8-b530-419a-8bc0-971831160be3","remote_addr":"[fd00:1122:3344:101::c]:37057","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":18521,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.117564981Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b4013600-169b-46df-bbd8-dec7be6445a7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.129634506Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b4013600-169b-46df-bbd8-dec7be6445a7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.129665017Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"b4013600-169b-46df-bbd8-dec7be6445a7\"), 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/b4013600-169b-46df-bbd8-dec7be6445a7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.184304423Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"region":"b4013600-169b-46df-bbd8-dec7be6445a7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.272103078Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"uri":"/crucible/0/regions","method":"POST","req_id":"ad644928-8713-462e-9b93-5f04874f293a","remote_addr":"[fd00:1122:3344:101::c]:37057","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.396716189Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"region":"b4013600-169b-46df-bbd8-dec7be6445a7","component":"worker"} {"msg":"region b4013600-169b-46df-bbd8-dec7be6445a7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.39674776Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.396864701Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-b4013600-169b-46df-bbd8-dec7be6445a7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.399719888Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-b4013600-169b-46df-bbd8-dec7be6445a7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.404362093Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.422861813Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-b4013600-169b-46df-bbd8-dec7be6445a7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.431054806Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/b4013600-169b-46df-bbd8-dec7be6445a7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.431527374Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.434098196Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.434150626Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.434193847Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.439219659Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.44485835Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.66118588Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"uri":"/crucible/0/regions","method":"POST","req_id":"5308836a-e857-40ff-bba8-e88de3b0d2e0","remote_addr":"[fd00:1122:3344:101::c]:37057","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":99,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.286549846Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:44562"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.28676414Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"uri":"/crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7","method":"GET","req_id":"8b7df976-3191-415a-8263-480d8a456584","remote_addr":"[fd00:1122:3344:101::c]:44562","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":185,"response_code":"200"} {"msg":"path is \"/data/regions/b4013600-169b-46df-bbd8-dec7be6445a7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.287003484Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b4013600-169b-46df-bbd8-dec7be6445a7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.296436537Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"datafile"} {"msg":"region b4013600-169b-46df-bbd8-dec7be6445a7 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.305755548Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.305925181Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.305982592Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"uri":"/crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7","method":"DELETE","req_id":"e9235702-6ac6-4c70-8e0e-43ce1f85240d","remote_addr":"[fd00:1122:3344:101::c]:44562","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":19021,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.306130784Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"uri":"/crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7","method":"GET","req_id":"a017f342-f372-4d8d-a255-3990c52a78f1","remote_addr":"[fd00:1122:3344:101::c]:44562","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-b4013600-169b-46df-bbd8-dec7be6445a7 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.306954238Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.311584213Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b4013600-169b-46df-bbd8-dec7be6445a7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.321612915Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"region":"b4013600-169b-46df-bbd8-dec7be6445a7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.362085992Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"uri":"/crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7","method":"GET","req_id":"aacb4561-42f7-4efd-8078-fd8921a68704","remote_addr":"[fd00:1122:3344:101::c]:44562","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":717,"response_code":"200"} {"msg":"region b4013600-169b-46df-bbd8-dec7be6445a7 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.367362627Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.433285787Z","hostname":"oxz_crucible_d2a2c404-d5ae-402d-b852-b79d6b22d2ae","pid":22333,"uri":"/crucible/0/regions/b4013600-169b-46df-bbd8-dec7be6445a7","method":"GET","req_id":"da4329f2-4d6c-4eab-b5ea-e303bf418caa","remote_addr":"[fd00:1122:3344:101::c]:44562","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":21,"response_code":"200"}