[ Feb 15 06:55:31 Enabled. ] [ Feb 15 06:55:31 Rereading configuration. ] [ Feb 15 06:55:33 Rereading configuration. ] [ Feb 15 06:55:35 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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::15 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:55:36.450898899Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:55:36.455740573Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:55:36.455758423Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:55:36.657741181Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.647284244Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:54049"} {"msg":"region d02a28ac-e8d2-470e-8ee0-139944cedf05 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.759740109Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.764046562Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"uri":"/crucible/0/regions","method":"POST","req_id":"dd6c95c3-fc21-4b31-9c8f-95c3dd8f3855","remote_addr":"[fd00:1122:3344:101::b]:54049","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":9783,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.764573213Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.774768872Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.774801683Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"d02a28ac-e8d2-470e-8ee0-139944cedf05\"), 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/d02a28ac-e8d2-470e-8ee0-139944cedf05\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.826297859Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"region":"d02a28ac-e8d2-470e-8ee0-139944cedf05","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.94743597Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"uri":"/crucible/0/regions","method":"POST","req_id":"6afd5fd8-d0b9-4f92-84e1-8bfd23c06676","remote_addr":"[fd00:1122:3344:101::b]:54049","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.951184481Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"region":"d02a28ac-e8d2-470e-8ee0-139944cedf05","component":"worker"} {"msg":"region d02a28ac-e8d2-470e-8ee0-139944cedf05 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.951203421Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.951339254Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-d02a28ac-e8d2-470e-8ee0-139944cedf05","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.951865375Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-d02a28ac-e8d2-470e-8ee0-139944cedf05","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.956770951Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.965273123Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-d02a28ac-e8d2-470e-8ee0-139944cedf05","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.970042796Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.970807832Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.970869583Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.970915224Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.970956935Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.975246617Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.980986511Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.663760614Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"uri":"/crucible/0/regions","method":"POST","req_id":"67bb0e12-a779-4441-bb8d-f367c02372f3","remote_addr":"[fd00:1122:3344:101::b]:54049","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.05332982Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:62328"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.053964654Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"uri":"/crucible/0/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05","method":"GET","req_id":"52053357-b637-4b20-a85e-d9bd6ff3716a","remote_addr":"[fd00:1122:3344:101::b]:62328","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":578,"response_code":"200"} {"msg":"path is \"/data/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.054145078Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.063455088Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"datafile"} {"msg":"region d02a28ac-e8d2-470e-8ee0-139944cedf05 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.07146514Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.071610273Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.071671364Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"uri":"/crucible/0/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05","method":"DELETE","req_id":"9007994b-14e6-472e-ae37-94383213ae59","remote_addr":"[fd00:1122:3344:101::b]:62328","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":17553,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.071816747Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"uri":"/crucible/0/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05","method":"GET","req_id":"43fde973-f412-4b7c-94f0-3e52ae361147","remote_addr":"[fd00:1122:3344:101::b]:62328","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-d02a28ac-e8d2-470e-8ee0-139944cedf05 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.072759698Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.076698622Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.08635508Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"region":"d02a28ac-e8d2-470e-8ee0-139944cedf05","component":"worker"} {"msg":"region d02a28ac-e8d2-470e-8ee0-139944cedf05 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.138375397Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.173151554Z","hostname":"oxz_crucible_2e69755d-18d7-411b-8394-947b385c4292","pid":22722,"uri":"/crucible/0/regions/d02a28ac-e8d2-470e-8ee0-139944cedf05","method":"GET","req_id":"52873bd4-050f-4d75-a028-d75acfacb473","remote_addr":"[fd00:1122:3344:101::b]:62328","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":67,"response_code":"200"}