[ Dec 8 16:12:46 Enabled. ] [ Dec 8 16:12:46 Rereading configuration. ] [ Dec 8 16:12:48 Rereading configuration. ] [ Dec 8 16:12:49 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=oxControlService16 ++ 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ 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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService16/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:50.452422145Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:50.462700843Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:50.462722415Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:12:50.634205773Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.415417761Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:49783"} {"msg":"region 12419778-eb20-4d26-ad12-a20f7130cb38 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.482475058Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.483738885Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.487808562Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"uri":"/crucible/0/regions","method":"POST","req_id":"77d79fa6-7182-48a0-8257-731a2c921784","remote_addr":"[fd00:1122:3344:101::b]:49783","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":10482,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/12419778-eb20-4d26-ad12-a20f7130cb38","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.493584325Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/12419778-eb20-4d26-ad12-a20f7130cb38","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.493602129Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"12419778-eb20-4d26-ad12-a20f7130cb38\"), 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/12419778-eb20-4d26-ad12-a20f7130cb38\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.538275407Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"region":"12419778-eb20-4d26-ad12-a20f7130cb38","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.671127883Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"uri":"/crucible/0/regions","method":"POST","req_id":"5ff65941-c2ce-4f21-ac89-406ccd5852b6","remote_addr":"[fd00:1122:3344:101::b]:49783","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":206,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.719391872Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"region":"12419778-eb20-4d26-ad12-a20f7130cb38","component":"worker"} {"msg":"region 12419778-eb20-4d26-ad12-a20f7130cb38 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.719427302Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.719524925Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-12419778-eb20-4d26-ad12-a20f7130cb38","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.722039582Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-12419778-eb20-4d26-ad12-a20f7130cb38","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.725547802Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.740848943Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-12419778-eb20-4d26-ad12-a20f7130cb38","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.745221733Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/12419778-eb20-4d26-ad12-a20f7130cb38","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.750953911Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.751102321Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.751145588Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.751181711Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.754438356Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:41.760729912Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.308846504Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"uri":"/crucible/0/regions","method":"POST","req_id":"692b95c1-86ef-406b-9ae4-38c63b981875","remote_addr":"[fd00:1122:3344:101::b]:49783","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.949055091Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:57758"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.951370389Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"uri":"/crucible/0/regions/12419778-eb20-4d26-ad12-a20f7130cb38","method":"GET","req_id":"42a91d56-97a9-4700-a8c3-9ae026ed7822","remote_addr":"[fd00:1122:3344:101::b]:57758","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":2191,"response_code":"200"} {"msg":"path is \"/data/regions/12419778-eb20-4d26-ad12-a20f7130cb38\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.951558531Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/12419778-eb20-4d26-ad12-a20f7130cb38","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.960656254Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"datafile"} {"msg":"region 12419778-eb20-4d26-ad12-a20f7130cb38 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.968617589Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.968766205Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.968810756Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"uri":"/crucible/0/regions/12419778-eb20-4d26-ad12-a20f7130cb38","method":"DELETE","req_id":"24fd40a6-9c4a-40af-b8ff-41e0ac7fef13","remote_addr":"[fd00:1122:3344:101::b]:57758","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":17259,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.969472361Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"uri":"/crucible/0/regions/12419778-eb20-4d26-ad12-a20f7130cb38","method":"GET","req_id":"1e58e29b-6d02-4955-9710-a49235594d14","remote_addr":"[fd00:1122:3344:101::b]:57758","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":518,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-12419778-eb20-4d26-ad12-a20f7130cb38 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.969835032Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.974197241Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/12419778-eb20-4d26-ad12-a20f7130cb38\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:42.984016914Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"region":"12419778-eb20-4d26-ad12-a20f7130cb38","component":"worker"} {"msg":"region 12419778-eb20-4d26-ad12-a20f7130cb38 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:43.034578501Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-08T16:13:43.049113788Z","hostname":"oxz_crucible_c400b559-11eb-4e8d-bb7f-7c022eea28de","pid":21160,"uri":"/crucible/0/regions/12419778-eb20-4d26-ad12-a20f7130cb38","method":"GET","req_id":"ed945e12-5d74-4e2a-b1d2-94ea0adee3c7","remote_addr":"[fd00:1122:3344:101::b]:57758","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":111,"response_code":"200"}