[ Oct 22 04:53:51 Enabled. ] [ Oct 22 04:53:51 Rereading configuration. ] [ Oct 22 04:53:55 Rereading configuration. ] [ Oct 22 04:54:01 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=oxControlService14 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ 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 + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService14/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.473201071Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.47658185Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.47659013Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.689632741Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.350747329Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:36723"} {"msg":"region 6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.375622998Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.379161539Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.37917869Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"uri":"/crucible/0/regions","method":"POST","req_id":"1fc10af8-26ab-4c48-ba50-8e46c5654312","remote_addr":"[fd00:1122:3344:101::b]:36723","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":11711,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.388817402Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.388838362Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b\"), 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/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.429539256Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"region":"6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.566063956Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"uri":"/crucible/0/regions","method":"POST","req_id":"1d31daee-a912-4ef4-81fe-733e4691f40c","remote_addr":"[fd00:1122:3344:101::b]:36723","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.593697097Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"region":"6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","component":"worker"} {"msg":"region 6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.593715578Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.593842069Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.596202597Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.600978442Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.617376983Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.622479593Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.623215041Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.623291612Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.623338003Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.623383443Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.628327971Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:58.642488266Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.281685988Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"uri":"/crucible/0/regions","method":"POST","req_id":"d5bea2ad-6de3-461c-a853-1c9b8bd9cfa2","remote_addr":"[fd00:1122:3344:101::b]:36723","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":117,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.60643066Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:33439"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.637341609Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"uri":"/crucible/0/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","method":"GET","req_id":"7b1b42c3-7173-410c-af8e-cc0409e973c4","remote_addr":"[fd00:1122:3344:101::b]:33439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"path is \"/data/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.639904389Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.651538065Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"datafile"} {"msg":"region 6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.660994195Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.661139787Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.661204927Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"uri":"/crucible/0/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","method":"DELETE","req_id":"ac2717a3-4b36-4a16-913e-8486c555b1f9","remote_addr":"[fd00:1122:3344:101::b]:33439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":21326,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.661333489Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"uri":"/crucible/0/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","method":"GET","req_id":"272aadc9-e2a2-4742-80e1-0565ab1ffd63","remote_addr":"[fd00:1122:3344:101::b]:33439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.662228149Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.66750272Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.678972413Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"region":"6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","component":"worker"} {"msg":"region 6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.741535622Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:59.78512752Z","hostname":"oxz_crucible_e2dda4d5-c0f5-4fec-b847-65a52b990635","pid":22271,"uri":"/crucible/0/regions/6d727cd4-75fa-4c50-9d8f-d6ab3c8f381b","method":"GET","req_id":"9b5f4f34-8cf6-418e-a50d-a6b1e08f371a","remote_addr":"[fd00:1122:3344:101::b]:33439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":81,"response_code":"200"}