[ Oct 12 05:15:21 Enabled. ] [ Oct 12 05:15:21 Rereading configuration. ] [ Oct 12 05:15:22 Rereading configuration. ] [ Oct 12 05:15:24 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=oxControlService11 ++ 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::14 ++ 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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService11/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::14]: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":"2023-10-12T05:15:24.803145028Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:15:24.804943827Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:15:24.804958137Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:15:25.003747717Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.28470111Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:48635"} {"msg":"region cc98ae71-5c2a-4065-abd9-6b27aea5fccb state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.353606659Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.358424563Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"uri":"/crucible/0/regions","method":"POST","req_id":"b9497069-636f-4c01-b556-a4e79b83913a","remote_addr":"[fd00:1122:3344:101::b]:48635","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":7344,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.359538726Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.368514771Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.368543572Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"cc98ae71-5c2a-4065-abd9-6b27aea5fccb\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.431992283Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"region":"cc98ae71-5c2a-4065-abd9-6b27aea5fccb","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.612626868Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"region":"cc98ae71-5c2a-4065-abd9-6b27aea5fccb","component":"worker"} {"msg":"region cc98ae71-5c2a-4065-abd9-6b27aea5fccb state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.612666468Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.612759441Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-cc98ae71-5c2a-4065-abd9-6b27aea5fccb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.624887247Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-cc98ae71-5c2a-4065-abd9-6b27aea5fccb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.627928126Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.640501671Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.642444512Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"uri":"/crucible/0/regions","method":"POST","req_id":"29ec3172-1ae9-4716-87a7-3917c0b53ae3","remote_addr":"[fd00:1122:3344:101::b]:48635","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-cc98ae71-5c2a-4065-abd9-6b27aea5fccb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.643144394Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.643714773Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.643785664Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.643828105Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.643866325Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.64783832Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:16:49.651775114Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.257274521Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47639"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.257643347Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"uri":"/crucible/0/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb","method":"GET","req_id":"bf7a1e2c-443f-4741-ab8c-ba724ab34d2b","remote_addr":"[fd00:1122:3344:101::b]:47639","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":246,"response_code":"200"} {"msg":"path is \"/data/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.25781604Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.270670668Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"datafile"} {"msg":"region cc98ae71-5c2a-4065-abd9-6b27aea5fccb state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.280857743Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.281055276Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.283968083Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"uri":"/crucible/0/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb","method":"DELETE","req_id":"92542191-1dd7-416a-a2ac-f6181c8e1dd5","remote_addr":"[fd00:1122:3344:101::b]:47639","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":26099,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.284169727Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"uri":"/crucible/0/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb","method":"GET","req_id":"d64d0898-c732-48eb-81b1-7db756b6676d","remote_addr":"[fd00:1122:3344:101::b]:47639","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-cc98ae71-5c2a-4065-abd9-6b27aea5fccb (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.29548407Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.340309087Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.352456813Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"region":"cc98ae71-5c2a-4065-abd9-6b27aea5fccb","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.41578967Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"uri":"/crucible/0/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb","method":"GET","req_id":"58312708-8bac-4ec2-a951-bfa50367791c","remote_addr":"[fd00:1122:3344:101::b]:47639","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":91,"response_code":"200"} {"msg":"region cc98ae71-5c2a-4065-abd9-6b27aea5fccb state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.486462535Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-12T05:19:39.540933528Z","hostname":"oxz_crucible_d6db5d21-640d-4baa-a338-d3d671bd9b0d","pid":24592,"uri":"/crucible/0/regions/cc98ae71-5c2a-4065-abd9-6b27aea5fccb","method":"GET","req_id":"acc7acd5-94f7-46fc-9afb-16afd58cfa51","remote_addr":"[fd00:1122:3344:101::b]:47639","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":47,"response_code":"200"}