[ Oct 26 11:47:43 Enabled. ] [ Oct 26 11:47:43 Rereading configuration. ] [ Oct 26 11:47:44 Rereading configuration. ] [ Oct 26 11:47:45 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=oxControlService16 ++ 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService16/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:46.21120395Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:46.238774627Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:46.238786567Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:46.393009821Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.669870168Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:58253"} {"msg":"region b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.718939642Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.724355662Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.724383462Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"uri":"/crucible/0/regions","method":"POST","req_id":"e0984b09-c177-421f-98c4-9417646fcf25","remote_addr":"[fd00:1122:3344:101::a]:58253","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":17167,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.735161944Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.73518945Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8\"), 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/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.777452133Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"region":"b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.899202728Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"uri":"/crucible/0/regions","method":"POST","req_id":"c6a38843-e3e4-4fdd-acb2-47faa7aed0f6","remote_addr":"[fd00:1122:3344:101::a]:58253","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.93150812Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"region":"b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","component":"worker"} {"msg":"region b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.931537323Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.931668538Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.936099152Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.940271514Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.954388582Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.957862693Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.958562534Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.958648325Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.958695476Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.958738256Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.963342114Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.973722727Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.432665533Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"uri":"/crucible/0/regions","method":"POST","req_id":"99bc63e3-e423-4fb1-bdf6-34a5c699772c","remote_addr":"[fd00:1122:3344:101::a]:58253","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":99,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.770156087Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:52124"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.770279719Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"uri":"/crucible/0/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","method":"GET","req_id":"dcb1af69-1d85-48fe-afb9-56f8a17ba2e8","remote_addr":"[fd00:1122:3344:101::a]:52124","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":98,"response_code":"200"} {"msg":"path is \"/data/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.770471532Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.78188629Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"datafile"} {"msg":"region b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.79201779Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.792206743Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.792280673Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"uri":"/crucible/0/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","method":"DELETE","req_id":"b4b7c004-b6b5-4bfd-8d21-e0d16ab70f41","remote_addr":"[fd00:1122:3344:101::a]:52124","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":21842,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.792456346Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"uri":"/crucible/0/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","method":"GET","req_id":"a5b1bf53-8cbc-4772-9f78-5cb73306b0a8","remote_addr":"[fd00:1122:3344:101::a]:52124","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.793495642Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.798475955Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.80970096Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"region":"b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","component":"worker"} {"msg":"region b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.872125261Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.928208008Z","hostname":"oxz_crucible_4b414aec-40c9-434a-855b-5488f8542034","pid":23407,"uri":"/crucible/0/regions/b85c25fa-74a4-4816-b3aa-f52e0d7a0ac8","method":"GET","req_id":"e5d0c2a6-0e69-4260-b8ed-c2266902d7d0","remote_addr":"[fd00:1122:3344:101::a]:52124","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":86,"response_code":"200"}