1 | | [ Oct 25 07:31:06 Enabled. ] |
2 | | [ Oct 25 07:31:06 Rereading configuration. ] |
3 | | [ Oct 25 07:31:08 Rereading configuration. ] |
4 | | [ Oct 25 07:31:09 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ] |
5 | | + . /lib/svc/share/smf_include.sh |
6 | | ++ SMF_EXIT_OK=0 |
7 | | ++ SMF_EXIT_NODAEMON=94 |
8 | | ++ SMF_EXIT_ERR_FATAL=95 |
9 | | ++ SMF_EXIT_ERR_CONFIG=96 |
10 | | ++ SMF_EXIT_MON_DEGRADE=97 |
11 | | ++ SMF_EXIT_MON_OFFLINE=98 |
12 | | ++ SMF_EXIT_ERR_NOSMF=99 |
13 | | ++ SMF_EXIT_ERR_PERM=100 |
14 | | ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default |
15 | | + DATALINK=oxControlService14 |
16 | | ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default |
17 | | + GATEWAY=fd00:1122:3344:101::1 |
18 | | ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default |
19 | | + DATASET=oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::16 |
22 | | ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default |
23 | | + LISTEN_PORT=32345 |
24 | | ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default |
25 | | + PORTBASE=19000 |
26 | | ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default |
27 | | + DOWNSTAIRS_PREFIX=downstairs |
28 | | ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default |
29 | | + SNAPSHOT_PREFIX=snapshot |
30 | | + [[ oxControlService14 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService14 |
33 | | ipadm: Could not delete oxControlService14: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService14 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 |
38 | | + ipadm show-addr oxControlService14/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService14/ll |
41 | | + ipadm show-addr oxControlService14/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService14/omicron6 |
44 | | + route get -inet6 default -inet6 fd00:1122:3344:101::1 |
45 | | default: not in table |
46 | | + route add -inet6 default -inet6 fd00:1122:3344:101::1 |
47 | | add net default: gateway fd00:1122:3344:101::1 |
48 | | + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX") |
49 | | + 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::16]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-10-25T07:31:10.714Z | INFO | crucible-agent: dataset: "oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2023-10-25T07:31:10.720Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::16]:32345
|
53 | 2023-10-25T07:31:10.720Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-10-25T07:31:10.882Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::16]:32345
|
55 | 2023-10-25T07:32:27.496Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::c]:52477
|
56 | 2023-10-25T07:32:27.528Z | INFO | crucible-agent (datafile): region 0f16a3a7-9149-406f-b21a-c7c1ba207374 state: Requested
|
57 | 2023-10-25T07:32:27.533Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
58 | 2023-10-25T07:32:27.533Z | INFO | crucible-agent (dropshot): request completed
latency_us = 5164
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:52477
req_id = 702b5691-67bf-4561-b35d-97df99f01b76
response_code = 200
uri = /crucible/0/regions
|
59 | 2023-10-25T07:32:27.543Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374
|
60 | 2023-10-25T07:32:27.543Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374
|
61 | 2023-10-25T07:32:27.604Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("0f16a3a7-9149-406f-b21a-c7c1ba207374"), 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/0f16a3a7-9149-406f-b21a-c7c1ba207374"
region = 0f16a3a7-9149-406f-b21a-c7c1ba207374
|
62 | 2023-10-25T07:32:27.862Z | INFO | crucible-agent (worker): region files created ok
region = 0f16a3a7-9149-406f-b21a-c7c1ba207374
|
63 | 2023-10-25T07:32:27.862Z | INFO | crucible-agent (datafile): region 0f16a3a7-9149-406f-b21a-c7c1ba207374 state: Requested -> Created
|
64 | 2023-10-25T07:32:27.862Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2023-10-25T07:32:27.864Z | INFO | crucible-agent (dropshot): request completed
latency_us = 81
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:52477
req_id = b6010fcd-29d0-44e1-b295-a545f30adb0d
response_code = 200
uri = /crucible/0/regions
|
66 | 2023-10-25T07:32:27.865Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-0f16a3a7-9149-406f-b21a-c7c1ba207374
|
67 | 2023-10-25T07:32:27.868Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-0f16a3a7-9149-406f-b21a-c7c1ba207374
|
68 | 2023-10-25T07:32:27.876Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-10-25T07:32:27.879Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-0f16a3a7-9149-406f-b21a-c7c1ba207374
|
70 | 2023-10-25T07:32:27.880Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374
|
71 | 2023-10-25T07:32:27.880Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-10-25T07:32:27.880Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
|
73 | 2023-10-25T07:32:27.880Z | INFO | crucible-agent (worker): commit
|
74 | 2023-10-25T07:32:27.890Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-10-25T07:32:27.894Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-10-25T07:35:18.305Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::c]:40692
|
77 | 2023-10-25T07:35:18.336Z | INFO | crucible-agent (dropshot): request completed
latency_us = 133
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40692
req_id = 0b8e1144-f273-47ab-ae52-a248528ec550
response_code = 200
uri = /crucible/0/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374
|
78 | 2023-10-25T07:35:18.337Z | INFO | crucible-agent (datafile): path is "/data/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374"
|
79 | 2023-10-25T07:35:18.350Z | INFO | crucible-agent (datafile): dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374
|
80 | 2023-10-25T07:35:18.361Z | INFO | crucible-agent (datafile): region 0f16a3a7-9149-406f-b21a-c7c1ba207374 state: Created -> Tombstoned
|
81 | 2023-10-25T07:35:18.361Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2023-10-25T07:35:18.361Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24581
local_addr = [fd00:1122:3344:101::16]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::c]:40692
req_id = a553c16d-99e9-4cb8-802c-146a6981869a
response_code = 204
uri = /crucible/0/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374
|
83 | 2023-10-25T07:35:18.361Z | INFO | crucible-agent (dropshot): request completed
latency_us = 30
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40692
req_id = da125e6c-03cd-4afd-80e8-ec06764e52f6
response_code = 200
uri = /crucible/0/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374
|
84 | 2023-10-25T07:35:18.362Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-0f16a3a7-9149-406f-b21a-c7c1ba207374 (instance states: (Some(Online), None))
|
85 | 2023-10-25T07:35:18.370Z | INFO | crucible-agent (worker): SMF ok!
|
86 | 2023-10-25T07:35:18.383Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374"
region = 0f16a3a7-9149-406f-b21a-c7c1ba207374
|
87 | 2023-10-25T07:35:18.438Z | INFO | crucible-agent (datafile): region 0f16a3a7-9149-406f-b21a-c7c1ba207374 state: Tombstoned -> Destroyed
|
88 | 2023-10-25T07:35:18.457Z | INFO | crucible-agent (dropshot): request completed
latency_us = 77
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40692
req_id = 21218978-a5a9-41ce-b0c5-577f8c41878a
response_code = 200
uri = /crucible/0/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374
|