[ Jan 19 06:57:13 Enabled. ] [ Jan 19 06:57:13 Rereading configuration. ] [ Jan 19 06:57:14 Rereading configuration. ] [ Jan 19 06:57:16 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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::1a 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:57:16.720751058Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:57:16.722281805Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:57:16.722296366Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:57:16.861096708Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.202986965Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:55868"} {"msg":"region d57e79b1-c451-448d-9f40-d230fec81ef7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.231623199Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.232999675Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.236313242Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"uri":"/crucible/0/regions","method":"POST","req_id":"f88aeb3b-4c2b-49b1-b5e1-d887cc94bd2a","remote_addr":"[fd00:1122:3344:101::a]:55868","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":17866,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d57e79b1-c451-448d-9f40-d230fec81ef7","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.244147051Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d57e79b1-c451-448d-9f40-d230fec81ef7","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.244163291Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"d57e79b1-c451-448d-9f40-d230fec81ef7\"), 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/d57e79b1-c451-448d-9f40-d230fec81ef7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.292712221Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"region":"d57e79b1-c451-448d-9f40-d230fec81ef7","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.411881991Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"region":"d57e79b1-c451-448d-9f40-d230fec81ef7","component":"worker"} {"msg":"region d57e79b1-c451-448d-9f40-d230fec81ef7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.411928202Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.412019073Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-d57e79b1-c451-448d-9f40-d230fec81ef7","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.41443969Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-d57e79b1-c451-448d-9f40-d230fec81ef7","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.418600067Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.4303262Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-d57e79b1-c451-448d-9f40-d230fec81ef7","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.433279053Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/d57e79b1-c451-448d-9f40-d230fec81ef7","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.434044402Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.436429869Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.43648313Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.43653153Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.444640352Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.449035322Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.525084773Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"uri":"/crucible/0/regions","method":"POST","req_id":"b27194a2-3e74-412f-82e0-44759c8802d5","remote_addr":"[fd00:1122:3344:101::a]:55868","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.49234145Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:50383"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.492439461Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"uri":"/crucible/0/regions/d57e79b1-c451-448d-9f40-d230fec81ef7","method":"GET","req_id":"aad3e5fc-0e2d-40f2-be65-940a837fc0a4","remote_addr":"[fd00:1122:3344:101::a]:50383","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"path is \"/data/regions/d57e79b1-c451-448d-9f40-d230fec81ef7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.492590583Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d57e79b1-c451-448d-9f40-d230fec81ef7","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.502704288Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"datafile"} {"msg":"region d57e79b1-c451-448d-9f40-d230fec81ef7 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.511778181Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.511970173Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.512056513Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"uri":"/crucible/0/regions/d57e79b1-c451-448d-9f40-d230fec81ef7","method":"DELETE","req_id":"bc451b0d-b9b2-479f-8bb8-d622985aefe7","remote_addr":"[fd00:1122:3344:101::a]:50383","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":19491,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.512225595Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"uri":"/crucible/0/regions/d57e79b1-c451-448d-9f40-d230fec81ef7","method":"GET","req_id":"d35db0ef-04ef-446e-b4ae-0dcac341a7c9","remote_addr":"[fd00:1122:3344:101::a]:50383","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":19,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-d57e79b1-c451-448d-9f40-d230fec81ef7 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.513291907Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.516943259Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d57e79b1-c451-448d-9f40-d230fec81ef7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.526126023Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"region":"d57e79b1-c451-448d-9f40-d230fec81ef7","component":"worker"} {"msg":"region d57e79b1-c451-448d-9f40-d230fec81ef7 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.577480335Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.609606589Z","hostname":"oxz_crucible_f8c70014-26f6-40d0-b3c7-1c84106a6c48","pid":20596,"uri":"/crucible/0/regions/d57e79b1-c451-448d-9f40-d230fec81ef7","method":"GET","req_id":"4ba33b0e-ccf2-411e-877e-596cb3a17f9d","remote_addr":"[fd00:1122:3344:101::a]:50383","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":78,"response_code":"200"}