1 | | [ Dec 19 23:01:57 Enabled. ] |
2 | | [ Dec 19 23:01:57 Rereading configuration. ] |
3 | | [ Dec 19 23:02:00 Rereading configuration. ] |
4 | | [ Dec 19 23:02:06 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::12 |
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::12 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-12-19T23:02:07.281Z | INFO | crucible-agent: dataset: "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2023-12-19T23:02:07.283Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::12]:32345
|
53 | 2023-12-19T23:02:07.283Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-12-19T23:02:07.612Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::12]:32345
|
55 | 2023-12-19T23:03:48.917Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:64784
|
56 | 2023-12-19T23:03:48.952Z | INFO | crucible-agent (datafile): region 6d063c65-4c9c-46ab-bb56-111af27dd7b1 state: Requested
|
57 | 2023-12-19T23:03:48.955Z | INFO | crucible-agent (dropshot): request completed
latency_us = 17623
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:64784
req_id = d697540c-1d72-4c9a-bf23-32ea24cd5054
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-12-19T23:03:48.955Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
59 | 2023-12-19T23:03:48.963Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
60 | 2023-12-19T23:03:48.963Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
61 | 2023-12-19T23:03:49.008Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("6d063c65-4c9c-46ab-bb56-111af27dd7b1"), 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/6d063c65-4c9c-46ab-bb56-111af27dd7b1"
region = 6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
62 | 2023-12-19T23:03:49.095Z | INFO | crucible-agent (dropshot): request completed
latency_us = 91
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:64784
req_id = 8b67c365-35a0-4320-9208-6f30095eff6c
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-12-19T23:03:49.315Z | INFO | crucible-agent (worker): region files created ok
region = 6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
64 | 2023-12-19T23:03:49.315Z | INFO | crucible-agent (datafile): region 6d063c65-4c9c-46ab-bb56-111af27dd7b1 state: Requested -> Created
|
65 | 2023-12-19T23:03:49.315Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-12-19T23:03:49.318Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
67 | 2023-12-19T23:03:49.323Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
68 | 2023-12-19T23:03:49.342Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-12-19T23:03:49.345Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
70 | 2023-12-19T23:03:49.345Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
71 | 2023-12-19T23:03:49.345Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-12-19T23:03:49.345Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
73 | 2023-12-19T23:03:49.345Z | INFO | crucible-agent (worker): commit
|
74 | 2023-12-19T23:03:49.350Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-12-19T23:03:49.359Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-12-19T23:03:49.696Z | INFO | crucible-agent (dropshot): request completed
latency_us = 101
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:64784
req_id = 8aa3a32e-ea69-48fb-af97-3c36d6b72a96
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-12-19T23:09:16.107Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:39070
|
78 | 2023-12-19T23:09:16.110Z | INFO | crucible-agent (dropshot): request completed
latency_us = 2655
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:39070
req_id = 78ced2b8-c90c-4dc0-9d20-6a0446decc43
response_code = 200
uri = /crucible/0/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
79 | 2023-12-19T23:09:16.110Z | INFO | crucible-agent (datafile): path is "/data/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1"
|
80 | 2023-12-19T23:09:16.119Z | INFO | crucible-agent (datafile): dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
81 | 2023-12-19T23:09:16.129Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1@f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
82 | 2023-12-19T23:09:16.129Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1", "f52bac84-3c6e-4589-a377-3af5b7e2cbc8"]
|
83 | 2023-12-19T23:09:16.143Z | INFO | crucible-agent (dropshot): request completed
latency_us = 33343
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:39070
req_id = f93fe5d3-d6c2-4477-846f-ce62ae861c1a
response_code = 200
uri = /crucible/0/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1/snapshots/f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
84 | 2023-12-19T23:09:16.144Z | INFO | crucible-agent (datafile): path is "/data/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1"
|
85 | 2023-12-19T23:09:16.153Z | INFO | crucible-agent (datafile): dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1
|
86 | 2023-12-19T23:09:16.162Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1@f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
87 | 2023-12-19T23:09:16.162Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1", "f52bac84-3c6e-4589-a377-3af5b7e2cbc8"]
|
88 | 2023-12-19T23:09:16.172Z | INFO | crucible-agent (datafile): requesting running snapshot 6d063c65-4c9c-46ab-bb56-111af27dd7b1-f52bac84-3c6e-4589-a377-3af5b7e2cbc8 state: Requested
|
89 | 2023-12-19T23:09:16.172Z | INFO | crucible-agent (worker): applying SMF actions for region 6d063c65-4c9c-46ab-bb56-111af27dd7b1 running snapshot f52bac84-3c6e-4589-a377-3af5b7e2cbc8 (state Requested)...
|
90 | 2023-12-19T23:09:16.172Z | INFO | crucible-agent (dropshot): request completed
latency_us = 28665
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:39070
req_id = b479a049-7da5-4a37-ae35-938f222e8364
response_code = 200
uri = /crucible/0/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1/snapshots/f52bac84-3c6e-4589-a377-3af5b7e2cbc8/run
|
91 | 2023-12-19T23:09:16.181Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-6d063c65-4c9c-46ab-bb56-111af27dd7b1-f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
92 | 2023-12-19T23:09:16.185Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-6d063c65-4c9c-46ab-bb56-111af27dd7b1-f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
93 | 2023-12-19T23:09:16.200Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-6d063c65-4c9c-46ab-bb56-111af27dd7b1-f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
94 | 2023-12-19T23:09:16.200Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/6d063c65-4c9c-46ab-bb56-111af27dd7b1/.zfs/snapshot/f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
95 | 2023-12-19T23:09:16.201Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
96 | 2023-12-19T23:09:16.201Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
97 | 2023-12-19T23:09:16.201Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
98 | 2023-12-19T23:09:16.201Z | INFO | crucible-agent (worker): commit
|
99 | 2023-12-19T23:09:16.204Z | INFO | crucible-agent (worker): ok!
|
100 | 2023-12-19T23:09:16.209Z | INFO | crucible-agent (worker): SMF ok!
|
101 | 2023-12-19T23:09:16.209Z | INFO | crucible-agent (datafile): region 6d063c65-4c9c-46ab-bb56-111af27dd7b1 running snapshot f52bac84-3c6e-4589-a377-3af5b7e2cbc8 state: Requested -> Created
|
102 | 2023-12-19T23:09:18.773Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:51898
|
103 | 2023-12-19T23:09:18.834Z | INFO | crucible-agent (datafile): region 854ce8d1-3d8d-42fb-b37f-50ffe42a9688 state: Requested
|
104 | 2023-12-19T23:09:18.837Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
105 | 2023-12-19T23:09:18.837Z | INFO | crucible-agent (dropshot): request completed
latency_us = 3425
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:51898
req_id = 4fbe4d03-6f0e-4f7c-9512-d61eb679bd55
response_code = 200
uri = /crucible/0/regions
|
106 | 2023-12-19T23:09:18.846Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
107 | 2023-12-19T23:09:18.846Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
108 | 2023-12-19T23:09:18.904Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("854ce8d1-3d8d-42fb-b37f-50ffe42a9688"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19002, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688"
region = 854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
109 | 2023-12-19T23:09:19.005Z | INFO | crucible-agent (worker): region files created ok
region = 854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
110 | 2023-12-19T23:09:19.005Z | INFO | crucible-agent (datafile): region 854ce8d1-3d8d-42fb-b37f-50ffe42a9688 state: Requested -> Created
|
111 | 2023-12-19T23:09:19.005Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
112 | 2023-12-19T23:09:19.007Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
113 | 2023-12-19T23:09:19.009Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
114 | 2023-12-19T23:09:19.016Z | INFO | crucible-agent (worker): creating config property group
|
115 | 2023-12-19T23:09:19.019Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
116 | 2023-12-19T23:09:19.019Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
117 | 2023-12-19T23:09:19.019Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19002
|
118 | 2023-12-19T23:09:19.019Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
119 | 2023-12-19T23:09:19.019Z | INFO | crucible-agent (worker): commit
|
120 | 2023-12-19T23:09:19.023Z | INFO | crucible-agent (worker): ok!
|
121 | 2023-12-19T23:09:19.029Z | INFO | crucible-agent (worker): SMF ok!
|
122 | 2023-12-19T23:09:19.046Z | INFO | crucible-agent (dropshot): request completed
latency_us = 79
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:51898
req_id = 119b8155-97cc-4f5e-a6f3-6b0ede36c555
response_code = 200
uri = /crucible/0/regions
|
123 | 2023-12-19T23:09:50.312Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:34341
|
124 | 2023-12-19T23:09:50.312Z | INFO | crucible-agent (dropshot): request completed
latency_us = 54
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:34341
req_id = d7ed1279-f5a2-4d5a-ace6-47d20fb0b01e
response_code = 200
uri = /crucible/0/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
125 | 2023-12-19T23:09:50.312Z | INFO | crucible-agent (datafile): path is "/data/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688"
|
126 | 2023-12-19T23:09:50.324Z | INFO | crucible-agent (datafile): dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
127 | 2023-12-19T23:09:50.333Z | INFO | crucible-agent (datafile): region 854ce8d1-3d8d-42fb-b37f-50ffe42a9688 state: Created -> Tombstoned
|
128 | 2023-12-19T23:09:50.333Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
129 | 2023-12-19T23:09:50.335Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-854ce8d1-3d8d-42fb-b37f-50ffe42a9688 (instance states: (Some(Online), None))
|
130 | 2023-12-19T23:09:50.336Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24009
local_addr = [fd00:1122:3344:101::12]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:34341
req_id = 42295f80-e813-4336-b44d-983eb1da9daf
response_code = 204
uri = /crucible/0/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
131 | 2023-12-19T23:09:50.336Z | INFO | crucible-agent (dropshot): request completed
latency_us = 39
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:34341
req_id = 66971d2d-d460-4e9e-8535-41975dc8f70e
response_code = 200
uri = /crucible/0/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
132 | 2023-12-19T23:09:50.344Z | INFO | crucible-agent (worker): SMF ok!
|
133 | 2023-12-19T23:09:50.354Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688"
region = 854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|
134 | 2023-12-19T23:09:50.397Z | INFO | crucible-agent (datafile): region 854ce8d1-3d8d-42fb-b37f-50ffe42a9688 state: Tombstoned -> Destroyed
|
135 | 2023-12-19T23:09:50.480Z | INFO | crucible-agent (dropshot): request completed
latency_us = 58
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:34341
req_id = feb5535c-4233-483e-b5f9-f53ffde77d91
response_code = 200
uri = /crucible/0/regions/854ce8d1-3d8d-42fb-b37f-50ffe42a9688
|