[ Oct 4 03:32:36 Enabled. ] [ Oct 4 03:32:36 Rereading configuration. ] [ Oct 4 03:32:38 Rereading configuration. ] [ Oct 4 03:32:39 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=oxControlService23 ++ 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::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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService23/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::17]: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-10-04T03:32:40.606503787Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.611047861Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.611057821Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.769507955Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.108111137Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:38636"} {"msg":"region 23848c0a-5f97-4555-82fb-6c5d3e06afe9 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.113215234Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.114835232Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.114848022Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"uri":"/crucible/0/regions","method":"POST","req_id":"b60aac09-fec1-4197-ba7d-22a5c2803231","remote_addr":"[fd00:1122:3344:101::b]:38636","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":1956,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.124946105Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.124969635Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"23848c0a-5f97-4555-82fb-6c5d3e06afe9\"), 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/23848c0a-5f97-4555-82fb-6c5d3e06afe9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.178197433Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"region":"23848c0a-5f97-4555-82fb-6c5d3e06afe9","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.362487341Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"region":"23848c0a-5f97-4555-82fb-6c5d3e06afe9","component":"worker"} {"msg":"region 23848c0a-5f97-4555-82fb-6c5d3e06afe9 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.362526682Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.362612344Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-23848c0a-5f97-4555-82fb-6c5d3e06afe9","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.372971323Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-23848c0a-5f97-4555-82fb-6c5d3e06afe9","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.376190277Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.385584823Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-23848c0a-5f97-4555-82fb-6c5d3e06afe9","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.388577192Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.389259938Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.38935229Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.389395061Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.389432932Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.393981537Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.399493544Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.450350837Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"uri":"/crucible/0/regions","method":"POST","req_id":"52f6d09f-9e0a-4703-9587-6226afca1210","remote_addr":"[fd00:1122:3344:101::b]:38636","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.014616946Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:59874"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.076871612Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"uri":"/crucible/0/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9","method":"GET","req_id":"de695516-bb41-494b-be86-6917cda89c71","remote_addr":"[fd00:1122:3344:101::b]:59874","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":148,"response_code":"200"} {"msg":"path is \"/data/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.07722604Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.088366477Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"datafile"} {"msg":"region 23848c0a-5f97-4555-82fb-6c5d3e06afe9 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.097858656Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.098002519Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.100791673Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"uri":"/crucible/0/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9","method":"DELETE","req_id":"15cdd2b7-fc38-4b2c-99b1-407459981a02","remote_addr":"[fd00:1122:3344:101::b]:59874","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":23528,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.100997548Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"uri":"/crucible/0/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9","method":"GET","req_id":"3ba8320b-c7ee-4257-b0d1-bc40a6ad74d5","remote_addr":"[fd00:1122:3344:101::b]:59874","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-23848c0a-5f97-4555-82fb-6c5d3e06afe9","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T03:33:33.10847403Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.109166146Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.113076147Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.124221393Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"region":"23848c0a-5f97-4555-82fb-6c5d3e06afe9","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.161223497Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"uri":"/crucible/0/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9","method":"GET","req_id":"7fa49acd-34f9-4d38-a321-85e73e93c198","remote_addr":"[fd00:1122:3344:101::b]:59874","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"region 23848c0a-5f97-4555-82fb-6c5d3e06afe9 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.18046748Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.227323201Z","hostname":"oxz_crucible_11eeeb5f-9e93-4dbf-94ee-9e2ba70ac8ac","pid":24525,"uri":"/crucible/0/regions/23848c0a-5f97-4555-82fb-6c5d3e06afe9","method":"GET","req_id":"f32448b7-ed2e-430f-9b64-e0fb9d153fa1","remote_addr":"[fd00:1122:3344:101::b]:59874","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":31,"response_code":"200"}