1 | | [ Nov 6 17:16:35 Enabled. ] |
2 | | [ Nov 6 17:16:35 Rereading configuration. ] |
3 | | [ Nov 6 17:16:36 Rereading configuration. ] |
4 | | [ Nov 6 17:16:37 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=oxControlService19 |
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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::13 |
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 | | + [[ oxControlService19 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService19 |
33 | | ipadm: Could not delete oxControlService19: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService19 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 |
38 | | + ipadm show-addr oxControlService19/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService19/ll |
41 | | + ipadm show-addr oxControlService19/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService19/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::13]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-11-06T17:16:38.491Z | INFO | crucible-agent: dataset: "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible"
|
52 | 2023-11-06T17:16:38.492Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::13]:32345
|
53 | 2023-11-06T17:16:38.492Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-11-06T17:16:38.633Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::13]:32345
|
55 | 2023-11-06T17:17:31.699Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::13]:32345
remote_addr = [fd00:1122:3344:101::a]:35705
|
56 | 2023-11-06T17:17:31.783Z | INFO | crucible-agent (datafile): region b572542e-778d-4ea8-90e7-cc2844873070 state: Requested
|
57 | 2023-11-06T17:17:31.793Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
58 | 2023-11-06T17:17:31.793Z | INFO | crucible-agent (dropshot): request completed
latency_us = 23452
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:35705
req_id = fd14cbe8-648d-47eb-bec2-4b5c04788f5a
response_code = 200
uri = /crucible/0/regions
|
59 | 2023-11-06T17:17:31.804Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b572542e-778d-4ea8-90e7-cc2844873070
|
60 | 2023-11-06T17:17:31.804Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b572542e-778d-4ea8-90e7-cc2844873070
|
61 | 2023-11-06T17:17:31.856Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("b572542e-778d-4ea8-90e7-cc2844873070"), 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/b572542e-778d-4ea8-90e7-cc2844873070"
region = b572542e-778d-4ea8-90e7-cc2844873070
|
62 | 2023-11-06T17:17:32.064Z | INFO | crucible-agent (worker): region files created ok
region = b572542e-778d-4ea8-90e7-cc2844873070
|
63 | 2023-11-06T17:17:32.064Z | INFO | crucible-agent (datafile): region b572542e-778d-4ea8-90e7-cc2844873070 state: Requested -> Created
|
64 | 2023-11-06T17:17:32.064Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2023-11-06T17:17:32.069Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-b572542e-778d-4ea8-90e7-cc2844873070
|
66 | 2023-11-06T17:17:32.073Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-b572542e-778d-4ea8-90e7-cc2844873070
|
67 | 2023-11-06T17:17:32.087Z | INFO | crucible-agent (worker): creating config property group
|
68 | 2023-11-06T17:17:32.090Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-b572542e-778d-4ea8-90e7-cc2844873070
|
69 | 2023-11-06T17:17:32.091Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/b572542e-778d-4ea8-90e7-cc2844873070
|
70 | 2023-11-06T17:17:32.091Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
71 | 2023-11-06T17:17:32.091Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13
|
72 | 2023-11-06T17:17:32.091Z | INFO | crucible-agent (worker): commit
|
73 | 2023-11-06T17:17:32.102Z | INFO | crucible-agent (worker): ok!
|
74 | 2023-11-06T17:17:32.112Z | INFO | crucible-agent (worker): SMF ok!
|
75 | 2023-11-06T17:17:32.138Z | INFO | crucible-agent (dropshot): request completed
latency_us = 64
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:35705
req_id = 8192315f-f8a0-41a7-92bb-9aae1cd529a5
response_code = 200
uri = /crucible/0/regions
|
76 | 2023-11-06T17:17:32.416Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::13]:32345
remote_addr = [fd00:1122:3344:101::a]:60488
|
77 | 2023-11-06T17:17:32.479Z | INFO | crucible-agent (dropshot): request completed
latency_us = 91
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:60488
req_id = 9eaa8cba-a3d5-476b-9b98-b45b3f8f9dc6
response_code = 200
uri = /crucible/0/regions/b572542e-778d-4ea8-90e7-cc2844873070
|
78 | 2023-11-06T17:17:32.480Z | INFO | crucible-agent (datafile): path is "/data/regions/b572542e-778d-4ea8-90e7-cc2844873070"
|
79 | 2023-11-06T17:17:32.492Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b572542e-778d-4ea8-90e7-cc2844873070
|
80 | 2023-11-06T17:17:32.501Z | INFO | crucible-agent (datafile): region b572542e-778d-4ea8-90e7-cc2844873070 state: Created -> Tombstoned
|
81 | 2023-11-06T17:17:32.501Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2023-11-06T17:17:32.501Z | INFO | crucible-agent (dropshot): request completed
latency_us = 21737
local_addr = [fd00:1122:3344:101::13]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:60488
req_id = f414e207-b718-4721-8d19-6805651f11e3
response_code = 204
uri = /crucible/0/regions/b572542e-778d-4ea8-90e7-cc2844873070
|
83 | 2023-11-06T17:17:32.501Z | INFO | crucible-agent (dropshot): request completed
latency_us = 29
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:60488
req_id = 9a9c5a6e-75cb-4a6d-b0f3-13c63f657ebd
response_code = 200
uri = /crucible/0/regions/b572542e-778d-4ea8-90e7-cc2844873070
|
84 | 2023-11-06T17:17:32.502Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-b572542e-778d-4ea8-90e7-cc2844873070 (instance states: (Some(Online), None))
|
85 | 2023-11-06T17:17:32.507Z | INFO | crucible-agent (worker): SMF ok!
|
86 | 2023-11-06T17:17:32.519Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b572542e-778d-4ea8-90e7-cc2844873070"
region = b572542e-778d-4ea8-90e7-cc2844873070
|
87 | 2023-11-06T17:17:32.581Z | INFO | crucible-agent (datafile): region b572542e-778d-4ea8-90e7-cc2844873070 state: Tombstoned -> Destroyed
|
88 | 2023-11-06T17:17:32.625Z | INFO | crucible-agent (dropshot): request completed
latency_us = 75
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:60488
req_id = 61818267-d00a-46c0-8cee-f6923d73d401
response_code = 200
uri = /crucible/0/regions/b572542e-778d-4ea8-90e7-cc2844873070
|
89 | 2023-11-06T17:17:34.857Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::13]:32345
remote_addr = [fd00:1122:3344:101::a]:40506
|
90 | 2023-11-06T17:17:34.857Z | INFO | crucible-agent (datafile): region c0631edf-f11a-45e9-8b3f-153f812bcd5e state: Requested
|
91 | 2023-11-06T17:17:34.857Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
92 | 2023-11-06T17:17:34.857Z | INFO | crucible-agent (dropshot): request completed
latency_us = 217
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:40506
req_id = ff98be1b-d91c-4b03-982c-712eb5201cf3
response_code = 200
uri = /crucible/0/regions
|
93 | 2023-11-06T17:17:34.868Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
94 | 2023-11-06T17:17:34.868Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
95 | 2023-11-06T17:17:34.917Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("c0631edf-f11a-45e9-8b3f-153f812bcd5e"), 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/c0631edf-f11a-45e9-8b3f-153f812bcd5e"
region = c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
96 | 2023-11-06T17:17:34.974Z | INFO | crucible-agent (worker): region files created ok
region = c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
97 | 2023-11-06T17:17:34.974Z | INFO | crucible-agent (datafile): region c0631edf-f11a-45e9-8b3f-153f812bcd5e state: Requested -> Created
|
98 | 2023-11-06T17:17:34.974Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
99 | 2023-11-06T17:17:34.975Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
100 | 2023-11-06T17:17:34.978Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
101 | 2023-11-06T17:17:34.985Z | INFO | crucible-agent (worker): creating config property group
|
102 | 2023-11-06T17:17:34.987Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
103 | 2023-11-06T17:17:34.988Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
104 | 2023-11-06T17:17:34.988Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
105 | 2023-11-06T17:17:34.988Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13
|
106 | 2023-11-06T17:17:34.988Z | INFO | crucible-agent (worker): commit
|
107 | 2023-11-06T17:17:34.991Z | INFO | crucible-agent (worker): ok!
|
108 | 2023-11-06T17:17:34.996Z | INFO | crucible-agent (worker): SMF ok!
|
109 | 2023-11-06T17:17:35.166Z | INFO | crucible-agent (dropshot): request completed
latency_us = 81
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:40506
req_id = 78ef5825-6120-4596-a395-4e692610fc28
response_code = 200
uri = /crucible/0/regions
|
110 | 2023-11-06T17:20:24.755Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::13]:32345
remote_addr = [fd00:1122:3344:101::a]:63100
|
111 | 2023-11-06T17:20:24.820Z | INFO | crucible-agent (dropshot): request completed
latency_us = 81
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:63100
req_id = 998a7162-cfbe-4431-b635-337a26ee287c
response_code = 200
uri = /crucible/0/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
112 | 2023-11-06T17:20:24.820Z | INFO | crucible-agent (datafile): path is "/data/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e"
|
113 | 2023-11-06T17:20:24.839Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
114 | 2023-11-06T17:20:24.849Z | INFO | crucible-agent (datafile): region c0631edf-f11a-45e9-8b3f-153f812bcd5e state: Created -> Tombstoned
|
115 | 2023-11-06T17:20:24.850Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
116 | 2023-11-06T17:20:24.850Z | INFO | crucible-agent (dropshot): request completed
latency_us = 29326
local_addr = [fd00:1122:3344:101::13]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:63100
req_id = 8dd63502-763c-44dc-90dd-c5fb53ebdb39
response_code = 204
uri = /crucible/0/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
117 | 2023-11-06T17:20:24.850Z | INFO | crucible-agent (dropshot): request completed
latency_us = 30
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:63100
req_id = a0b339d6-9c41-475b-aae2-b9825683dde0
response_code = 200
uri = /crucible/0/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
118 | 2023-11-06T17:20:24.851Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-c0631edf-f11a-45e9-8b3f-153f812bcd5e (instance states: (Some(Online), None))
|
119 | 2023-11-06T17:20:24.870Z | INFO | crucible-agent (worker): SMF ok!
|
120 | 2023-11-06T17:20:24.882Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e"
region = c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
121 | 2023-11-06T17:20:24.924Z | INFO | crucible-agent (dropshot): request completed
latency_us = 91
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:63100
req_id = ad378146-7969-4812-bf9f-eecf93b4ee22
response_code = 200
uri = /crucible/0/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e
|
122 | 2023-11-06T17:20:24.955Z | INFO | crucible-agent (datafile): region c0631edf-f11a-45e9-8b3f-153f812bcd5e state: Tombstoned -> Destroyed
|
123 | 2023-11-06T17:20:24.992Z | INFO | crucible-agent (dropshot): request completed
latency_us = 30
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:63100
req_id = c8dcfc51-da25-47df-95a5-11b72be9d1b0
response_code = 200
uri = /crucible/0/regions/c0631edf-f11a-45e9-8b3f-153f812bcd5e
|