[ Nov 14 23:31:39 Enabled. ] [ Nov 14 23:31:39 Rereading configuration. ] [ Nov 14 23:31:41 Rereading configuration. ] [ Nov 14 23:31:43 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=oxControlService12 ++ 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::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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService12/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::16]: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-14T23:31:44.049074767Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.050268371Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.050278231Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.279897584Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.612136765Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:38700"} {"msg":"region 5c5ddb5b-67a4-4c35-9687-95064606a42c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.652606546Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.653046391Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"uri":"/crucible/0/regions","method":"POST","req_id":"cfb8f29c-58d6-4255-bef7-b6c4a37b6695","remote_addr":"[fd00:1122:3344:101::c]:38700","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":4760,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.654233174Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.664038756Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.664065766Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"5c5ddb5b-67a4-4c35-9687-95064606a42c\"), 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/5c5ddb5b-67a4-4c35-9687-95064606a42c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.738641775Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"region":"5c5ddb5b-67a4-4c35-9687-95064606a42c","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.940047066Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"uri":"/crucible/0/regions","method":"POST","req_id":"426e9982-6f5b-4853-b2dc-bb22c5c2cb6f","remote_addr":"[fd00:1122:3344:101::c]:38700","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":101,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.99308724Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"region":"5c5ddb5b-67a4-4c35-9687-95064606a42c","component":"worker"} {"msg":"region 5c5ddb5b-67a4-4c35-9687-95064606a42c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.99312186Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.993239481Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-5c5ddb5b-67a4-4c35-9687-95064606a42c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.995654449Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-5c5ddb5b-67a4-4c35-9687-95064606a42c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.998819165Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.007822347Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-5c5ddb5b-67a4-4c35-9687-95064606a42c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.010462967Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.011162495Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.011238436Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.011280376Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.011316627Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.015531005Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.021720545Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.198666099Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"uri":"/crucible/0/regions","method":"POST","req_id":"f08199b7-6987-40be-8ce2-40d5de63e3fa","remote_addr":"[fd00:1122:3344:101::c]:38700","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.588640796Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52782"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.620789382Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"uri":"/crucible/0/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c","method":"GET","req_id":"8648880d-440d-45e3-b314-30ab4845b98b","remote_addr":"[fd00:1122:3344:101::c]:52782","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":95,"response_code":"200"} {"msg":"path is \"/data/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.621029825Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.63379356Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"datafile"} {"msg":"region 5c5ddb5b-67a4-4c35-9687-95064606a42c state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.643642852Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.643802664Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.643860705Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"uri":"/crucible/0/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c","method":"DELETE","req_id":"450be0a1-f2f4-4080-af8c-2a4295ec76da","remote_addr":"[fd00:1122:3344:101::c]:52782","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22915,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.644020523Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"uri":"/crucible/0/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c","method":"GET","req_id":"8c949377-5cec-4a24-ac67-6ea3f5c375fe","remote_addr":"[fd00:1122:3344:101::c]:52782","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-5c5ddb5b-67a4-4c35-9687-95064606a42c (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.644855106Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.649150925Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.661176831Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"region":"5c5ddb5b-67a4-4c35-9687-95064606a42c","component":"worker"} {"msg":"region 5c5ddb5b-67a4-4c35-9687-95064606a42c state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.746391081Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.753560473Z","hostname":"oxz_crucible_c8fd7a87-328a-4d09-ad0b-cc5fb592954d","pid":21041,"uri":"/crucible/0/regions/5c5ddb5b-67a4-4c35-9687-95064606a42c","method":"GET","req_id":"cc56b111-5c83-41ef-82a4-680f31cd99f8","remote_addr":"[fd00:1122:3344:101::c]:52782","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":88,"response_code":"200"}