[ Jan 24 19:33:25 Enabled. ] [ Jan 24 19:33:25 Rereading configuration. ] [ Jan 24 19:33:30 Rereading configuration. ] [ Jan 24 19:33:35 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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::15 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:36.906140214Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:36.909121667Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:36.909139418Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:37.194816473Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:31.775423875Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39045"} {"msg":"region 14b073ce-b40d-40a8-8e90-1fe658fc22cb state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:31.821487378Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:31.822858617Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:31.822880948Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"uri":"/crucible/0/regions","method":"POST","req_id":"c42a672f-4292-4d43-9288-cc53be534e5e","remote_addr":"[fd00:1122:3344:101::a]:39045","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":10706,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:31.83233366Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:31.8323604Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"14b073ce-b40d-40a8-8e90-1fe658fc22cb\"), 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/14b073ce-b40d-40a8-8e90-1fe658fc22cb\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:31.892032262Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"region":"14b073ce-b40d-40a8-8e90-1fe658fc22cb","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.039409007Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"region":"14b073ce-b40d-40a8-8e90-1fe658fc22cb","component":"worker"} {"msg":"region 14b073ce-b40d-40a8-8e90-1fe658fc22cb state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.039470128Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.039579091Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-14b073ce-b40d-40a8-8e90-1fe658fc22cb","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.040045991Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-14b073ce-b40d-40a8-8e90-1fe658fc22cb","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.044411384Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.05522546Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-14b073ce-b40d-40a8-8e90-1fe658fc22cb","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.060280203Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.060833204Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.060932217Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.060974977Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.061014048Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.067253501Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.07094985Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:34:32.071498752Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"uri":"/crucible/0/regions","method":"POST","req_id":"1c2671ef-7bac-451f-9e9c-8eb1b1fbb6b3","remote_addr":"[fd00:1122:3344:101::a]:39045","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.187732121Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:38724"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.187835973Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"uri":"/crucible/0/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb","method":"GET","req_id":"21922070-a97f-4f66-bac6-f22a45aa72fe","remote_addr":"[fd00:1122:3344:101::a]:38724","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"path is \"/data/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.187978076Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.20037314Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"datafile"} {"msg":"snapshot is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb@a3b29d54-acfd-4978-bda5-b1397605fab9","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.208886592Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb\", \"a3b29d54-acfd-4978-bda5-b1397605fab9\"]","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.208925703Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"ZfsSnapshotInterface"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.221179914Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"uri":"/crucible/0/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb/snapshots/a3b29d54-acfd-4978-bda5-b1397605fab9","method":"GET","req_id":"3bf12430-1c50-44b3-a3cb-9566a7323cfa","remote_addr":"[fd00:1122:3344:101::a]:38724","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":33202,"response_code":"200"} {"msg":"path is \"/data/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.221331298Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.229961552Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"datafile"} {"msg":"snapshot is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb@a3b29d54-acfd-4978-bda5-b1397605fab9","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.237643026Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb\", \"a3b29d54-acfd-4978-bda5-b1397605fab9\"]","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.237674696Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"ZfsSnapshotInterface"} {"msg":"requesting running snapshot 14b073ce-b40d-40a8-8e90-1fe658fc22cb-a3b29d54-acfd-4978-bda5-b1397605fab9 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.245495323Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"datafile"} {"msg":"applying SMF actions for region 14b073ce-b40d-40a8-8e90-1fe658fc22cb running snapshot a3b29d54-acfd-4978-bda5-b1397605fab9 (state Requested)...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.246123867Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.246176318Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"uri":"/crucible/0/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb/snapshots/a3b29d54-acfd-4978-bda5-b1397605fab9/run","method":"POST","req_id":"b0f294ed-b550-4d3f-8dc5-682b28107817","remote_addr":"[fd00:1122:3344:101::a]:38724","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":24871,"response_code":"200"} {"msg":"creating missing snapshot instance snapshot-14b073ce-b40d-40a8-8e90-1fe658fc22cb-a3b29d54-acfd-4978-bda5-b1397605fab9","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.257179912Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:snapshot-14b073ce-b40d-40a8-8e90-1fe658fc22cb-a3b29d54-acfd-4978-bda5-b1397605fab9","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.267993693Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:snapshot-14b073ce-b40d-40a8-8e90-1fe658fc22cb-a3b29d54-acfd-4978-bda5-b1397605fab9","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.312056643Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb/.zfs/snapshot/a3b29d54-acfd-4978-bda5-b1397605fab9","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.312343389Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19001","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.312417711Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ensure mode SCF_TYPE_ASTRING ro","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.312477623Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.312537994Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.312612435Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.324450398Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.336769441Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"worker"} {"msg":"region 14b073ce-b40d-40a8-8e90-1fe658fc22cb running snapshot a3b29d54-acfd-4978-bda5-b1397605fab9 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:52.336781531Z","hostname":"oxz_crucible_bd4c1a47-ea43-4b1c-b6b3-5d343cbbaa75","pid":22308,"component":"datafile"}