[ Jan 17 05:15:25 Enabled. ] [ Jan 17 05:15:25 Rereading configuration. ] [ Jan 17 05:15:26 Rereading configuration. ] [ Jan 17 05:15:27 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=oxControlService14 ++ 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 + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService14/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":"2024-01-17T05:15:28.585370144Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:15:28.588703861Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:15:28.588718936Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:15:28.709821265Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:19.969168254Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33349"} {"msg":"region c67309af-988e-46e6-944b-0974b528be04 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:19.983705215Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:19.987632988Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:19.991046002Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"uri":"/crucible/0/regions","method":"POST","req_id":"d24adf8c-3901-49ff-994e-facb8335a354","remote_addr":"[fd00:1122:3344:101::a]:33349","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":14375,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c67309af-988e-46e6-944b-0974b528be04","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:19.999949658Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c67309af-988e-46e6-944b-0974b528be04","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:19.999966038Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"c67309af-988e-46e6-944b-0974b528be04\"), 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/c67309af-988e-46e6-944b-0974b528be04\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.091388744Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"region":"c67309af-988e-46e6-944b-0974b528be04","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.271424162Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"region":"c67309af-988e-46e6-944b-0974b528be04","component":"worker"} {"msg":"region c67309af-988e-46e6-944b-0974b528be04 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.271468633Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.271711437Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-c67309af-988e-46e6-944b-0974b528be04","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.274224564Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-c67309af-988e-46e6-944b-0974b528be04","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.281037101Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.288819706Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"uri":"/crucible/0/regions","method":"POST","req_id":"8a96fcf3-014c-47d4-bc06-b9afed56059e","remote_addr":"[fd00:1122:3344:101::a]:33349","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.297837355Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-c67309af-988e-46e6-944b-0974b528be04","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.303587582Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/c67309af-988e-46e6-944b-0974b528be04","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.304344596Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.308209908Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.308256209Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.30829376Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.332284737Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:20.343464506Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.279550776Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:62020"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.279678028Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"uri":"/crucible/0/regions/c67309af-988e-46e6-944b-0974b528be04","method":"GET","req_id":"6263afbd-9df0-4b0c-899c-c4e0c70a0bb1","remote_addr":"[fd00:1122:3344:101::a]:62020","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":65,"response_code":"200"} {"msg":"path is \"/data/regions/c67309af-988e-46e6-944b-0974b528be04\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.279867311Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c67309af-988e-46e6-944b-0974b528be04","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.289536862Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"datafile"} {"msg":"region c67309af-988e-46e6-944b-0974b528be04 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.298600471Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.298820765Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.298886956Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"uri":"/crucible/0/regions/c67309af-988e-46e6-944b-0974b528be04","method":"DELETE","req_id":"5dc4fb99-83fb-45e8-ba8f-67a0640ee7f6","remote_addr":"[fd00:1122:3344:101::a]:62020","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":19046,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.299044769Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"uri":"/crucible/0/regions/c67309af-988e-46e6-944b-0974b528be04","method":"GET","req_id":"893b4b64-75e1-42fc-99cb-26d259c0b9ea","remote_addr":"[fd00:1122:3344:101::a]:62020","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-c67309af-988e-46e6-944b-0974b528be04 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.299854224Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.305891407Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/c67309af-988e-46e6-944b-0974b528be04\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.316648277Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"region":"c67309af-988e-46e6-944b-0974b528be04","component":"worker"} {"msg":"region c67309af-988e-46e6-944b-0974b528be04 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.383574416Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-17T05:16:21.449488495Z","hostname":"oxz_crucible_b81b0e31-9733-4a85-bcf2-e464c8edd2b8","pid":25562,"uri":"/crucible/0/regions/c67309af-988e-46e6-944b-0974b528be04","method":"GET","req_id":"b7fdae6e-4635-4931-a3d7-9980a372452f","remote_addr":"[fd00:1122:3344:101::a]:62020","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":97,"response_code":"200"}