[ Nov 19 06:16:51 Enabled. ] [ Nov 19 06:16:51 Rereading configuration. ] [ Nov 19 06:16:52 Rereading configuration. ] [ Nov 19 06:16:53 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=oxControlService20 ++ 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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService20/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-11-19T06:16:54.135486312Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:54.139111318Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:54.139122258Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:54.28474039Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.235861885Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:32993"} {"msg":"region e16b71bc-9d32-4e7a-8d42-5adacf5b38a0 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.254007169Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.259845008Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"uri":"/crucible/0/regions","method":"POST","req_id":"09b9c8bd-7bff-45f1-87b5-8a400b2181b8","remote_addr":"[fd00:1122:3344:101::b]:32993","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":16308,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.259870537Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.268081728Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.268122145Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e16b71bc-9d32-4e7a-8d42-5adacf5b38a0\"), 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/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.30774325Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"region":"e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.442247191Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"uri":"/crucible/0/regions","method":"POST","req_id":"c1536836-72f6-4f0b-917a-fbd8a000ccf6","remote_addr":"[fd00:1122:3344:101::b]:32993","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":99,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.509948162Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"region":"e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","component":"worker"} {"msg":"region e16b71bc-9d32-4e7a-8d42-5adacf5b38a0 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.509983216Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.510101203Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.510635874Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.51363603Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.523759379Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.526926705Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.527675074Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.527748201Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.52779248Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.527827835Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.532162015Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.542210255Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.883879724Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"uri":"/crucible/0/regions","method":"POST","req_id":"74717244-ace1-4ace-a836-bc88948be380","remote_addr":"[fd00:1122:3344:101::b]:32993","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":111,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.581910461Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:53527"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.588747732Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"uri":"/crucible/0/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","method":"GET","req_id":"837c71af-5be0-4b8a-a860-6101b6140ea7","remote_addr":"[fd00:1122:3344:101::b]:53527","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":6799,"response_code":"200"} {"msg":"path is \"/data/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.591201017Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.604976114Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"datafile"} {"msg":"region e16b71bc-9d32-4e7a-8d42-5adacf5b38a0 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.614643221Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.615177665Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.615242827Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"uri":"/crucible/0/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","method":"DELETE","req_id":"07eef848-de4f-4c33-b22e-7c361242ac6d","remote_addr":"[fd00:1122:3344:101::b]:53527","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":26331,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.61537471Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"uri":"/crucible/0/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","method":"GET","req_id":"77ec178f-4a7f-4d2e-9a78-c8362cc3b116","remote_addr":"[fd00:1122:3344:101::b]:53527","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-e16b71bc-9d32-4e7a-8d42-5adacf5b38a0 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.618920005Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.633484522Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.645797269Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"region":"e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","component":"worker"} {"msg":"region e16b71bc-9d32-4e7a-8d42-5adacf5b38a0 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.716650253Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.743809635Z","hostname":"oxz_crucible_7492b742-935c-461d-8ae5-397b8b1b8784","pid":20139,"uri":"/crucible/0/regions/e16b71bc-9d32-4e7a-8d42-5adacf5b38a0","method":"GET","req_id":"e887db6d-2a4e-4420-971b-7aa2f11a2d61","remote_addr":"[fd00:1122:3344:101::b]:53527","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":73,"response_code":"200"}