[ Dec 1 20:52:49 Enabled. ] [ Dec 1 20:52:49 Rereading configuration. ] [ Dec 1 20:52:52 Rereading configuration. ] [ Dec 1 20:52:55 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=oxControlService22 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService22/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.457476171Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.458662094Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.458672984Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.928946419Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.091640908Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:52903"} {"msg":"region 89dd4e5a-d7c0-4ff5-804a-dd90a625bc16 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.160829395Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.161874259Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.165969311Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"uri":"/crucible/0/regions","method":"POST","req_id":"934809b4-f605-4ab7-a088-ffa7d310a3a3","remote_addr":"[fd00:1122:3344:101::a]:52903","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":12403,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.172008627Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.172024668Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"89dd4e5a-d7c0-4ff5-804a-dd90a625bc16\"), 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/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.226508816Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"region":"89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.393697382Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"region":"89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","component":"worker"} {"msg":"region 89dd4e5a-d7c0-4ff5-804a-dd90a625bc16 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.393741724Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.393863317Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.396217262Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.400970582Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.416041947Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.421026594Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.427846171Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.427998036Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.428101068Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.428143749Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.432874279Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.439188933Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.479170832Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"uri":"/crucible/0/regions","method":"POST","req_id":"65ad83b3-a618-4948-b1d6-4e67a48b7705","remote_addr":"[fd00:1122:3344:101::a]:52903","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.668305276Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39965"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.668566393Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"uri":"/crucible/0/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","method":"GET","req_id":"4b3c1163-ab2d-4e00-aa16-b64c8304036d","remote_addr":"[fd00:1122:3344:101::a]:39965","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":235,"response_code":"200"} {"msg":"path is \"/data/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.668773179Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.677959421Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"datafile"} {"msg":"region 89dd4e5a-d7c0-4ff5-804a-dd90a625bc16 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.686776294Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.68701097Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.687108073Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"uri":"/crucible/0/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","method":"DELETE","req_id":"5115e8ee-afbe-4f22-a279-840a835667ce","remote_addr":"[fd00:1122:3344:101::a]:39965","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":18428,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.687282467Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"uri":"/crucible/0/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","method":"GET","req_id":"931d8597-ad30-4a33-8dc7-e3ea1f98f593","remote_addr":"[fd00:1122:3344:101::a]:39965","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":29,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-89dd4e5a-d7c0-4ff5-804a-dd90a625bc16 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.688508781Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.692953214Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.70339581Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"region":"89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","component":"worker"} {"msg":"region 89dd4e5a-d7c0-4ff5-804a-dd90a625bc16 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.754944958Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.779163844Z","hostname":"oxz_crucible_fc410faf-41e3-4919-b079-0e731666a78b","pid":21428,"uri":"/crucible/0/regions/89dd4e5a-d7c0-4ff5-804a-dd90a625bc16","method":"GET","req_id":"96c448ff-9463-40b3-aef3-6e65aab52668","remote_addr":"[fd00:1122:3344:101::a]:39965","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":779,"response_code":"200"}