1 | | [ Oct 3 04:37:55 Enabled. ] |
2 | | [ Oct 3 04:37:55 Rereading configuration. ] |
3 | | [ Oct 3 04:38:00 Rereading configuration. ] |
4 | | [ Oct 3 04:38:03 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=oxControlService22 |
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::1a |
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 | | + [[ oxControlService22 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService22 |
33 | | ipadm: Could not delete oxControlService22: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService22 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 |
38 | | + ipadm show-addr oxControlService22/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService22/ll |
41 | | + ipadm show-addr oxControlService22/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService22/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::1a]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-10-03T04:38:04.482Z | INFO | crucible-agent: dataset: "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible"
|
52 | 2023-10-03T04:38:04.486Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::1a]:32345
|
53 | 2023-10-03T04:38:04.486Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-10-03T04:38:04.671Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::1a]:32345
|
55 | 2023-10-03T04:39:22.492Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::1a]:32345
remote_addr = [fd00:1122:3344:101::c]:55945
|
56 | 2023-10-03T04:39:22.556Z | INFO | crucible-agent (datafile): region e735b68f-b611-4ac4-932b-59c2289df996 state: Requested
|
57 | 2023-10-03T04:39:22.562Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
58 | 2023-10-03T04:39:22.564Z | INFO | crucible-agent (dropshot): request completed
latency_us = 6413
local_addr = [fd00:1122:3344:101::1a]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:55945
req_id = 9e55d2b6-c797-4ef2-a589-4ca4575fd1cc
response_code = 200
uri = /crucible/0/regions
|
59 | 2023-10-03T04:39:22.572Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e735b68f-b611-4ac4-932b-59c2289df996
|
60 | 2023-10-03T04:39:22.572Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e735b68f-b611-4ac4-932b-59c2289df996
|
61 | 2023-10-03T04:39:22.624Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("e735b68f-b611-4ac4-932b-59c2289df996"), 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/e735b68f-b611-4ac4-932b-59c2289df996"
region = e735b68f-b611-4ac4-932b-59c2289df996
|
62 | 2023-10-03T04:39:22.796Z | INFO | crucible-agent (dropshot): request completed
latency_us = 87
local_addr = [fd00:1122:3344:101::1a]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:55945
req_id = 7c47192d-7208-43b1-8c9e-da1d44fa7381
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-10-03T04:39:22.804Z | INFO | crucible-agent (worker): region files created ok
region = e735b68f-b611-4ac4-932b-59c2289df996
|
64 | 2023-10-03T04:39:22.804Z | INFO | crucible-agent (datafile): region e735b68f-b611-4ac4-932b-59c2289df996 state: Requested -> Created
|
65 | 2023-10-03T04:39:22.804Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-10-03T04:39:22.816Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-e735b68f-b611-4ac4-932b-59c2289df996
|
67 | 2023-10-03T04:39:22.819Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-e735b68f-b611-4ac4-932b-59c2289df996
|
68 | 2023-10-03T04:39:22.830Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-10-03T04:39:22.833Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-e735b68f-b611-4ac4-932b-59c2289df996
|
70 | 2023-10-03T04:39:22.834Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/e735b68f-b611-4ac4-932b-59c2289df996
|
71 | 2023-10-03T04:39:22.834Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-10-03T04:39:22.834Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a
|
73 | 2023-10-03T04:39:22.834Z | INFO | crucible-agent (worker): commit
|
74 | 2023-10-03T04:39:22.838Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-10-03T04:39:22.844Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-10-03T04:39:23.309Z | INFO | crucible-agent (dropshot): request completed
latency_us = 104
local_addr = [fd00:1122:3344:101::1a]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:55945
req_id = f0c9f981-34f2-481a-94db-88231a4aa65a
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-10-03T04:39:23.640Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::1a]:32345
remote_addr = [fd00:1122:3344:101::c]:50109
|
78 | 2023-10-03T04:39:23.640Z | INFO | crucible-agent (dropshot): request completed
latency_us = 206
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:50109
req_id = 4e389af9-f1e9-4326-9be2-9ad9ec503ac9
response_code = 200
uri = /crucible/0/regions/e735b68f-b611-4ac4-932b-59c2289df996
|
79 | 2023-10-03T04:39:23.641Z | INFO | crucible-agent (datafile): path is "/data/regions/e735b68f-b611-4ac4-932b-59c2289df996"
|
80 | 2023-10-03T04:39:23.652Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e735b68f-b611-4ac4-932b-59c2289df996
|
81 | 2023-10-03T04:39:23.661Z | INFO | crucible-agent (datafile): region e735b68f-b611-4ac4-932b-59c2289df996 state: Created -> Tombstoned
|
82 | 2023-10-03T04:39:23.661Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
83 | 2023-10-03T04:39:23.661Z | INFO | crucible-agent (dropshot): request completed
latency_us = 20512
local_addr = [fd00:1122:3344:101::1a]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::c]:50109
req_id = d2e04772-8ea9-4473-beed-9d46f2f59b4d
response_code = 204
uri = /crucible/0/regions/e735b68f-b611-4ac4-932b-59c2289df996
|
84 | 2023-10-03T04:39:23.664Z | INFO | crucible-agent (dropshot): request completed
latency_us = 422
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:50109
req_id = 565e3300-3bbb-4f07-8969-1b96499e4e56
response_code = 200
uri = /crucible/0/regions/e735b68f-b611-4ac4-932b-59c2289df996
|
85 | 2023-10-03T04:39:23.671Z | ERRO | crucible-agent (worker): remove downstairs instance: downstairs-e735b68f-b611-4ac4-932b-59c2289df996
|
86 | 2023-10-03T04:39:23.672Z | INFO | crucible-agent (worker): instance states: (Some(Online), None)
|
87 | 2023-10-03T04:39:23.677Z | INFO | crucible-agent (worker): SMF ok!
|
88 | 2023-10-03T04:39:23.688Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e735b68f-b611-4ac4-932b-59c2289df996"
region = e735b68f-b611-4ac4-932b-59c2289df996
|
89 | 2023-10-03T04:39:23.746Z | INFO | crucible-agent (datafile): region e735b68f-b611-4ac4-932b-59c2289df996 state: Tombstoned -> Destroyed
|
90 | 2023-10-03T04:39:23.754Z | INFO | crucible-agent (dropshot): request completed
latency_us = 85
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:50109
req_id = 52a50616-287c-4f3a-b42a-7102608fcffd
response_code = 200
uri = /crucible/0/regions/e735b68f-b611-4ac4-932b-59c2289df996
|
91 | 2023-10-03T04:39:26.037Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::1a]:32345
remote_addr = [fd00:1122:3344:101::c]:57399
|
92 | 2023-10-03T04:39:26.068Z | INFO | crucible-agent (datafile): region b5fa758a-6915-453f-8128-8814d99e7574 state: Requested
|
93 | 2023-10-03T04:39:26.068Z | INFO | crucible-agent (dropshot): request completed
latency_us = 231
local_addr = [fd00:1122:3344:101::1a]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:57399
req_id = 63f3e67f-14e3-421e-851e-b23c62167cc0
response_code = 200
uri = /crucible/0/regions
|
94 | 2023-10-03T04:39:26.068Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
95 | 2023-10-03T04:39:26.077Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b5fa758a-6915-453f-8128-8814d99e7574
|
96 | 2023-10-03T04:39:26.077Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b5fa758a-6915-453f-8128-8814d99e7574
|
97 | 2023-10-03T04:39:26.128Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("b5fa758a-6915-453f-8128-8814d99e7574"), 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/b5fa758a-6915-453f-8128-8814d99e7574"
region = b5fa758a-6915-453f-8128-8814d99e7574
|
98 | 2023-10-03T04:39:26.185Z | INFO | crucible-agent (worker): region files created ok
region = b5fa758a-6915-453f-8128-8814d99e7574
|
99 | 2023-10-03T04:39:26.185Z | INFO | crucible-agent (datafile): region b5fa758a-6915-453f-8128-8814d99e7574 state: Requested -> Created
|
100 | 2023-10-03T04:39:26.185Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
101 | 2023-10-03T04:39:26.194Z | ERRO | crucible-agent (worker): remove downstairs instance: downstairs-e735b68f-b611-4ac4-932b-59c2289df996
|
102 | 2023-10-03T04:39:26.195Z | INFO | crucible-agent (worker): instance states: (Some(Disabled), None)
|
103 | 2023-10-03T04:39:26.195Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-b5fa758a-6915-453f-8128-8814d99e7574
|
104 | 2023-10-03T04:39:26.198Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-b5fa758a-6915-453f-8128-8814d99e7574
|
105 | 2023-10-03T04:39:26.206Z | INFO | crucible-agent (worker): creating config property group
|
106 | 2023-10-03T04:39:26.209Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-b5fa758a-6915-453f-8128-8814d99e7574
|
107 | 2023-10-03T04:39:26.210Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/b5fa758a-6915-453f-8128-8814d99e7574
|
108 | 2023-10-03T04:39:26.210Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
109 | 2023-10-03T04:39:26.210Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a
|
110 | 2023-10-03T04:39:26.210Z | INFO | crucible-agent (worker): commit
|
111 | 2023-10-03T04:39:26.232Z | INFO | crucible-agent (worker): ok!
|
112 | 2023-10-03T04:39:26.243Z | INFO | crucible-agent (worker): SMF ok!
|
113 | 2023-10-03T04:39:26.315Z | INFO | crucible-agent (dropshot): request completed
latency_us = 77
local_addr = [fd00:1122:3344:101::1a]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:57399
req_id = 80531635-da54-4287-b6b8-0a2e1a42d749
response_code = 200
uri = /crucible/0/regions
|
114 | 2023-10-03T04:42:19.195Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::1a]:32345
remote_addr = [fd00:1122:3344:101::c]:43242
|
115 | 2023-10-03T04:42:19.195Z | INFO | crucible-agent (dropshot): request completed
latency_us = 62
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:43242
req_id = 48ff3e01-edd2-4df2-ba2c-27114acc3777
response_code = 200
uri = /crucible/0/regions/b5fa758a-6915-453f-8128-8814d99e7574
|
116 | 2023-10-03T04:42:19.196Z | INFO | crucible-agent (datafile): path is "/data/regions/b5fa758a-6915-453f-8128-8814d99e7574"
|
117 | 2023-10-03T04:42:19.207Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b5fa758a-6915-453f-8128-8814d99e7574
|
118 | 2023-10-03T04:42:19.216Z | INFO | crucible-agent (datafile): region b5fa758a-6915-453f-8128-8814d99e7574 state: Created -> Tombstoned
|
119 | 2023-10-03T04:42:19.216Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
120 | 2023-10-03T04:42:19.216Z | INFO | crucible-agent (dropshot): request completed
latency_us = 20969
local_addr = [fd00:1122:3344:101::1a]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::c]:43242
req_id = 2ed32f00-d08c-4460-9738-dbf1a8e176b3
response_code = 204
uri = /crucible/0/regions/b5fa758a-6915-453f-8128-8814d99e7574
|
121 | 2023-10-03T04:42:19.219Z | INFO | crucible-agent (dropshot): request completed
latency_us = 470
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:43242
req_id = 4abbce5f-9f1d-45d1-bbc9-a64a480b8354
response_code = 200
uri = /crucible/0/regions/b5fa758a-6915-453f-8128-8814d99e7574
|
122 | 2023-10-03T04:42:19.226Z | ERRO | crucible-agent (worker): remove downstairs instance: downstairs-e735b68f-b611-4ac4-932b-59c2289df996
|
123 | 2023-10-03T04:42:19.227Z | INFO | crucible-agent (worker): instance states: (Some(Disabled), None)
|
124 | 2023-10-03T04:42:19.227Z | ERRO | crucible-agent (worker): remove downstairs instance: downstairs-b5fa758a-6915-453f-8128-8814d99e7574
|
125 | 2023-10-03T04:42:19.228Z | INFO | crucible-agent (worker): instance states: (Some(Online), None)
|
126 | 2023-10-03T04:42:19.237Z | INFO | crucible-agent (worker): SMF ok!
|
127 | 2023-10-03T04:42:19.249Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b5fa758a-6915-453f-8128-8814d99e7574"
region = b5fa758a-6915-453f-8128-8814d99e7574
|
128 | 2023-10-03T04:42:19.303Z | INFO | crucible-agent (datafile): region b5fa758a-6915-453f-8128-8814d99e7574 state: Tombstoned -> Destroyed
|
129 | 2023-10-03T04:42:19.337Z | INFO | crucible-agent (dropshot): request completed
latency_us = 73
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:43242
req_id = 9c11ba2d-8a2b-4ab0-bbca-da40c8825192
response_code = 200
uri = /crucible/0/regions/b5fa758a-6915-453f-8128-8814d99e7574
|