[ Feb 9 21:15:01 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ 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::17 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:02.554732105Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:02.559322609Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:02.559332069Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:02.818880694Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:48.992849433Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39797"} {"msg":"region bdfcb3ec-9890-4687-aeee-a69e15870eed state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:48.994702047Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:48.99488948Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"uri":"/crucible/0/regions","method":"POST","req_id":"c51d6f0d-1ccb-4bae-ad86-a2d079af361b","remote_addr":"[fd00:1122:3344:101::a]:39797","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":477,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:48.996123193Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.006005315Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.006043175Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"bdfcb3ec-9890-4687-aeee-a69e15870eed\"), 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/bdfcb3ec-9890-4687-aeee-a69e15870eed\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.064501218Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"region":"bdfcb3ec-9890-4687-aeee-a69e15870eed","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.150012478Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"uri":"/crucible/0/regions","method":"POST","req_id":"3d0314da-3096-424c-854e-07ad7ec9e1f4","remote_addr":"[fd00:1122:3344:101::a]:39797","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.214747056Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"region":"bdfcb3ec-9890-4687-aeee-a69e15870eed","component":"worker"} {"msg":"region bdfcb3ec-9890-4687-aeee-a69e15870eed state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.214789067Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.214910989Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-bdfcb3ec-9890-4687-aeee-a69e15870eed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.215405348Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-bdfcb3ec-9890-4687-aeee-a69e15870eed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.21984943Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.231151328Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-bdfcb3ec-9890-4687-aeee-a69e15870eed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.240747764Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.241316024Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.241466047Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.241512838Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.241552768Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.249047006Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.258692843Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.641090122Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"uri":"/crucible/0/regions","method":"POST","req_id":"5493dbc4-eac2-4e69-a80a-d92830ec4d43","remote_addr":"[fd00:1122:3344:101::a]:39797","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":96,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.927495109Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:36587"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.927593961Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"uri":"/crucible/0/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed","method":"GET","req_id":"312485af-4a69-45fa-8390-155a5915ff7d","remote_addr":"[fd00:1122:3344:101::a]:36587","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"path is \"/data/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.927810765Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.937255918Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"datafile"} {"msg":"region bdfcb3ec-9890-4687-aeee-a69e15870eed state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.945799535Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.945975418Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.94603701Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"uri":"/crucible/0/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed","method":"DELETE","req_id":"763df3ab-0e04-4579-bfa4-666b0f815577","remote_addr":"[fd00:1122:3344:101::a]:36587","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":18254,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.946204533Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"uri":"/crucible/0/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed","method":"GET","req_id":"a0b65d16-1c84-40d0-ac89-4719ef57477c","remote_addr":"[fd00:1122:3344:101::a]:36587","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":28,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-bdfcb3ec-9890-4687-aeee-a69e15870eed (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.947011097Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.950893959Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:49.960302821Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"region":"bdfcb3ec-9890-4687-aeee-a69e15870eed","component":"worker"} {"msg":"region bdfcb3ec-9890-4687-aeee-a69e15870eed state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:50.00925577Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:50.032078189Z","hostname":"oxz_crucible_4e405e6c-5684-46dd-aa53-1ccf5757accd","pid":4523,"uri":"/crucible/0/regions/bdfcb3ec-9890-4687-aeee-a69e15870eed","method":"GET","req_id":"ad8d7bab-e981-4816-afdb-8541e1628209","remote_addr":"[fd00:1122:3344:101::a]:36587","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":75,"response_code":"200"}