[ Oct 3 04:37:57 Enabled. ] [ Oct 3 04:37:57 Rereading configuration. ] [ Oct 3 04:38:00 Rereading configuration. ] [ Oct 3 04:38:03 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=oxControlService20 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService20/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:04.512283961Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:04.516477517Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:04.516487847Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:38:04.729555545Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.523019438Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52043"} {"msg":"region 027ea2c0-fe9b-4f7d-962d-8fae1869592c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.556844518Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.5674397Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.569560228Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"uri":"/crucible/0/regions","method":"POST","req_id":"ba3c7a14-f304-4d52-97da-1cc443f48895","remote_addr":"[fd00:1122:3344:101::c]:52043","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":13403,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.576926861Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.576938801Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"027ea2c0-fe9b-4f7d-962d-8fae1869592c\"), 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/027ea2c0-fe9b-4f7d-962d-8fae1869592c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.621522577Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"region":"027ea2c0-fe9b-4f7d-962d-8fae1869592c","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.709506306Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"uri":"/crucible/0/regions","method":"POST","req_id":"a1760ac0-5427-4052-ac99-da9b1faea9ff","remote_addr":"[fd00:1122:3344:101::c]:52043","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.805460249Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"region":"027ea2c0-fe9b-4f7d-962d-8fae1869592c","component":"worker"} {"msg":"region 027ea2c0-fe9b-4f7d-962d-8fae1869592c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.805481479Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.805605041Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-027ea2c0-fe9b-4f7d-962d-8fae1869592c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.816904515Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-027ea2c0-fe9b-4f7d-962d-8fae1869592c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.820854797Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.833018466Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-027ea2c0-fe9b-4f7d-962d-8fae1869592c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.835898558Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.836603921Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.836699663Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.836744444Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.836783754Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.841401048Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:22.846151694Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.117803979Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"uri":"/crucible/0/regions","method":"POST","req_id":"083df936-bb90-4efe-95cf-c1effdcc27d5","remote_addr":"[fd00:1122:3344:101::c]:52043","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.578230675Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:41247"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.640866806Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"uri":"/crucible/0/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c","method":"GET","req_id":"146361c2-d99a-4b78-be2c-470b8e35faa1","remote_addr":"[fd00:1122:3344:101::c]:41247","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":204,"response_code":"200"} {"msg":"path is \"/data/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.641128031Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.652974994Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"datafile"} {"msg":"region 027ea2c0-fe9b-4f7d-962d-8fae1869592c state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.662637999Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.662779111Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.662834063Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"uri":"/crucible/0/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c","method":"DELETE","req_id":"727037de-a7ad-4bde-814b-e55ada333316","remote_addr":"[fd00:1122:3344:101::c]:41247","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":21738,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.665653763Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"uri":"/crucible/0/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c","method":"GET","req_id":"6870df47-f414-40c1-af30-de389fa8eee4","remote_addr":"[fd00:1122:3344:101::c]:41247","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":449,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-027ea2c0-fe9b-4f7d-962d-8fae1869592c","v":0,"name":"crucible-agent","level":50,"time":"2023-10-03T04:39:23.673050657Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.67375446Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.678633268Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.689993353Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"region":"027ea2c0-fe9b-4f7d-962d-8fae1869592c","component":"worker"} {"msg":"region 027ea2c0-fe9b-4f7d-962d-8fae1869592c state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.746814279Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-03T04:39:23.80111411Z","hostname":"oxz_crucible_684c89f6-5362-4a53-a350-e2ffe2ac7b79","pid":21740,"uri":"/crucible/0/regions/027ea2c0-fe9b-4f7d-962d-8fae1869592c","method":"GET","req_id":"b5d78a1d-ba7a-4111-96a1-0880a87d8ebf","remote_addr":"[fd00:1122:3344:101::c]:41247","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":89,"response_code":"200"}