[ Oct 20 00:36:28 Enabled. ] [ Oct 20 00:36:28 Rereading configuration. ] [ Oct 20 00:36:30 Rereading configuration. ] [ Oct 20 00:36:32 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=oxControlService23 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService23/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.662005269Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.663101553Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.663111263Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.86949179Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.683099946Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:50533"} {"msg":"region 5bba19de-376d-4809-8b52-3a5c971cd1ef state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.71468759Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.714968326Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"uri":"/crucible/0/regions","method":"POST","req_id":"17f9e658-7a2d-471e-bf93-f209099f053e","remote_addr":"[fd00:1122:3344:101::c]:50533","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":581,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.716307265Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.726535606Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.726561137Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"5bba19de-376d-4809-8b52-3a5c971cd1ef\"), 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/5bba19de-376d-4809-8b52-3a5c971cd1ef\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.77887449Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"region":"5bba19de-376d-4809-8b52-3a5c971cd1ef","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.92033704Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"uri":"/crucible/0/regions","method":"POST","req_id":"6e75874c-65ff-4e81-9aa9-a34191d8d5b0","remote_addr":"[fd00:1122:3344:101::c]:50533","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.971060381Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"region":"5bba19de-376d-4809-8b52-3a5c971cd1ef","component":"worker"} {"msg":"region 5bba19de-376d-4809-8b52-3a5c971cd1ef state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.971093212Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.971215364Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-5bba19de-376d-4809-8b52-3a5c971cd1ef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.971642824Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-5bba19de-376d-4809-8b52-3a5c971cd1ef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.975103748Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.98345624Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-5bba19de-376d-4809-8b52-3a5c971cd1ef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.986450564Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.9871751Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.987243271Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.987288883Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.987328243Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.992163028Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.996685476Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:32.179687428Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"uri":"/crucible/0/regions","method":"POST","req_id":"b9c6fe6e-012c-4a2d-b2a5-4a7a86e6ca8d","remote_addr":"[fd00:1122:3344:101::c]:50533","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.439333397Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:44885"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.439465288Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"uri":"/crucible/0/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef","method":"GET","req_id":"cb9bf3bd-7344-49aa-971f-afd2911249a3","remote_addr":"[fd00:1122:3344:101::c]:44885","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"path is \"/data/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.439635728Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.453828174Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"datafile"} {"msg":"region 5bba19de-376d-4809-8b52-3a5c971cd1ef state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.46290063Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.463073924Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.463127215Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"uri":"/crucible/0/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef","method":"DELETE","req_id":"4f8c210d-ac9a-4d32-8f22-092b891961cd","remote_addr":"[fd00:1122:3344:101::c]:44885","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":23479,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.463256828Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"uri":"/crucible/0/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef","method":"GET","req_id":"07206a8e-3b00-4f1a-aeae-f14d2ee3c307","remote_addr":"[fd00:1122:3344:101::c]:44885","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-5bba19de-376d-4809-8b52-3a5c971cd1ef (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.464213599Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.509228671Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.51751594Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"uri":"/crucible/0/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef","method":"GET","req_id":"acc9d7bc-1585-4809-8590-e6ab0af858b2","remote_addr":"[fd00:1122:3344:101::c]:44885","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":64,"response_code":"200"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.52262609Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"region":"5bba19de-376d-4809-8b52-3a5c971cd1ef","component":"worker"} {"msg":"region 5bba19de-376d-4809-8b52-3a5c971cd1ef state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.605354777Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.606591533Z","hostname":"oxz_crucible_8bd21879-b6df-42ea-a3c8-c71e34221481","pid":21212,"uri":"/crucible/0/regions/5bba19de-376d-4809-8b52-3a5c971cd1ef","method":"GET","req_id":"572c98a1-b9fe-4d43-ad12-ae8c962aea03","remote_addr":"[fd00:1122:3344:101::c]:44885","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":70,"response_code":"200"}