[ Nov 20 18:34:11 Enabled. ] [ Nov 20 18:34:11 Rereading configuration. ] [ Nov 20 18:34:12 Rereading configuration. ] [ Nov 20 18:34:13 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_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 + [[ 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::1a 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_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":"2023-11-20T18:34:14.385204963Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.390995155Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.391008562Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.555214237Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.228753443Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:57526"} {"msg":"region 94057796-fc49-4861-8686-584325da7b18 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.262241893Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.273906026Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.273944107Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"uri":"/crucible/0/regions","method":"POST","req_id":"e53be4bf-fb66-4cee-a084-00baef126bab","remote_addr":"[fd00:1122:3344:101::b]:57526","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":30545,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/94057796-fc49-4861-8686-584325da7b18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.286706425Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/94057796-fc49-4861-8686-584325da7b18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.286734056Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"94057796-fc49-4861-8686-584325da7b18\"), 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/94057796-fc49-4861-8686-584325da7b18\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.337216249Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"region":"94057796-fc49-4861-8686-584325da7b18","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.429628743Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"uri":"/crucible/0/regions","method":"POST","req_id":"2ad8220f-9949-48c2-aca8-004f8b0fccb1","remote_addr":"[fd00:1122:3344:101::b]:57526","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.590870726Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"region":"94057796-fc49-4861-8686-584325da7b18","component":"worker"} {"msg":"region 94057796-fc49-4861-8686-584325da7b18 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.590914537Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.591033751Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-94057796-fc49-4861-8686-584325da7b18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.594598685Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-94057796-fc49-4861-8686-584325da7b18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.598039134Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.617516077Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-94057796-fc49-4861-8686-584325da7b18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.620562584Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/94057796-fc49-4861-8686-584325da7b18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.62137299Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.621452183Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.621498224Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.621538546Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.638768456Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.646776822Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.853361595Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"uri":"/crucible/0/regions","method":"POST","req_id":"7f0bcd8c-1a1d-4d6b-8e86-f78b8e5f31ca","remote_addr":"[fd00:1122:3344:101::b]:57526","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":122,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.434175137Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:49712"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.434324602Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"uri":"/crucible/0/regions/94057796-fc49-4861-8686-584325da7b18","method":"GET","req_id":"6c2deeed-ccfd-4e6f-a623-d704f4ad9289","remote_addr":"[fd00:1122:3344:101::b]:49712","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"path is \"/data/regions/94057796-fc49-4861-8686-584325da7b18\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.435051515Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/94057796-fc49-4861-8686-584325da7b18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.447819394Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"datafile"} {"msg":"region 94057796-fc49-4861-8686-584325da7b18 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.458177925Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.458317979Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.458370631Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"uri":"/crucible/0/regions/94057796-fc49-4861-8686-584325da7b18","method":"DELETE","req_id":"3363a645-0ed7-4093-9263-b3ce94ebcc7c","remote_addr":"[fd00:1122:3344:101::b]:49712","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":23361,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.458490224Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"uri":"/crucible/0/regions/94057796-fc49-4861-8686-584325da7b18","method":"GET","req_id":"892e143f-2175-4f37-b378-224b4bfcce28","remote_addr":"[fd00:1122:3344:101::b]:49712","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-94057796-fc49-4861-8686-584325da7b18 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.459407784Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.463431193Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/94057796-fc49-4861-8686-584325da7b18\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.474596559Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"region":"94057796-fc49-4861-8686-584325da7b18","component":"worker"} {"msg":"region 94057796-fc49-4861-8686-584325da7b18 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.528297406Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.58571023Z","hostname":"oxz_crucible_73bcf5c2-0985-4958-8f6f-dbbbaabe6a83","pid":20072,"uri":"/crucible/0/regions/94057796-fc49-4861-8686-584325da7b18","method":"GET","req_id":"67c9f7da-beb5-442b-b986-c1d8dabcd992","remote_addr":"[fd00:1122:3344:101::b]:49712","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":82,"response_code":"200"}