[ Nov 14 22:15:17 Enabled. ] [ Nov 14 22:15:17 Rereading configuration. ] [ Nov 14 22:15:18 Rereading configuration. ] [ Nov 14 22:15:20 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=oxControlService19 ++ 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::13 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService19/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::13]: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-14T22:15:21.084747495Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:21.085984507Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:21.085995498Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:21.216569665Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.003982386Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47669"} {"msg":"region f4a558ea-3ff5-498f-85f0-29b436613548 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.007584332Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.009093411Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.009138901Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"uri":"/crucible/0/regions","method":"POST","req_id":"d5408e71-2a58-48f3-a3b0-b7c5f50e7681","remote_addr":"[fd00:1122:3344:101::b]:47669","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":1948,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/f4a558ea-3ff5-498f-85f0-29b436613548","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.019275109Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/f4a558ea-3ff5-498f-85f0-29b436613548","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.01931325Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f4a558ea-3ff5-498f-85f0-29b436613548\"), 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/f4a558ea-3ff5-498f-85f0-29b436613548\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.070602529Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"region":"f4a558ea-3ff5-498f-85f0-29b436613548","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.148674645Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"uri":"/crucible/0/regions","method":"POST","req_id":"cc015b47-9a39-4959-9445-8e9d5372e4bd","remote_addr":"[fd00:1122:3344:101::b]:47669","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.25536683Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"region":"f4a558ea-3ff5-498f-85f0-29b436613548","component":"worker"} {"msg":"region f4a558ea-3ff5-498f-85f0-29b436613548 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.255402961Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.255501243Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f4a558ea-3ff5-498f-85f0-29b436613548","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.255993562Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f4a558ea-3ff5-498f-85f0-29b436613548","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.259529877Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.274220679Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f4a558ea-3ff5-498f-85f0-29b436613548","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.277707664Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f4a558ea-3ff5-498f-85f0-29b436613548","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.278438947Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.278521149Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.27857303Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.27861499Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.283056273Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.293464716Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.790727802Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"uri":"/crucible/0/regions","method":"POST","req_id":"e70ec99d-4c20-4373-b10a-26395c9f85ca","remote_addr":"[fd00:1122:3344:101::b]:47669","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.007896097Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47541"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.070097519Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"uri":"/crucible/0/regions/f4a558ea-3ff5-498f-85f0-29b436613548","method":"GET","req_id":"014d10a6-1d1a-4d7c-9d52-94ed5ad519da","remote_addr":"[fd00:1122:3344:101::b]:47541","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":159,"response_code":"200"} {"msg":"path is \"/data/regions/f4a558ea-3ff5-498f-85f0-29b436613548\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.070398485Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/f4a558ea-3ff5-498f-85f0-29b436613548","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.082823035Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"datafile"} {"msg":"region f4a558ea-3ff5-498f-85f0-29b436613548 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.09337156Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.093641775Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.093706216Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"uri":"/crucible/0/regions/f4a558ea-3ff5-498f-85f0-29b436613548","method":"DELETE","req_id":"09966d61-0589-42fa-b77d-c971a4ed8c47","remote_addr":"[fd00:1122:3344:101::b]:47541","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":23324,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.093870849Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"uri":"/crucible/0/regions/f4a558ea-3ff5-498f-85f0-29b436613548","method":"GET","req_id":"9b0a9f71-6a2b-4533-afcb-acc23c4f5a52","remote_addr":"[fd00:1122:3344:101::b]:47541","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f4a558ea-3ff5-498f-85f0-29b436613548 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.094781766Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.10362927Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/f4a558ea-3ff5-498f-85f0-29b436613548\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.115338447Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"region":"f4a558ea-3ff5-498f-85f0-29b436613548","component":"worker"} {"msg":"region f4a558ea-3ff5-498f-85f0-29b436613548 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.169699353Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.182538281Z","hostname":"oxz_crucible_03a615c5-583b-4a12-97d9-58b343047b31","pid":25603,"uri":"/crucible/0/regions/f4a558ea-3ff5-498f-85f0-29b436613548","method":"GET","req_id":"530d3a27-8e66-4e29-96f6-a7815b18a8cf","remote_addr":"[fd00:1122:3344:101::b]:47541","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":76,"response_code":"200"}