[ Oct 24 04:51:13 Enabled. ] [ Oct 24 04:51:13 Rereading configuration. ] [ Oct 24 04:51:16 Rereading configuration. ] [ Oct 24 04:51:22 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/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 + [[ 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::18 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:23.253630312Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:23.254701301Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:23.254711331Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:24.067103017Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.852796109Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:58404"} {"msg":"region 6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.916403613Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.917921634Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.917939745Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"uri":"/crucible/0/regions","method":"POST","req_id":"731d72fa-8cd6-424c-8bd2-d1e2942949fd","remote_addr":"[fd00:1122:3344:101::a]:58404","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":1884,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.928310936Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.928335236Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77\"), 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/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.99042947Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"region":"6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.162717219Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"region":"6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","component":"worker"} {"msg":"region 6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.16275812Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.162840832Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.163306255Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.166720668Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.174886079Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.178224709Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.178776144Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.178848566Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.178892598Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.178932828Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.183345568Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.187643585Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.249692866Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"uri":"/crucible/0/regions","method":"POST","req_id":"6fc9574f-03c0-4568-a183-0b85ecba9750","remote_addr":"[fd00:1122:3344:101::a]:58404","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.196710413Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:50983"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.259961407Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"uri":"/crucible/0/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","method":"GET","req_id":"76b7f5ae-3bec-4ed8-a235-a4f678a3a042","remote_addr":"[fd00:1122:3344:101::a]:50983","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":148,"response_code":"200"} {"msg":"path is \"/data/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.26008831Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.275155349Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"datafile"} {"msg":"region 6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.284376238Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.284649346Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.284705758Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"uri":"/crucible/0/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","method":"DELETE","req_id":"cd43f23b-382d-4b1a-808f-04f764525092","remote_addr":"[fd00:1122:3344:101::a]:50983","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":24633,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.284827571Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"uri":"/crucible/0/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","method":"GET","req_id":"e8d1062c-27cb-48b3-9ae1-422781db2b9b","remote_addr":"[fd00:1122:3344:101::a]:50983","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.285730275Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.29476999Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.305851311Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"region":"6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.363888984Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"uri":"/crucible/0/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","method":"GET","req_id":"7fb5f7bd-7f93-43f9-8dc2-154bb59a80fc","remote_addr":"[fd00:1122:3344:101::a]:50983","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"region 6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.367002298Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.495724157Z","hostname":"oxz_crucible_64f29599-8e25-448d-bab9-7d064f284a07","pid":23064,"uri":"/crucible/0/regions/6a1a29bd-b8da-46a4-95d2-1ddbc1b3ab77","method":"GET","req_id":"8e8e94a6-5ad6-4c7b-9eee-359cf7ac47db","remote_addr":"[fd00:1122:3344:101::a]:50983","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":35,"response_code":"200"}