[ Nov 19 06:11:09 Enabled. ] [ Nov 19 06:11:09 Rereading configuration. ] [ Nov 19 06:11:10 Rereading configuration. ] [ Nov 19 06:11:11 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=oxControlService10 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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 + [[ oxControlService10 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService10 ipadm: Could not delete oxControlService10: Interface does not exist + true + ipadm create-if -t oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService10 + ipadm show-addr oxControlService10/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService10/ll + ipadm show-addr oxControlService10/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService10/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:12.609954783Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:12.611156118Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:12.611167828Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:12.743790455Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.063163751Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:56935"} {"msg":"region b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.131179416Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.134881645Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"uri":"/crucible/0/regions","method":"POST","req_id":"2556dbb3-7e4a-41b3-90db-ef7cace34ca5","remote_addr":"[fd00:1122:3344:101::a]:56935","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":6303,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.134951826Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.146141014Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.146170224Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600\"), 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/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.317062744Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"region":"b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.337883286Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"uri":"/crucible/0/regions","method":"POST","req_id":"17c91182-2a31-44ff-9f1d-4e3166d265c3","remote_addr":"[fd00:1122:3344:101::a]:56935","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.6846036Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"region":"b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","component":"worker"} {"msg":"region b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.684642321Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.684785914Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.685284635Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.715559318Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.765939048Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.790184252Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"uri":"/crucible/0/regions","method":"POST","req_id":"5cb3a4b3-7327-4ae6-aedc-c49d3908975f","remote_addr":"[fd00:1122:3344:101::a]:56935","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":100,"response_code":"200"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.793897821Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.795100227Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.795171729Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.795216279Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.79525643Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.889118764Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.930904371Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.904175602Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:46751"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.934930505Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"uri":"/crucible/0/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","method":"GET","req_id":"8ad85ede-9f6a-44c1-9304-d6548482a9fe","remote_addr":"[fd00:1122:3344:101::a]:46751","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":172,"response_code":"200"} {"msg":"path is \"/data/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.935205831Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.946470631Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"datafile"} {"msg":"region b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.956685438Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.956841041Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.956899202Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"uri":"/crucible/0/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","method":"DELETE","req_id":"1a27491c-c5cd-46df-a5cb-de100cc789cc","remote_addr":"[fd00:1122:3344:101::a]:46751","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21757,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.957037885Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"uri":"/crucible/0/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","method":"GET","req_id":"3dd4a69a-cdcc-49de-96cf-877a650f5444","remote_addr":"[fd00:1122:3344:101::a]:46751","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.957903524Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.976003338Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.988061994Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"region":"b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:09.084141604Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"uri":"/crucible/0/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","method":"GET","req_id":"eae4a9ed-e193-4737-86c1-689a8659c2c7","remote_addr":"[fd00:1122:3344:101::a]:46751","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":137,"response_code":"200"} {"msg":"region b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:09.142349841Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:09.220648164Z","hostname":"oxz_crucible_77c7e8cf-beb4-4504-9e73-73fb8321d373","pid":20731,"uri":"/crucible/0/regions/b2a29e05-a5dd-4abb-a3fc-5f0b1c2fe600","method":"GET","req_id":"2b271565-9770-4873-82f4-447c214774a4","remote_addr":"[fd00:1122:3344:101::a]:46751","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":41,"response_code":"200"}