[ Nov 7 09:48:02 Enabled. ] [ Nov 7 09:48:02 Rereading configuration. ] [ Nov 7 09:48:04 Rereading configuration. ] [ Nov 7 09:48:05 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=oxControlService14 ++ 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::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 + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService14/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::17]: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-07T09:48:06.060856741Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:06.069446304Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:06.069457834Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:06.179887047Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.297234727Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:34637"} {"msg":"region 10fc7cde-0770-44da-901a-2ad928282f7a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.33838802Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.341767967Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"uri":"/crucible/0/regions","method":"POST","req_id":"91a516d8-2509-4819-ada7-99ffcd51cf0e","remote_addr":"[fd00:1122:3344:101::c]:34637","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":11480,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.341791257Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10fc7cde-0770-44da-901a-2ad928282f7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.354550169Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10fc7cde-0770-44da-901a-2ad928282f7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.354578329Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"10fc7cde-0770-44da-901a-2ad928282f7a\"), 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/10fc7cde-0770-44da-901a-2ad928282f7a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.417071357Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"region":"10fc7cde-0770-44da-901a-2ad928282f7a","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.593430153Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"region":"10fc7cde-0770-44da-901a-2ad928282f7a","component":"worker"} {"msg":"region 10fc7cde-0770-44da-901a-2ad928282f7a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.593478264Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.593583316Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-10fc7cde-0770-44da-901a-2ad928282f7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.598112231Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-10fc7cde-0770-44da-901a-2ad928282f7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.604390006Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.620372701Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-10fc7cde-0770-44da-901a-2ad928282f7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.625439505Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/10fc7cde-0770-44da-901a-2ad928282f7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.626160207Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.626241258Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.626289949Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.6263496Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.633463418Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.644981439Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"uri":"/crucible/0/regions","method":"POST","req_id":"6da7550c-51a7-439d-897c-ee1ac56592bb","remote_addr":"[fd00:1122:3344:101::c]:34637","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.652419653Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.432617443Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:61779"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.432732056Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"uri":"/crucible/0/regions/10fc7cde-0770-44da-901a-2ad928282f7a","method":"GET","req_id":"df0a68f1-e514-4478-8bfd-8dedf94cac22","remote_addr":"[fd00:1122:3344:101::c]:61779","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"path is \"/data/regions/10fc7cde-0770-44da-901a-2ad928282f7a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.432929739Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10fc7cde-0770-44da-901a-2ad928282f7a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.445005329Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"datafile"} {"msg":"region 10fc7cde-0770-44da-901a-2ad928282f7a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.45532352Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.455467143Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.455530294Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"uri":"/crucible/0/regions/10fc7cde-0770-44da-901a-2ad928282f7a","method":"DELETE","req_id":"8522518a-635d-4ea5-b7fe-07ac4bf1d083","remote_addr":"[fd00:1122:3344:101::c]:61779","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":22621,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.455658786Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"uri":"/crucible/0/regions/10fc7cde-0770-44da-901a-2ad928282f7a","method":"GET","req_id":"6e635f11-c64d-4996-810e-00da16a677b9","remote_addr":"[fd00:1122:3344:101::c]:61779","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-10fc7cde-0770-44da-901a-2ad928282f7a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.456538231Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.463170261Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/10fc7cde-0770-44da-901a-2ad928282f7a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.47515928Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"region":"10fc7cde-0770-44da-901a-2ad928282f7a","component":"worker"} {"msg":"region 10fc7cde-0770-44da-901a-2ad928282f7a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.539409415Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.579397609Z","hostname":"oxz_crucible_f2377967-c7ff-4048-80f1-c5ff07fb8102","pid":24376,"uri":"/crucible/0/regions/10fc7cde-0770-44da-901a-2ad928282f7a","method":"GET","req_id":"fc855dea-5cc5-46f6-813c-bd7264d00d36","remote_addr":"[fd00:1122:3344:101::c]:61779","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":121,"response_code":"200"}