[ Oct 5 07:23:29 Enabled. ] [ Oct 5 07:23:29 Rereading configuration. ] [ Oct 5 07:23:30 Rereading configuration. ] [ Oct 5 07:23:31 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=oxControlService17 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService17 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService17 ipadm: Could not delete oxControlService17: Interface does not exist + true + ipadm create-if -t oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 + ipadm show-addr oxControlService17/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService17/ll + ipadm show-addr oxControlService17/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService17/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:32.342433643Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:32.346863673Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:32.346873693Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:32.577236064Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.339889115Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:61241"} {"msg":"region fbd5083d-8ff1-4d23-8acc-473e6f8ff82e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.374595605Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.387664162Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"uri":"/crucible/0/regions","method":"POST","req_id":"895b66e2-f953-4a77-a46d-d807ef10a66c","remote_addr":"[fd00:1122:3344:101::c]:61241","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":26853,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.388704238Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.397774572Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.397801373Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"fbd5083d-8ff1-4d23-8acc-473e6f8ff82e\"), 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/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.47212404Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"region":"fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.716371282Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"region":"fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","component":"worker"} {"msg":"region fbd5083d-8ff1-4d23-8acc-473e6f8ff82e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.716414263Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.716529574Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.729371548Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.738272809Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.739472588Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"uri":"/crucible/0/regions","method":"POST","req_id":"d45cb866-e50a-4875-b8f1-cce2e4b43517","remote_addr":"[fd00:1122:3344:101::c]:61241","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.769476053Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.773717281Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.774337061Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.774412062Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.774457532Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.774498053Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.786206339Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.804770783Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.946899616Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:33733"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.94719338Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"uri":"/crucible/0/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","method":"GET","req_id":"d3df5a67-b85c-4846-a646-d669cc006bf4","remote_addr":"[fd00:1122:3344:101::c]:33733","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":166,"response_code":"200"} {"msg":"path is \"/data/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.947388164Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.959946623Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"datafile"} {"msg":"region fbd5083d-8ff1-4d23-8acc-473e6f8ff82e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.971581537Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.97176143Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.971821531Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"uri":"/crucible/0/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","method":"DELETE","req_id":"c7c01f3f-85b8-4d97-8cc7-88fc9cba717a","remote_addr":"[fd00:1122:3344:101::c]:33733","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":24464,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.97489846Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"uri":"/crucible/0/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","method":"GET","req_id":"9a91ed0e-6a4a-4834-9d68-5b0db45bddf4","remote_addr":"[fd00:1122:3344:101::c]:33733","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":534,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-fbd5083d-8ff1-4d23-8acc-473e6f8ff82e (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.985589889Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.99829265Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:18.010154618Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"region":"fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:18.035204775Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"uri":"/crucible/0/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","method":"GET","req_id":"a2a46a9d-e69b-41e4-b4cf-0d75d0427cde","remote_addr":"[fd00:1122:3344:101::c]:33733","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"region fbd5083d-8ff1-4d23-8acc-473e6f8ff82e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:18.07016716Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:18.144258774Z","hostname":"oxz_crucible_f75aafb8-c738-4591-b0d1-7b56d1985e55","pid":20531,"uri":"/crucible/0/regions/fbd5083d-8ff1-4d23-8acc-473e6f8ff82e","method":"GET","req_id":"8889fab5-54c7-41f3-9e2e-7b31190f8ac3","remote_addr":"[fd00:1122:3344:101::c]:33733","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":43,"response_code":"200"}