[ Dec 1 20:22:01 Enabled. ] [ Dec 1 20:22:01 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=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_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 + [[ 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::15 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_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":"2023-12-01T20:22:07.097986541Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.099188373Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.099198453Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.274230907Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.376929495Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:65113"} {"msg":"region 539caf17-3e33-4219-ae42-aa015da34b9e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.415495202Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.415726956Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"uri":"/crucible/0/regions","method":"POST","req_id":"7ee66c35-173c-40c3-ab4e-9d55401f79b3","remote_addr":"[fd00:1122:3344:101::b]:65113","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":5752,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.41649892Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/539caf17-3e33-4219-ae42-aa015da34b9e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.4293796Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/539caf17-3e33-4219-ae42-aa015da34b9e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.42941024Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"539caf17-3e33-4219-ae42-aa015da34b9e\"), 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/539caf17-3e33-4219-ae42-aa015da34b9e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.483994865Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"region":"539caf17-3e33-4219-ae42-aa015da34b9e","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.659498306Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"region":"539caf17-3e33-4219-ae42-aa015da34b9e","component":"worker"} {"msg":"region 539caf17-3e33-4219-ae42-aa015da34b9e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.659554287Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.659661939Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-539caf17-3e33-4219-ae42-aa015da34b9e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.662226987Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-539caf17-3e33-4219-ae42-aa015da34b9e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.66670226Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.67473977Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-539caf17-3e33-4219-ae42-aa015da34b9e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.677957059Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/539caf17-3e33-4219-ae42-aa015da34b9e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.678652822Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.678794415Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.678844576Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.678884687Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.679154792Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"uri":"/crucible/0/regions","method":"POST","req_id":"cd824441-fb72-4f52-9a04-38ca725ac30a","remote_addr":"[fd00:1122:3344:101::b]:65113","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.683520243Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.687852333Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.287145301Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:35150"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.287404056Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"uri":"/crucible/0/regions/539caf17-3e33-4219-ae42-aa015da34b9e","method":"GET","req_id":"c64e6cae-4cb9-481a-8050-9b513605af5b","remote_addr":"[fd00:1122:3344:101::b]:35150","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":230,"response_code":"200"} {"msg":"path is \"/data/regions/539caf17-3e33-4219-ae42-aa015da34b9e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.287713611Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/539caf17-3e33-4219-ae42-aa015da34b9e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.297742308Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"datafile"} {"msg":"region 539caf17-3e33-4219-ae42-aa015da34b9e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.307202424Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.307365417Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.307420188Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"uri":"/crucible/0/regions/539caf17-3e33-4219-ae42-aa015da34b9e","method":"DELETE","req_id":"4a846d7d-24db-4fcd-9ece-745985a0ac71","remote_addr":"[fd00:1122:3344:101::b]:35150","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":19830,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.307610401Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"uri":"/crucible/0/regions/539caf17-3e33-4219-ae42-aa015da34b9e","method":"GET","req_id":"a7840f89-c517-433d-930b-4124942d7b57","remote_addr":"[fd00:1122:3344:101::b]:35150","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-539caf17-3e33-4219-ae42-aa015da34b9e (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.308562629Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.312774148Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/539caf17-3e33-4219-ae42-aa015da34b9e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.323372254Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"region":"539caf17-3e33-4219-ae42-aa015da34b9e","component":"worker"} {"msg":"region 539caf17-3e33-4219-ae42-aa015da34b9e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.370069612Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.374497475Z","hostname":"oxz_crucible_11854ffa-1764-4c42-8bea-aae473a41329","pid":21160,"uri":"/crucible/0/regions/539caf17-3e33-4219-ae42-aa015da34b9e","method":"GET","req_id":"8abcfd95-e5a1-47f8-a0f7-d5a9c0f1d5c6","remote_addr":"[fd00:1122:3344:101::b]:35150","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":747,"response_code":"200"}