[ Dec 1 20:22:02 Enabled. ] [ Dec 1 20:22:02 Rereading configuration. ] [ Dec 1 20:22:04 Rereading configuration. ] [ Dec 1 20:22:06 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.306860582Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.308171976Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.308181326Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.447964977Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.878810776Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:55768"} {"msg":"region 99f7e420-14af-43c2-9d28-b4a47a3c08b7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.915911846Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.916739101Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.920882218Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"uri":"/crucible/0/regions","method":"POST","req_id":"9957d4e2-9143-4610-912e-ffd037bc9b07","remote_addr":"[fd00:1122:3344:101::b]:55768","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":10623,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.927128404Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.927142474Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"99f7e420-14af-43c2-9d28-b4a47a3c08b7\"), 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/99f7e420-14af-43c2-9d28-b4a47a3c08b7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.969264217Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"region":"99f7e420-14af-43c2-9d28-b4a47a3c08b7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.092479857Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"uri":"/crucible/0/regions","method":"POST","req_id":"2a3bd8b3-0958-41b3-ba2e-3bc32657480e","remote_addr":"[fd00:1122:3344:101::b]:55768","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":101,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.168370527Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"region":"99f7e420-14af-43c2-9d28-b4a47a3c08b7","component":"worker"} {"msg":"region 99f7e420-14af-43c2-9d28-b4a47a3c08b7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.168407908Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.16851453Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-99f7e420-14af-43c2-9d28-b4a47a3c08b7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.171313822Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-99f7e420-14af-43c2-9d28-b4a47a3c08b7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.174734886Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.182364278Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-99f7e420-14af-43c2-9d28-b4a47a3c08b7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.185871593Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.186678008Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.186763648Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.18681111Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.186852521Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.190842145Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.195140435Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.456546613Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"uri":"/crucible/0/regions","method":"POST","req_id":"abf65b4f-17e1-456b-8c99-975680e1ca88","remote_addr":"[fd00:1122:3344:101::b]:55768","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":67,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.013720707Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:59374"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.017783613Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"uri":"/crucible/0/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7","method":"GET","req_id":"91018ec5-a697-4780-adad-013d3c15af43","remote_addr":"[fd00:1122:3344:101::b]:59374","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":4021,"response_code":"200"} {"msg":"path is \"/data/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.018114829Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.029298886Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"datafile"} {"msg":"region 99f7e420-14af-43c2-9d28-b4a47a3c08b7 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.037752093Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.038097149Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.038178991Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"uri":"/crucible/0/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7","method":"DELETE","req_id":"9e03ea6f-8101-4902-b480-0c2df5784d25","remote_addr":"[fd00:1122:3344:101::b]:59374","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":20219,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.038982146Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"uri":"/crucible/0/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7","method":"GET","req_id":"8dab96a1-35e2-4a75-99ae-5eab597c8b2a","remote_addr":"[fd00:1122:3344:101::b]:59374","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":656,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-99f7e420-14af-43c2-9d28-b4a47a3c08b7 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.039458164Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.04731229Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.057238474Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"region":"99f7e420-14af-43c2-9d28-b4a47a3c08b7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.097287856Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"uri":"/crucible/0/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7","method":"GET","req_id":"4c28ae8c-09da-458b-99bd-2a1a8c98831f","remote_addr":"[fd00:1122:3344:101::b]:59374","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":57,"response_code":"200"} {"msg":"region 99f7e420-14af-43c2-9d28-b4a47a3c08b7 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.101147748Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:58.184554854Z","hostname":"oxz_crucible_eecf1538-63c4-4d9d-833e-25c14fc54f0d","pid":21264,"uri":"/crucible/0/regions/99f7e420-14af-43c2-9d28-b4a47a3c08b7","method":"GET","req_id":"20459b00-00b9-4e3b-8cbe-73b1d0c278d0","remote_addr":"[fd00:1122:3344:101::b]:59374","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":22,"response_code":"200"}