[ Nov 20 18:34:15 Enabled. ] [ Nov 20 18:34:15 Rereading configuration. ] [ Nov 20 18:34:16 Rereading configuration. ] [ Nov 20 18:34:17 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=oxControlService22 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService22/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:18.209891278Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:18.211441819Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:18.211451091Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:18.360665304Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.766994902Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:45728"} {"msg":"region 5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.816580027Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.821944048Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.821969419Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"uri":"/crucible/0/regions","method":"POST","req_id":"70064d95-6caa-4dfc-abf6-aadf7a535797","remote_addr":"[fd00:1122:3344:101::b]:45728","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22069,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.832240178Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.832270979Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37\"), 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/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.880885572Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"region":"5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:33.976232289Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"uri":"/crucible/0/regions","method":"POST","req_id":"93aa6e6c-905c-49a2-a50e-52aedf355a08","remote_addr":"[fd00:1122:3344:101::b]:45728","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.086160643Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"region":"5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","component":"worker"} {"msg":"region 5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.086194144Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.086315938Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.08889286Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.093413925Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.107877647Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.111499853Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.114151947Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.11423929Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.114290422Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.114342503Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.126102979Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.132557786Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:34.259482702Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"uri":"/crucible/0/regions","method":"POST","req_id":"a2ccef66-6b5e-4332-ac42-65acbaa050a1","remote_addr":"[fd00:1122:3344:101::b]:45728","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.74162625Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:49500"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.746116623Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"uri":"/crucible/0/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","method":"GET","req_id":"a9d6bd61-3229-44f5-aa28-e409eee45f36","remote_addr":"[fd00:1122:3344:101::b]:49500","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":4456,"response_code":"200"} {"msg":"path is \"/data/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.74819576Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.760026187Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"datafile"} {"msg":"region 5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.769957195Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.770130821Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.770181582Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"uri":"/crucible/0/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","method":"DELETE","req_id":"ce5ec7c3-5662-44f0-bb1a-6b43bc867100","remote_addr":"[fd00:1122:3344:101::b]:49500","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":23939,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.770304116Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"uri":"/crucible/0/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","method":"GET","req_id":"e643b970-a5d8-415c-be2d-a5746c79784e","remote_addr":"[fd00:1122:3344:101::b]:49500","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.773116786Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.78045056Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.792239057Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"region":"5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","component":"worker"} {"msg":"region 5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.843992691Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:38:29.876367676Z","hostname":"oxz_crucible_f8bca242-9a19-4eac-bf1c-8cee00b11a6e","pid":22072,"uri":"/crucible/0/regions/5a43f9b4-c9af-4bad-91d1-4a6bb1ad7c37","method":"GET","req_id":"210249c1-73a1-414e-b9fa-82326631261d","remote_addr":"[fd00:1122:3344:101::b]:49500","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":73,"response_code":"200"}