1 | | [ Jan 17 05:15:26 Enabled. ] |
2 | | [ Jan 17 05:15:26 Rereading configuration. ] |
3 | | [ Jan 17 05:15:27 Rereading configuration. ] |
4 | | [ Jan 17 05:15:28 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::18 |
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::18 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::18]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-01-17T05:15:29.231Z | INFO | crucible-agent: dataset: "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible"
|
52 | 2024-01-17T05:15:29.235Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::18]:32345
|
53 | 2024-01-17T05:15:29.235Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-01-17T05:15:29.717Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::18]:32345
|
55 | 2024-01-17T05:16:22.763Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:36641
|
56 | 2024-01-17T05:16:22.842Z | INFO | crucible-agent (datafile): region d5d024e6-a3a9-4896-9c9e-477bae821d8b state: Requested
|
57 | 2024-01-17T05:16:22.843Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
58 | 2024-01-17T05:16:22.843Z | INFO | crucible-agent (dropshot): request completed
latency_us = 11849
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:36641
req_id = 20bb5bc6-3604-4b25-9a57-8de81b465a69
response_code = 200
uri = /crucible/0/regions
|
59 | 2024-01-17T05:16:22.855Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
60 | 2024-01-17T05:16:22.855Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
61 | 2024-01-17T05:16:22.928Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("d5d024e6-a3a9-4896-9c9e-477bae821d8b"), 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/d5d024e6-a3a9-4896-9c9e-477bae821d8b"
region = d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
62 | 2024-01-17T05:16:23.136Z | INFO | crucible-agent (dropshot): request completed
latency_us = 84
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:36641
req_id = e29f1215-1407-449b-adc2-7c9d2ba7d7a6
response_code = 200
uri = /crucible/0/regions
|
63 | 2024-01-17T05:16:23.169Z | INFO | crucible-agent (worker): region files created ok
region = d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
64 | 2024-01-17T05:16:23.169Z | INFO | crucible-agent (datafile): region d5d024e6-a3a9-4896-9c9e-477bae821d8b state: Requested -> Created
|
65 | 2024-01-17T05:16:23.169Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2024-01-17T05:16:23.170Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
67 | 2024-01-17T05:16:23.178Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
68 | 2024-01-17T05:16:23.196Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-01-17T05:16:23.206Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
70 | 2024-01-17T05:16:23.206Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
71 | 2024-01-17T05:16:23.208Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-01-17T05:16:23.208Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
73 | 2024-01-17T05:16:23.209Z | INFO | crucible-agent (worker): commit
|
74 | 2024-01-17T05:16:23.229Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-01-17T05:16:23.244Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-01-17T05:16:23.754Z | INFO | crucible-agent (dropshot): request completed
latency_us = 64
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:36641
req_id = 067ce225-18f1-45fc-bbe5-0bc83cab8a26
response_code = 200
uri = /crucible/0/regions
|
77 | 2024-01-17T05:21:53.937Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:48017
|
78 | 2024-01-17T05:21:53.937Z | INFO | crucible-agent (datafile): region f5b1899e-db51-4534-b119-ead31d613d55 state: Requested
|
79 | 2024-01-17T05:21:53.937Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
80 | 2024-01-17T05:21:53.937Z | INFO | crucible-agent (dropshot): request completed
latency_us = 652
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:48017
req_id = daf6cbf7-525f-43fc-98c4-fa37899fddac
response_code = 200
uri = /crucible/0/regions
|
81 | 2024-01-17T05:21:53.946Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/f5b1899e-db51-4534-b119-ead31d613d55
|
82 | 2024-01-17T05:21:53.946Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/f5b1899e-db51-4534-b119-ead31d613d55
|
83 | 2024-01-17T05:21:53.995Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("f5b1899e-db51-4534-b119-ead31d613d55"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19001, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/f5b1899e-db51-4534-b119-ead31d613d55"
region = f5b1899e-db51-4534-b119-ead31d613d55
|
84 | 2024-01-17T05:21:54.070Z | INFO | crucible-agent (worker): region files created ok
region = f5b1899e-db51-4534-b119-ead31d613d55
|
85 | 2024-01-17T05:21:54.070Z | INFO | crucible-agent (datafile): region f5b1899e-db51-4534-b119-ead31d613d55 state: Requested -> Created
|
86 | 2024-01-17T05:21:54.070Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
87 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): existing directory value /dev/null does not match /data/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
88 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): existing port value 0 does not match 19000
|
89 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): existing address value 0.0.0.0 does not match fd00:1122:3344:101::18
|
90 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): reconfig required
|
91 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): using existing config property group
|
92 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
93 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
94 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
95 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
96 | 2024-01-17T05:21:54.081Z | INFO | crucible-agent (worker): commit
|
97 | 2024-01-17T05:21:54.089Z | INFO | crucible-agent (worker): ok!
|
98 | 2024-01-17T05:21:54.090Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-f5b1899e-db51-4534-b119-ead31d613d55
|
99 | 2024-01-17T05:21:54.093Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-f5b1899e-db51-4534-b119-ead31d613d55
|
100 | 2024-01-17T05:21:54.102Z | INFO | crucible-agent (worker): creating config property group
|
101 | 2024-01-17T05:21:54.105Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-f5b1899e-db51-4534-b119-ead31d613d55
|
102 | 2024-01-17T05:21:54.105Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/f5b1899e-db51-4534-b119-ead31d613d55
|
103 | 2024-01-17T05:21:54.105Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
104 | 2024-01-17T05:21:54.105Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
105 | 2024-01-17T05:21:54.105Z | INFO | crucible-agent (worker): commit
|
106 | 2024-01-17T05:21:54.109Z | INFO | crucible-agent (worker): ok!
|
107 | 2024-01-17T05:21:54.113Z | INFO | crucible-agent (worker): SMF ok!
|
108 | 2024-01-17T05:21:54.223Z | INFO | crucible-agent (dropshot): request completed
latency_us = 108
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:48017
req_id = 7a5918fe-bc6a-46f9-b174-8b400f664eee
response_code = 200
uri = /crucible/0/regions
|
109 | 2024-01-17T05:21:55.100Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:56329
|
110 | 2024-01-17T05:21:55.100Z | INFO | crucible-agent (dropshot): request completed
latency_us = 80
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:56329
req_id = d7018029-a9dd-416c-87dc-b98f29f81822
response_code = 200
uri = /crucible/0/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
111 | 2024-01-17T05:21:55.103Z | INFO | crucible-agent (datafile): path is "/data/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b"
|
112 | 2024-01-17T05:21:55.113Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
113 | 2024-01-17T05:21:55.123Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b@f9283a43-16a4-41fc-928a-3b036fb10d47
|
114 | 2024-01-17T05:21:55.123Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b", "f9283a43-16a4-41fc-928a-3b036fb10d47"]
|
115 | 2024-01-17T05:21:55.136Z | INFO | crucible-agent (dropshot): request completed
latency_us = 33327
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:56329
req_id = c8df5615-42b7-41a0-84fa-998a69700157
response_code = 200
uri = /crucible/0/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b/snapshots/f9283a43-16a4-41fc-928a-3b036fb10d47
|
116 | 2024-01-17T05:21:55.136Z | INFO | crucible-agent (datafile): path is "/data/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b"
|
117 | 2024-01-17T05:21:55.145Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
118 | 2024-01-17T05:21:55.153Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b@f9283a43-16a4-41fc-928a-3b036fb10d47
|
119 | 2024-01-17T05:21:55.153Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b", "f9283a43-16a4-41fc-928a-3b036fb10d47"]
|
120 | 2024-01-17T05:21:55.165Z | INFO | crucible-agent (datafile): requesting running snapshot d5d024e6-a3a9-4896-9c9e-477bae821d8b-f9283a43-16a4-41fc-928a-3b036fb10d47 state: Requested
|
121 | 2024-01-17T05:21:55.165Z | INFO | crucible-agent (worker): applying SMF actions for region d5d024e6-a3a9-4896-9c9e-477bae821d8b running snapshot f9283a43-16a4-41fc-928a-3b036fb10d47 (state Requested)...
|
122 | 2024-01-17T05:21:55.165Z | INFO | crucible-agent (dropshot): request completed
latency_us = 29077
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:56329
req_id = dab6d7c6-89af-480a-8c64-0342b084eb5a
response_code = 200
uri = /crucible/0/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b/snapshots/f9283a43-16a4-41fc-928a-3b036fb10d47/run
|
123 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): existing directory value /dev/null does not match /data/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
124 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): existing port value 0 does not match 19000
|
125 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): existing address value 0.0.0.0 does not match fd00:1122:3344:101::18
|
126 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): reconfig required
|
127 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): using existing config property group
|
128 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
129 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b
|
130 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
131 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
132 | 2024-01-17T05:21:55.166Z | INFO | crucible-agent (worker): commit
|
133 | 2024-01-17T05:21:55.170Z | INFO | crucible-agent (worker): ok!
|
134 | 2024-01-17T05:21:55.172Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-d5d024e6-a3a9-4896-9c9e-477bae821d8b-f9283a43-16a4-41fc-928a-3b036fb10d47
|
135 | 2024-01-17T05:21:55.174Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-d5d024e6-a3a9-4896-9c9e-477bae821d8b-f9283a43-16a4-41fc-928a-3b036fb10d47
|
136 | 2024-01-17T05:21:55.184Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-d5d024e6-a3a9-4896-9c9e-477bae821d8b-f9283a43-16a4-41fc-928a-3b036fb10d47
|
137 | 2024-01-17T05:21:55.184Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/d5d024e6-a3a9-4896-9c9e-477bae821d8b/.zfs/snapshot/f9283a43-16a4-41fc-928a-3b036fb10d47
|
138 | 2024-01-17T05:21:55.184Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19002
|
139 | 2024-01-17T05:21:55.184Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
140 | 2024-01-17T05:21:55.184Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
141 | 2024-01-17T05:21:55.184Z | INFO | crucible-agent (worker): commit
|
142 | 2024-01-17T05:21:55.187Z | INFO | crucible-agent (worker): ok!
|
143 | 2024-01-17T05:21:55.192Z | INFO | crucible-agent (worker): SMF ok!
|
144 | 2024-01-17T05:21:55.192Z | INFO | crucible-agent (datafile): region d5d024e6-a3a9-4896-9c9e-477bae821d8b running snapshot f9283a43-16a4-41fc-928a-3b036fb10d47 state: Requested -> Created
|