[ Oct 26 11:47:44 Enabled. ] [ Oct 26 11:47:44 Rereading configuration. ] [ Oct 26 11:47:45 Rereading configuration. ] [ Oct 26 11:47:46 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=oxControlService23 ++ 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::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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService23/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::14]: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-10-26T11:47:46.993783267Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:46.998470816Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:46.998482507Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:47.178029744Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.699085159Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:43480"} {"msg":"region e12ac101-a4ae-48de-b53d-169913e55ff5 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.731557478Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.739627387Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.739653717Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"uri":"/crucible/0/regions","method":"POST","req_id":"daa9f960-b8b2-497e-be94-99c5f7b0ac7f","remote_addr":"[fd00:1122:3344:101::a]:43480","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":18213,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e12ac101-a4ae-48de-b53d-169913e55ff5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.751305018Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e12ac101-a4ae-48de-b53d-169913e55ff5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.751338928Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e12ac101-a4ae-48de-b53d-169913e55ff5\"), 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/e12ac101-a4ae-48de-b53d-169913e55ff5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.803095062Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"region":"e12ac101-a4ae-48de-b53d-169913e55ff5","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.923562467Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"uri":"/crucible/0/regions","method":"POST","req_id":"0b16e567-9489-44a0-a3f9-64a9facf608f","remote_addr":"[fd00:1122:3344:101::a]:43480","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.06141994Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"region":"e12ac101-a4ae-48de-b53d-169913e55ff5","component":"worker"} {"msg":"region e12ac101-a4ae-48de-b53d-169913e55ff5 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.06145516Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.061572082Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e12ac101-a4ae-48de-b53d-169913e55ff5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.065969917Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e12ac101-a4ae-48de-b53d-169913e55ff5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.068735588Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.081901062Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e12ac101-a4ae-48de-b53d-169913e55ff5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.08448667Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e12ac101-a4ae-48de-b53d-169913e55ff5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.0851723Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.085247731Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.085292832Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.085330472Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.09396267Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.103797255Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.335365718Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"uri":"/crucible/0/regions","method":"POST","req_id":"f2e3451c-1890-4fbf-a369-914e667f4d1f","remote_addr":"[fd00:1122:3344:101::a]:43480","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.707807529Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:47074"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.770377801Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"uri":"/crucible/0/regions/e12ac101-a4ae-48de-b53d-169913e55ff5","method":"GET","req_id":"e07f6e4a-baef-4dce-ab72-71d9a1647f22","remote_addr":"[fd00:1122:3344:101::a]:47074","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":127,"response_code":"200"} {"msg":"path is \"/data/regions/e12ac101-a4ae-48de-b53d-169913e55ff5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.770676195Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e12ac101-a4ae-48de-b53d-169913e55ff5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.78257569Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"datafile"} {"msg":"region e12ac101-a4ae-48de-b53d-169913e55ff5 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.792830932Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.792991964Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.793061125Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"uri":"/crucible/0/regions/e12ac101-a4ae-48de-b53d-169913e55ff5","method":"DELETE","req_id":"c60fc9d4-09aa-4d8c-89de-20d960511337","remote_addr":"[fd00:1122:3344:101::a]:47074","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":22416,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.793213317Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"uri":"/crucible/0/regions/e12ac101-a4ae-48de-b53d-169913e55ff5","method":"GET","req_id":"a69fd98b-5293-45a8-85d3-7757e6c488e2","remote_addr":"[fd00:1122:3344:101::a]:47074","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-e12ac101-a4ae-48de-b53d-169913e55ff5 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.794122651Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.79884409Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e12ac101-a4ae-48de-b53d-169913e55ff5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.810721356Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"region":"e12ac101-a4ae-48de-b53d-169913e55ff5","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.866769762Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"uri":"/crucible/0/regions/e12ac101-a4ae-48de-b53d-169913e55ff5","method":"GET","req_id":"751d42f5-dfc0-4051-99b4-e30fbe58ce2a","remote_addr":"[fd00:1122:3344:101::a]:47074","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"region e12ac101-a4ae-48de-b53d-169913e55ff5 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.873000503Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.944904023Z","hostname":"oxz_crucible_14cdd25a-63aa-4d82-838b-df41a9a3db1a","pid":24173,"uri":"/crucible/0/regions/e12ac101-a4ae-48de-b53d-169913e55ff5","method":"GET","req_id":"b0dc5614-8b41-4f7a-9f9e-64061fdadef1","remote_addr":"[fd00:1122:3344:101::a]:47074","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":36,"response_code":"200"}