[ Nov 14 22:15:17 Enabled. ] [ Nov 14 22:15:17 Rereading configuration. ] [ Nov 14 22:15:18 Rereading configuration. ] [ Nov 14 22:15:19 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::19 ++ 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::19 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::19]: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-14T22:15:20.893763849Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.894878859Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.894890109Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:21.07204502Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.257905611Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:55339"} {"msg":"region 4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.291050725Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.295621989Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"uri":"/crucible/0/regions","method":"POST","req_id":"0b948dde-d1b6-4ddf-a4d9-db080ac8aa4b","remote_addr":"[fd00:1122:3344:101::b]:55339","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":4998,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.29566122Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.30592375Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.305952551Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af\"), 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/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.363245211Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"region":"4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.535922738Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"region":"4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","component":"worker"} {"msg":"region 4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.535969279Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.536112981Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.536615441Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.540038064Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.548675304Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.55170527Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.552446254Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.552523135Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.552569136Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.552607797Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.561375799Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.566339851Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.669805507Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"uri":"/crucible/0/regions","method":"POST","req_id":"68d22d2f-ff9c-48c7-b69a-466fdfdedf6f","remote_addr":"[fd00:1122:3344:101::b]:55339","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.524882627Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:61032"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.52503561Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"uri":"/crucible/0/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","method":"GET","req_id":"71b9e6e0-24fb-4f69-9f3d-779760e7a0c9","remote_addr":"[fd00:1122:3344:101::b]:61032","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":98,"response_code":"200"} {"msg":"path is \"/data/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.525190583Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.536131766Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"datafile"} {"msg":"region 4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.54609151Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.546271563Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.546326964Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"uri":"/crucible/0/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","method":"DELETE","req_id":"3712be62-9ce9-4044-bbfd-095a767aeb94","remote_addr":"[fd00:1122:3344:101::b]:61032","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":21168,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.546466747Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"uri":"/crucible/0/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","method":"GET","req_id":"c0863cf9-109c-4bff-abbc-4a592f52eda8","remote_addr":"[fd00:1122:3344:101::b]:61032","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.547335333Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.552210393Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.563333599Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"region":"4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","component":"worker"} {"msg":"region 4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.625751735Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.681775162Z","hostname":"oxz_crucible_6f34dbd4-5819-4e25-b5af-63132ac727fc","pid":25462,"uri":"/crucible/0/regions/4d95c6f1-ef6b-4b8e-8b78-e86a9f1e84af","method":"GET","req_id":"74bfac33-aca8-453a-afc8-d720a8e6fa25","remote_addr":"[fd00:1122:3344:101::b]:61032","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":92,"response_code":"200"}