[ Nov 20 18:34:11 Enabled. ] [ Nov 20 18:34:11 Rereading configuration. ] [ Nov 20 18:34:12 Rereading configuration. ] [ Nov 20 18:34:14 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=oxControlService20 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService20/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.884307282Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.889535293Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.889545334Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:15.011831033Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.736240799Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:63146"} {"msg":"region 3757af4f-0934-49e5-9e48-d3b7e67e3d19 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.824763579Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.838081684Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.838113065Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"uri":"/crucible/0/regions","method":"POST","req_id":"601dc374-1bb0-42b8-aa79-89dfd0eaa90a","remote_addr":"[fd00:1122:3344:101::b]:63146","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":34492,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.851986878Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.852018619Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"3757af4f-0934-49e5-9e48-d3b7e67e3d19\"), 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/3757af4f-0934-49e5-9e48-d3b7e67e3d19\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.895085506Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"region":"3757af4f-0934-49e5-9e48-d3b7e67e3d19","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.087705322Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"uri":"/crucible/0/regions","method":"POST","req_id":"4fbef9f3-f458-4ab7-98a6-2b0e8d90e928","remote_addr":"[fd00:1122:3344:101::b]:63146","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":106,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.158082811Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"region":"3757af4f-0934-49e5-9e48-d3b7e67e3d19","component":"worker"} {"msg":"region 3757af4f-0934-49e5-9e48-d3b7e67e3d19 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.158118842Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.158249247Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-3757af4f-0934-49e5-9e48-d3b7e67e3d19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.161289814Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-3757af4f-0934-49e5-9e48-d3b7e67e3d19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.167310056Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.182336716Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-3757af4f-0934-49e5-9e48-d3b7e67e3d19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.185129516Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.187959386Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.188043639Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.188095921Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.188158573Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.199194035Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.20622699Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.741074443Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"uri":"/crucible/0/regions","method":"POST","req_id":"1aab500e-6786-4e3d-96f8-88eb3c43ee3e","remote_addr":"[fd00:1122:3344:101::b]:63146","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.679855685Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:40023"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.741852907Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"uri":"/crucible/0/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19","method":"GET","req_id":"5f9f119c-881e-49a6-8a75-2a0730140718","remote_addr":"[fd00:1122:3344:101::b]:40023","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":148,"response_code":"200"} {"msg":"path is \"/data/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.742149296Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.755506083Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"datafile"} {"msg":"region 3757af4f-0934-49e5-9e48-d3b7e67e3d19 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.765471082Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.765650687Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.765699439Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"uri":"/crucible/0/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19","method":"DELETE","req_id":"310d6ff7-fc84-4390-9e3d-d3c5b2c35a36","remote_addr":"[fd00:1122:3344:101::b]:40023","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":23608,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.765815723Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"uri":"/crucible/0/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19","method":"GET","req_id":"4a30a44f-b470-4a68-81ae-5ed9e0a25f36","remote_addr":"[fd00:1122:3344:101::b]:40023","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-3757af4f-0934-49e5-9e48-d3b7e67e3d19 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.766924328Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.77354558Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.78449144Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"region":"3757af4f-0934-49e5-9e48-d3b7e67e3d19","component":"worker"} {"msg":"region 3757af4f-0934-49e5-9e48-d3b7e67e3d19 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.834527319Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.909190755Z","hostname":"oxz_crucible_3e671fa3-d6e8-474e-894d-08b116608a9e","pid":20362,"uri":"/crucible/0/regions/3757af4f-0934-49e5-9e48-d3b7e67e3d19","method":"GET","req_id":"99718365-eabe-432e-a9df-2dfffc240353","remote_addr":"[fd00:1122:3344:101::b]:40023","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":80,"response_code":"200"}