[ Oct 3 04:37:57 Enabled. ] [ Oct 3 04:37:57 Rereading configuration. ] [ Oct 3 04:38:01 Rereading configuration. ] [ Oct 3 04:38:04 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=oxControlService17 ++ 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::16 ++ 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 + [[ oxControlService17 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService17 ipadm: Could not delete oxControlService17: Interface does not exist + true + ipadm create-if -t oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 + ipadm show-addr oxControlService17/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService17/ll + ipadm show-addr oxControlService17/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService17/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::16]: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-10-03T04:38:05.577074351Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:05.581046352Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:05.581055453Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:05.709775657Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.558840665Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:37422"} {"msg":"region faf16bb6-ba16-448b-8124-51bb70a56da1 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.570433244Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.572944319Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"uri":"/crucible/0/regions","method":"POST","req_id":"601007b7-18af-4965-8e8f-856198a7a2b0","remote_addr":"[fd00:1122:3344:101::c]:37422","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":6830,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.57406783Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/faf16bb6-ba16-448b-8124-51bb70a56da1","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.583060072Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/faf16bb6-ba16-448b-8124-51bb70a56da1","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.583084072Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"faf16bb6-ba16-448b-8124-51bb70a56da1\"), 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/faf16bb6-ba16-448b-8124-51bb70a56da1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.624411569Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"region":"faf16bb6-ba16-448b-8124-51bb70a56da1","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.744907195Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"uri":"/crucible/0/regions","method":"POST","req_id":"77a66a4d-7e86-4c0c-9f06-a84009b373dc","remote_addr":"[fd00:1122:3344:101::c]:37422","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.807046987Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"region":"faf16bb6-ba16-448b-8124-51bb70a56da1","component":"worker"} {"msg":"region faf16bb6-ba16-448b-8124-51bb70a56da1 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.807077318Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.80718153Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-faf16bb6-ba16-448b-8124-51bb70a56da1","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.818546585Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-faf16bb6-ba16-448b-8124-51bb70a56da1","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.822354654Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.834056145Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-faf16bb6-ba16-448b-8124-51bb70a56da1","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.836829315Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/faf16bb6-ba16-448b-8124-51bb70a56da1","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.837520478Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.837615469Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.8376597Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.837697941Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.842697941Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.853022888Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.104601681Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"uri":"/crucible/0/regions","method":"POST","req_id":"6f59691b-b6f0-4ab4-9246-be3e9eb8ce0d","remote_addr":"[fd00:1122:3344:101::c]:37422","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.609446548Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:55726"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.640826635Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"uri":"/crucible/0/regions/faf16bb6-ba16-448b-8124-51bb70a56da1","method":"GET","req_id":"2b9acbc2-df82-4e77-a6d0-dce0fdbb63da","remote_addr":"[fd00:1122:3344:101::c]:55726","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":179,"response_code":"200"} {"msg":"path is \"/data/regions/faf16bb6-ba16-448b-8124-51bb70a56da1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.640978018Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/faf16bb6-ba16-448b-8124-51bb70a56da1","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.651468967Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"datafile"} {"msg":"region faf16bb6-ba16-448b-8124-51bb70a56da1 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.6621638Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.662324243Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.662380854Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"uri":"/crucible/0/regions/faf16bb6-ba16-448b-8124-51bb70a56da1","method":"DELETE","req_id":"93d73115-1b33-47e2-bc1b-157c27edfbb0","remote_addr":"[fd00:1122:3344:101::c]:55726","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21420,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.665308587Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"uri":"/crucible/0/regions/faf16bb6-ba16-448b-8124-51bb70a56da1","method":"GET","req_id":"86dfc4e9-18cd-4704-a27f-c2963edd923d","remote_addr":"[fd00:1122:3344:101::c]:55726","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":454,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-faf16bb6-ba16-448b-8124-51bb70a56da1","v":0,"name":"crucible-agent","level":50,"time":"2023-10-03T04:39:23.673268961Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.674061945Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.679652396Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/faf16bb6-ba16-448b-8124-51bb70a56da1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.691358668Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"region":"faf16bb6-ba16-448b-8124-51bb70a56da1","component":"worker"} {"msg":"region faf16bb6-ba16-448b-8124-51bb70a56da1 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.746435902Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.803419812Z","hostname":"oxz_crucible_722a1e81-2300-4a0d-8e02-df2ef0260642","pid":22136,"uri":"/crucible/0/regions/faf16bb6-ba16-448b-8124-51bb70a56da1","method":"GET","req_id":"dd998b32-7ec4-4e86-a5f9-a854b14b04f9","remote_addr":"[fd00:1122:3344:101::c]:55726","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":75,"response_code":"200"}