[ Nov 14 23:31:39 Enabled. ] [ Nov 14 23:31:39 Rereading configuration. ] [ Nov 14 23:31:41 Rereading configuration. ] [ Nov 14 23:31:44 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=oxControlService16 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::12 ++ 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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService16/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.712653128Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.717214309Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.71722721Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:45.122597342Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.805380828Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:58015"} {"msg":"region 25161666-ed5c-4596-bb5b-a5ff87ace351 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.874473384Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.875924605Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"uri":"/crucible/0/regions","method":"POST","req_id":"b3a2f36a-339d-4988-b5f3-b83d0e174866","remote_addr":"[fd00:1122:3344:101::c]:58015","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":5905,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.875943317Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/25161666-ed5c-4596-bb5b-a5ff87ace351","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.885368488Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/25161666-ed5c-4596-bb5b-a5ff87ace351","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.885392908Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"25161666-ed5c-4596-bb5b-a5ff87ace351\"), 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/25161666-ed5c-4596-bb5b-a5ff87ace351\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.937534902Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"region":"25161666-ed5c-4596-bb5b-a5ff87ace351","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.088753352Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"uri":"/crucible/0/regions","method":"POST","req_id":"553c2ffd-31f8-4dfb-aef2-46fe7838e988","remote_addr":"[fd00:1122:3344:101::c]:58015","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.114862329Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"region":"25161666-ed5c-4596-bb5b-a5ff87ace351","component":"worker"} {"msg":"region 25161666-ed5c-4596-bb5b-a5ff87ace351 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.11488526Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.115020251Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-25161666-ed5c-4596-bb5b-a5ff87ace351","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.119481102Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-25161666-ed5c-4596-bb5b-a5ff87ace351","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.123862532Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.134763176Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-25161666-ed5c-4596-bb5b-a5ff87ace351","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.138222764Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/25161666-ed5c-4596-bb5b-a5ff87ace351","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.138953503Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.139029624Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.139075245Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.139116385Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.143785388Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.151419075Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.444102395Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"uri":"/crucible/0/regions","method":"POST","req_id":"cc66da13-4609-4d81-96bd-0bdd3bf4960b","remote_addr":"[fd00:1122:3344:101::c]:58015","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.907045048Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:40811"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.909373144Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"uri":"/crucible/0/regions/25161666-ed5c-4596-bb5b-a5ff87ace351","method":"GET","req_id":"d00bb8fc-a89d-4af8-9ef2-b65545642ea0","remote_addr":"[fd00:1122:3344:101::c]:40811","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":2254,"response_code":"200"} {"msg":"path is \"/data/regions/25161666-ed5c-4596-bb5b-a5ff87ace351\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.909606467Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/25161666-ed5c-4596-bb5b-a5ff87ace351","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.924424725Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"datafile"} {"msg":"region 25161666-ed5c-4596-bb5b-a5ff87ace351 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.935708843Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.936024437Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.936091888Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"uri":"/crucible/0/regions/25161666-ed5c-4596-bb5b-a5ff87ace351","method":"DELETE","req_id":"7b8f6f53-38f8-47a4-b981-f7d2971fc5f5","remote_addr":"[fd00:1122:3344:101::c]:40811","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":26536,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.936470742Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"uri":"/crucible/0/regions/25161666-ed5c-4596-bb5b-a5ff87ace351","method":"GET","req_id":"eafc6640-0a83-4391-a5f1-43a81a4df20d","remote_addr":"[fd00:1122:3344:101::c]:40811","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-25161666-ed5c-4596-bb5b-a5ff87ace351 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.939652418Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.958012916Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/25161666-ed5c-4596-bb5b-a5ff87ace351\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.971771892Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"region":"25161666-ed5c-4596-bb5b-a5ff87ace351","component":"worker"} {"msg":"region 25161666-ed5c-4596-bb5b-a5ff87ace351 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:41.032138217Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:41.047123727Z","hostname":"oxz_crucible_eb17585b-6ade-4857-a49d-1f44e51dfae6","pid":21399,"uri":"/crucible/0/regions/25161666-ed5c-4596-bb5b-a5ff87ace351","method":"GET","req_id":"58b1eadc-a1ef-4caf-8d2e-97589791e8e6","remote_addr":"[fd00:1122:3344:101::c]:40811","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":53,"response_code":"200"}