[ Dec 5 05:08:16 Enabled. ] [ Dec 5 05:08:16 Rereading configuration. ] [ Dec 5 05:08:19 Rereading configuration. ] [ Dec 5 05:08:25 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=oxControlService18 ++ 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::16 ++ 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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService18/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::16]: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-12-05T05:08:26.352723441Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.354271436Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.354285756Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.542669193Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.532852971Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:45164"} {"msg":"region aaa19f59-33b4-4c6d-87c0-7ac3433135f8 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.613268605Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.614561646Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.618849616Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"uri":"/crucible/0/regions","method":"POST","req_id":"4d6ae6a6-c7b7-4b55-b955-f77b2f40f5dd","remote_addr":"[fd00:1122:3344:101::c]:45164","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":19900,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.625634636Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.625649076Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"aaa19f59-33b4-4c6d-87c0-7ac3433135f8\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.689734266Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"region":"aaa19f59-33b4-4c6d-87c0-7ac3433135f8","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.788085602Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"uri":"/crucible/0/regions","method":"POST","req_id":"5c832790-6038-45f2-a3e0-436bde65d272","remote_addr":"[fd00:1122:3344:101::c]:45164","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":96,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.873968055Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"region":"aaa19f59-33b4-4c6d-87c0-7ac3433135f8","component":"worker"} {"msg":"region aaa19f59-33b4-4c6d-87c0-7ac3433135f8 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.874002966Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.874110627Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-aaa19f59-33b4-4c6d-87c0-7ac3433135f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.876518987Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-aaa19f59-33b4-4c6d-87c0-7ac3433135f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.881210272Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.897615949Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-aaa19f59-33b4-4c6d-87c0-7ac3433135f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.901228637Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.907181494Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.909171106Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.909234687Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.909291988Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.913955414Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.920203185Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:31.189149749Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"uri":"/crucible/0/regions","method":"POST","req_id":"1081bab4-4e23-426c-a09c-31d934e50e6b","remote_addr":"[fd00:1122:3344:101::c]:45164","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":104,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.396281802Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:45094"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.396541037Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"uri":"/crucible/0/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8","method":"GET","req_id":"c8d2e06f-7c6d-496c-a3ab-eaec26bf9bb7","remote_addr":"[fd00:1122:3344:101::c]:45094","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":215,"response_code":"200"} {"msg":"path is \"/data/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.39674374Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.407513184Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"datafile"} {"msg":"region aaa19f59-33b4-4c6d-87c0-7ac3433135f8 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.416803995Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.417029369Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.41708353Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"uri":"/crucible/0/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8","method":"DELETE","req_id":"84f2ad93-b7bf-4771-a71c-877b50df5e4e","remote_addr":"[fd00:1122:3344:101::c]:45094","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":20407,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.417271453Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"uri":"/crucible/0/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8","method":"GET","req_id":"e9f06b96-6d1a-478a-9b4e-6ae221097115","remote_addr":"[fd00:1122:3344:101::c]:45094","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-aaa19f59-33b4-4c6d-87c0-7ac3433135f8 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.418069846Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.42511695Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.435268585Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"region":"aaa19f59-33b4-4c6d-87c0-7ac3433135f8","component":"worker"} {"msg":"region aaa19f59-33b4-4c6d-87c0-7ac3433135f8 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.491011419Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.509636292Z","hostname":"oxz_crucible_999a9308-e9f0-490c-939e-e6029f15187c","pid":22220,"uri":"/crucible/0/regions/aaa19f59-33b4-4c6d-87c0-7ac3433135f8","method":"GET","req_id":"2b1165bd-2a46-417a-bb26-3ad743ab700d","remote_addr":"[fd00:1122:3344:101::c]:45094","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":78,"response_code":"200"}