[ Dec 6 01:45:29 Enabled. ] [ Dec 6 01:45:29 Rereading configuration. ] [ Dec 6 01:45:30 Rereading configuration. ] [ Dec 6 01:45:33 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_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 + [[ 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::17 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_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-06T01:45:34.336877381Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:34.340277364Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:34.340291514Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:34.531200107Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:36.948435664Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49551"} {"msg":"region 0a91d796-8b85-4b78-910b-4515de789ce0 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.033393378Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.035701968Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.038718823Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"uri":"/crucible/0/regions","method":"POST","req_id":"9eee65e6-6bfa-4f9e-beeb-e781c1ff8be2","remote_addr":"[fd00:1122:3344:101::a]:49551","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":22727,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0a91d796-8b85-4b78-910b-4515de789ce0","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.045189013Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0a91d796-8b85-4b78-910b-4515de789ce0","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.045199443Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0a91d796-8b85-4b78-910b-4515de789ce0\"), 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/0a91d796-8b85-4b78-910b-4515de789ce0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.101648382Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"region":"0a91d796-8b85-4b78-910b-4515de789ce0","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.272005601Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"region":"0a91d796-8b85-4b78-910b-4515de789ce0","component":"worker"} {"msg":"region 0a91d796-8b85-4b78-910b-4515de789ce0 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.272050062Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.272161684Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-0a91d796-8b85-4b78-910b-4515de789ce0","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.274543345Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0a91d796-8b85-4b78-910b-4515de789ce0","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.278540692Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.293660688Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0a91d796-8b85-4b78-910b-4515de789ce0","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.296651923Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0a91d796-8b85-4b78-910b-4515de789ce0","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.303624744Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.305956644Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.306012975Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.306082546Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.310665196Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.316555653Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.330375561Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"uri":"/crucible/0/regions","method":"POST","req_id":"7a0cf6b7-adb5-41c4-9ac6-50d9ffa08b45","remote_addr":"[fd00:1122:3344:101::a]:49551","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.805263196Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:48808"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.805470621Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"uri":"/crucible/0/regions/0a91d796-8b85-4b78-910b-4515de789ce0","method":"GET","req_id":"4520cb72-ed23-4a08-916e-2cc7fda26726","remote_addr":"[fd00:1122:3344:101::a]:48808","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":169,"response_code":"200"} {"msg":"path is \"/data/regions/0a91d796-8b85-4b78-910b-4515de789ce0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.806277698Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0a91d796-8b85-4b78-910b-4515de789ce0","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.815983057Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"datafile"} {"msg":"region 0a91d796-8b85-4b78-910b-4515de789ce0 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.824212815Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.824352678Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.82441264Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"uri":"/crucible/0/regions/0a91d796-8b85-4b78-910b-4515de789ce0","method":"DELETE","req_id":"02a2da99-9aa0-4407-868f-2ade593d223e","remote_addr":"[fd00:1122:3344:101::a]:48808","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":18728,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.824583833Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"uri":"/crucible/0/regions/0a91d796-8b85-4b78-910b-4515de789ce0","method":"GET","req_id":"42051f6e-bd66-492e-ae74-2179ed5dbfe2","remote_addr":"[fd00:1122:3344:101::a]:48808","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0a91d796-8b85-4b78-910b-4515de789ce0 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.825392701Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.829572161Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0a91d796-8b85-4b78-910b-4515de789ce0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.838157176Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"region":"0a91d796-8b85-4b78-910b-4515de789ce0","component":"worker"} {"msg":"region 0a91d796-8b85-4b78-910b-4515de789ce0 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.886325016Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.915903425Z","hostname":"oxz_crucible_60f041fc-4b26-4286-866b-6800d9de28b4","pid":25408,"uri":"/crucible/0/regions/0a91d796-8b85-4b78-910b-4515de789ce0","method":"GET","req_id":"af06c069-a00c-4ec4-8d67-f13de48182a9","remote_addr":"[fd00:1122:3344:101::a]:48808","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":59,"response_code":"200"}