[ Nov 29 19:47:24 Enabled. ] [ Nov 29 19:47:24 Rereading configuration. ] [ Nov 29 19:47:26 Rereading configuration. ] [ Nov 29 19:47:27 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-11-29T19:47:27.754614701Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:27.759151157Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:27.759163397Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:28.024715145Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.229375575Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:56895"} {"msg":"region 3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.267335971Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.275027114Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.275050754Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"uri":"/crucible/0/regions","method":"POST","req_id":"5d96b902-77ff-4787-946c-c02bb6ab56ca","remote_addr":"[fd00:1122:3344:101::b]:56895","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":25384,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.28501257Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.2850428Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1\"), 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/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.35331576Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"region":"3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.616147569Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"region":"3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","component":"worker"} {"msg":"region 3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.61620284Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.616291211Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.618754378Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.636335325Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.647548179Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"uri":"/crucible/0/regions","method":"POST","req_id":"635252bd-77fd-40c0-b655-932e246b0185","remote_addr":"[fd00:1122:3344:101::b]:56895","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.665275959Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.672461354Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.673215475Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.673290906Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.673336877Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.673377618Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.680603773Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.701632691Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.24984414Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:51580"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.250046103Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"uri":"/crucible/0/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","method":"GET","req_id":"e10fe620-cdeb-4cd9-9ebe-44f38cef5e1a","remote_addr":"[fd00:1122:3344:101::b]:51580","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":179,"response_code":"200"} {"msg":"path is \"/data/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.250267347Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.263041884Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"datafile"} {"msg":"region 3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.272142197Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.272431461Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.272491142Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"uri":"/crucible/0/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","method":"DELETE","req_id":"b389b8bc-6b56-4ea2-a6f1-a8236bd38670","remote_addr":"[fd00:1122:3344:101::b]:51580","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22300,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.272650725Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"uri":"/crucible/0/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","method":"GET","req_id":"ce2079f5-880f-4009-b9a6-45d46b7eca45","remote_addr":"[fd00:1122:3344:101::b]:51580","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.273469066Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.280171855Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.29009109Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"region":"3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","component":"worker"} {"msg":"region 3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.338802143Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.418941457Z","hostname":"oxz_crucible_e93e3f28-28f9-4f9f-b218-ebe5f55af032","pid":22630,"uri":"/crucible/0/regions/3f0da2b3-22a5-4a87-8067-bc9fd3bfd7d1","method":"GET","req_id":"be0d53ec-ef5a-4cba-a071-2602e30f060a","remote_addr":"[fd00:1122:3344:101::b]:51580","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":52,"response_code":"200"}