[ Nov 2 20:24:53 Enabled. ] [ Nov 2 20:24:53 Rereading configuration. ] [ Nov 2 20:24:54 Rereading configuration. ] [ Nov 2 20:24:55 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=oxControlService21 ++ 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService21/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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.452852307Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.457176062Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.457189122Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.586945277Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.340285704Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52597"} {"msg":"region 6701c733-30d3-4c1c-bbdf-9a0540f43e0e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.357804224Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.363520889Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.3636012Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"uri":"/crucible/0/regions","method":"POST","req_id":"3133b9db-0814-4975-bcb0-6bb5998eb293","remote_addr":"[fd00:1122:3344:101::c]:52597","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":12238,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.373897463Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.373923443Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6701c733-30d3-4c1c-bbdf-9a0540f43e0e\"), 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/6701c733-30d3-4c1c-bbdf-9a0540f43e0e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.457673316Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"region":"6701c733-30d3-4c1c-bbdf-9a0540f43e0e","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.692860957Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"region":"6701c733-30d3-4c1c-bbdf-9a0540f43e0e","component":"worker"} {"msg":"region 6701c733-30d3-4c1c-bbdf-9a0540f43e0e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.692933208Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.692962268Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6701c733-30d3-4c1c-bbdf-9a0540f43e0e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.695355964Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6701c733-30d3-4c1c-bbdf-9a0540f43e0e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.711535964Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.718963924Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"uri":"/crucible/0/regions","method":"POST","req_id":"3b494477-dfd6-42ed-acef-b3e386a78bbd","remote_addr":"[fd00:1122:3344:101::c]:52597","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.744646785Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6701c733-30d3-4c1c-bbdf-9a0540f43e0e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.760509641Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.761377634Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.761449585Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.761495185Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.761535706Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.769976221Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.793978688Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.497431087Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:64557"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.49764965Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"uri":"/crucible/0/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e","method":"GET","req_id":"8d904195-5250-485f-873d-7203a8ece3f0","remote_addr":"[fd00:1122:3344:101::c]:64557","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":177,"response_code":"200"} {"msg":"path is \"/data/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.497858504Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.510787036Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"datafile"} {"msg":"region 6701c733-30d3-4c1c-bbdf-9a0540f43e0e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.520922476Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.521111329Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.52116731Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"uri":"/crucible/0/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e","method":"DELETE","req_id":"49203efd-a8e5-477f-842a-23050dd58c7a","remote_addr":"[fd00:1122:3344:101::c]:64557","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":23353,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.521299561Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"uri":"/crucible/0/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e","method":"GET","req_id":"beb0d6a5-04e6-4c2c-8443-0e156bb97a79","remote_addr":"[fd00:1122:3344:101::c]:64557","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6701c733-30d3-4c1c-bbdf-9a0540f43e0e (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.522392258Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.530357356Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.542406905Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"region":"6701c733-30d3-4c1c-bbdf-9a0540f43e0e","component":"worker"} {"msg":"region 6701c733-30d3-4c1c-bbdf-9a0540f43e0e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.59663087Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.666999964Z","hostname":"oxz_crucible_cd068562-09fb-4c8b-9e1b-d951d2068256","pid":20981,"uri":"/crucible/0/regions/6701c733-30d3-4c1c-bbdf-9a0540f43e0e","method":"GET","req_id":"990a91fc-6bc0-4d90-8bda-cce714cda5ff","remote_addr":"[fd00:1122:3344:101::c]:64557","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":101,"response_code":"200"}