[ Nov 19 06:16:53 Enabled. ] [ Nov 19 06:16:53 Rereading configuration. ] [ Nov 19 06:16:54 Rereading configuration. ] [ Nov 19 06:16:55 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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::15 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]: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-11-19T06:16:55.983225272Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:55.986412707Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:55.986421077Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:56.111440181Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.172507321Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:46790"} {"msg":"region 8639ef8e-59db-4a52-aa58-41b4a1b94654 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.238758919Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.240230097Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"uri":"/crucible/0/regions","method":"POST","req_id":"31d57eb1-f3f3-452b-926c-75c8fb759507","remote_addr":"[fd00:1122:3344:101::b]:46790","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":6189,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.240256498Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.249270905Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.249299114Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"8639ef8e-59db-4a52-aa58-41b4a1b94654\"), 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/8639ef8e-59db-4a52-aa58-41b4a1b94654\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.310631545Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"region":"8639ef8e-59db-4a52-aa58-41b4a1b94654","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.412718661Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"uri":"/crucible/0/regions","method":"POST","req_id":"31a82e9e-340a-49e4-a713-6f2cf5623cf1","remote_addr":"[fd00:1122:3344:101::b]:46790","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.516056682Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"region":"8639ef8e-59db-4a52-aa58-41b4a1b94654","component":"worker"} {"msg":"region 8639ef8e-59db-4a52-aa58-41b4a1b94654 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.516102611Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.516233865Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-8639ef8e-59db-4a52-aa58-41b4a1b94654","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.516833383Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-8639ef8e-59db-4a52-aa58-41b4a1b94654","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.520205878Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.529121378Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-8639ef8e-59db-4a52-aa58-41b4a1b94654","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.532195738Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.532808369Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.532877941Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.53291849Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.532955597Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.537460262Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:04.545287984Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:05.145091193Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"uri":"/crucible/0/regions","method":"POST","req_id":"d8d3cff3-f2cc-48f4-aed6-aa85e0e36906","remote_addr":"[fd00:1122:3344:101::b]:46790","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.519911902Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:46656"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.588564418Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"uri":"/crucible/0/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654","method":"GET","req_id":"38bec031-fe83-4e5a-b39f-cadec9f77524","remote_addr":"[fd00:1122:3344:101::b]:46656","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":6626,"response_code":"200"} {"msg":"path is \"/data/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.590612032Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.602743064Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"datafile"} {"msg":"region 8639ef8e-59db-4a52-aa58-41b4a1b94654 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.612070723Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.61271956Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.612774111Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"uri":"/crucible/0/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654","method":"DELETE","req_id":"98139395-d824-4fbb-bccc-b9324cdbf020","remote_addr":"[fd00:1122:3344:101::b]:46656","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":24082,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.612901785Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"uri":"/crucible/0/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654","method":"GET","req_id":"11978f70-110a-4e47-ac22-aced16459269","remote_addr":"[fd00:1122:3344:101::b]:46656","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-8639ef8e-59db-4a52-aa58-41b4a1b94654 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.616011287Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.633466821Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.645185333Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"region":"8639ef8e-59db-4a52-aa58-41b4a1b94654","component":"worker"} {"msg":"region 8639ef8e-59db-4a52-aa58-41b4a1b94654 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.719393976Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:20:57.73459018Z","hostname":"oxz_crucible_20556fb0-6d68-429c-ad3c-1aa256ad9d77","pid":21281,"uri":"/crucible/0/regions/8639ef8e-59db-4a52-aa58-41b4a1b94654","method":"GET","req_id":"3c6ee019-1d82-4514-b565-66dda7f093e2","remote_addr":"[fd00:1122:3344:101::b]:46656","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":70,"response_code":"200"}