[ Feb 15 06:55:31 Enabled. ] [ Feb 15 06:55:31 Rereading configuration. ] [ Feb 15 06:55:32 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=oxControlService13 ++ 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService13/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:55:36.006029214Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:55:36.008176211Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:55:36.008188181Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:55:36.23954847Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.715147852Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:54188"} {"msg":"region 18a7e9be-1b71-42ed-b4c9-6d83f3e9230f state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.763690224Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.768541258Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.774831643Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"uri":"/crucible/0/regions","method":"POST","req_id":"0b559e11-2316-471f-8f8d-0c091f7c1afa","remote_addr":"[fd00:1122:3344:101::b]:54188","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":18663,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.77931869Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.77933589Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"18a7e9be-1b71-42ed-b4c9-6d83f3e9230f\"), 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/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.834659828Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"region":"18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.959120381Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"region":"18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","component":"worker"} {"msg":"region 18a7e9be-1b71-42ed-b4c9-6d83f3e9230f state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.959169422Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.959258174Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.959661263Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.968191266Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.976593436Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.980794966Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.981557433Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.981618624Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.981661205Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.981704706Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.985680602Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:39.989600536Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.034783776Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"uri":"/crucible/0/regions","method":"POST","req_id":"9deafaba-f338-4936-86cd-b94bec6875e4","remote_addr":"[fd00:1122:3344:101::b]:54188","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.908277045Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:42498"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.908369317Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"uri":"/crucible/0/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","method":"GET","req_id":"2f1d1dcf-a7aa-407f-98b2-ad6c1dc8e35b","remote_addr":"[fd00:1122:3344:101::b]:42498","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"path is \"/data/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.908543181Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.91782125Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"datafile"} {"msg":"region 18a7e9be-1b71-42ed-b4c9-6d83f3e9230f state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.927055019Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.927216192Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.927292544Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"uri":"/crucible/0/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","method":"DELETE","req_id":"635b353c-45f9-4930-9332-1e234e945ced","remote_addr":"[fd00:1122:3344:101::b]:42498","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":18771,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.927473397Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"uri":"/crucible/0/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","method":"GET","req_id":"10292b26-21ed-4f96-9aed-69d89010ae9d","remote_addr":"[fd00:1122:3344:101::b]:42498","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-18a7e9be-1b71-42ed-b4c9-6d83f3e9230f (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.928462239Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.932350692Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.943118233Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"region":"18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","component":"worker"} {"msg":"region 18a7e9be-1b71-42ed-b4c9-6d83f3e9230f state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:40.996197803Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T06:56:41.007803183Z","hostname":"oxz_crucible_12761ad1-9214-48a7-9522-56202fcc4ea8","pid":22515,"uri":"/crucible/0/regions/18a7e9be-1b71-42ed-b4c9-6d83f3e9230f","method":"GET","req_id":"2b847f86-4ed7-4657-81c6-9a96c381027c","remote_addr":"[fd00:1122:3344:101::b]:42498","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":51,"response_code":"200"}