[ Nov 7 09:48:06 Enabled. ] [ Nov 7 09:48:06 Rereading configuration. ] [ Nov 7 09:48:07 Rereading configuration. ] [ Nov 7 09:48:08 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=oxControlService23 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService23/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:08.710898619Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:08.711717652Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:08.711725773Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:08.805729573Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.886444033Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:44751"} {"msg":"region f80bfdd1-5484-463b-8111-a18f0b79fc56 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.950911514Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.952293377Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"uri":"/crucible/0/regions","method":"POST","req_id":"50491e83-1fdf-4e26-90e3-f391c5df06e5","remote_addr":"[fd00:1122:3344:101::c]:44751","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":3703,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.952326837Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.960798778Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.960824188Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f80bfdd1-5484-463b-8111-a18f0b79fc56\"), 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/f80bfdd1-5484-463b-8111-a18f0b79fc56\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.022107635Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"region":"f80bfdd1-5484-463b-8111-a18f0b79fc56","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.241277183Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"region":"f80bfdd1-5484-463b-8111-a18f0b79fc56","component":"worker"} {"msg":"region f80bfdd1-5484-463b-8111-a18f0b79fc56 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.241315654Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.241403945Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f80bfdd1-5484-463b-8111-a18f0b79fc56","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.241919544Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f80bfdd1-5484-463b-8111-a18f0b79fc56","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.2507129Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.270159483Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f80bfdd1-5484-463b-8111-a18f0b79fc56","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.27721441Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.278081494Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.278164776Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.278216896Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.278261827Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.285949675Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.30249754Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.314517489Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"uri":"/crucible/0/regions","method":"POST","req_id":"dbe9b1a9-d137-46d5-aa25-c50eef905015","remote_addr":"[fd00:1122:3344:101::c]:44751","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.934196988Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:55383"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.934420032Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"uri":"/crucible/0/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56","method":"GET","req_id":"9fb1da11-eeae-4b43-a994-3f74e8feac92","remote_addr":"[fd00:1122:3344:101::c]:55383","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":161,"response_code":"200"} {"msg":"path is \"/data/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.934647495Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.945896422Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"datafile"} {"msg":"region f80bfdd1-5484-463b-8111-a18f0b79fc56 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.955777936Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.955968219Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.95604536Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"uri":"/crucible/0/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56","method":"DELETE","req_id":"37622621-9e2d-4577-94b5-0288bc35bf78","remote_addr":"[fd00:1122:3344:101::c]:55383","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":21413,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.956201233Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"uri":"/crucible/0/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56","method":"GET","req_id":"0c9572fa-1986-464a-ad64-04c78f72b8e2","remote_addr":"[fd00:1122:3344:101::c]:55383","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":30,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f80bfdd1-5484-463b-8111-a18f0b79fc56 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.957330682Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.965426666Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.976794335Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"region":"f80bfdd1-5484-463b-8111-a18f0b79fc56","component":"worker"} {"msg":"region f80bfdd1-5484-463b-8111-a18f0b79fc56 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:05.034761697Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:05.089522966Z","hostname":"oxz_crucible_e9f9016a-abc8-4cad-800c-77ae9bddd55b","pid":25619,"uri":"/crucible/0/regions/f80bfdd1-5484-463b-8111-a18f0b79fc56","method":"GET","req_id":"d31098ff-0f21-4f0e-8587-11512255d149","remote_addr":"[fd00:1122:3344:101::c]:55383","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":103,"response_code":"200"}