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=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 | 2023-12-19T23:02:07.537Z | INFO | crucible-agent: dataset: "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible"
|
52 | 2023-12-19T23:02:07.542Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::18]:32345
|
53 | 2023-12-19T23:02:07.542Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-12-19T23:02:07.788Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::18]:32345
|
55 | 2023-12-19T23:03:48.852Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:52829
|
56 | 2023-12-19T23:03:48.933Z | INFO | crucible-agent (datafile): region 31477ee9-9334-4d4b-93a2-253b4be4f7a7 state: Requested
|
57 | 2023-12-19T23:03:48.936Z | INFO | crucible-agent (dropshot): request completed
latency_us = 14751
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:52829
req_id = 885932f9-2286-45ef-b779-550262eb5008
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-12-19T23:03:48.936Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
59 | 2023-12-19T23:03:48.947Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
60 | 2023-12-19T23:03:48.948Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
61 | 2023-12-19T23:03:48.991Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("31477ee9-9334-4d4b-93a2-253b4be4f7a7"), 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/31477ee9-9334-4d4b-93a2-253b4be4f7a7"
region = 31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
62 | 2023-12-19T23:03:49.274Z | INFO | crucible-agent (dropshot): request completed
latency_us = 82
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:52829
req_id = 440aad97-cf0e-4323-92f5-42c90f40dbb3
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-12-19T23:03:49.300Z | INFO | crucible-agent (worker): region files created ok
region = 31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
64 | 2023-12-19T23:03:49.300Z | INFO | crucible-agent (datafile): region 31477ee9-9334-4d4b-93a2-253b4be4f7a7 state: Requested -> Created
|
65 | 2023-12-19T23:03:49.301Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-12-19T23:03:49.303Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
67 | 2023-12-19T23:03:49.310Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
68 | 2023-12-19T23:03:49.323Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-12-19T23:03:49.326Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
70 | 2023-12-19T23:03:49.327Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
71 | 2023-12-19T23:03:49.327Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-12-19T23:03:49.327Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
73 | 2023-12-19T23:03:49.327Z | INFO | crucible-agent (worker): commit
|
74 | 2023-12-19T23:03:49.331Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-12-19T23:03:49.336Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-12-19T23:03:49.622Z | INFO | crucible-agent (dropshot): request completed
latency_us = 525
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:52829
req_id = 2642c5ac-3ff4-444b-be50-c35f01da3bc2
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-12-19T23:09:14.615Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:60332
|
78 | 2023-12-19T23:09:14.676Z | INFO | crucible-agent (datafile): region b51309bc-3a84-40bc-b5f1-d5574c439e94 state: Requested
|
79 | 2023-12-19T23:09:14.680Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
80 | 2023-12-19T23:09:14.680Z | INFO | crucible-agent (dropshot): request completed
latency_us = 4549
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:60332
req_id = 9be387e3-0fb4-4897-bd03-e624806a926e
response_code = 200
uri = /crucible/0/regions
|
81 | 2023-12-19T23:09:14.690Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b51309bc-3a84-40bc-b5f1-d5574c439e94
|
82 | 2023-12-19T23:09:14.690Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b51309bc-3a84-40bc-b5f1-d5574c439e94
|
83 | 2023-12-19T23:09:14.742Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("b51309bc-3a84-40bc-b5f1-d5574c439e94"), 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/b51309bc-3a84-40bc-b5f1-d5574c439e94"
region = b51309bc-3a84-40bc-b5f1-d5574c439e94
|
84 | 2023-12-19T23:09:14.814Z | INFO | crucible-agent (worker): region files created ok
region = b51309bc-3a84-40bc-b5f1-d5574c439e94
|
85 | 2023-12-19T23:09:14.814Z | INFO | crucible-agent (datafile): region b51309bc-3a84-40bc-b5f1-d5574c439e94 state: Requested -> Created
|
86 | 2023-12-19T23:09:14.814Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
87 | 2023-12-19T23:09:14.822Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-b51309bc-3a84-40bc-b5f1-d5574c439e94
|
88 | 2023-12-19T23:09:14.826Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-b51309bc-3a84-40bc-b5f1-d5574c439e94
|
89 | 2023-12-19T23:09:14.838Z | INFO | crucible-agent (worker): creating config property group
|
90 | 2023-12-19T23:09:14.840Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-b51309bc-3a84-40bc-b5f1-d5574c439e94
|
91 | 2023-12-19T23:09:14.841Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/b51309bc-3a84-40bc-b5f1-d5574c439e94
|
92 | 2023-12-19T23:09:14.841Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
93 | 2023-12-19T23:09:14.841Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
94 | 2023-12-19T23:09:14.841Z | INFO | crucible-agent (worker): commit
|
95 | 2023-12-19T23:09:14.844Z | INFO | crucible-agent (worker): ok!
|
96 | 2023-12-19T23:09:14.848Z | INFO | crucible-agent (worker): SMF ok!
|
97 | 2023-12-19T23:09:14.944Z | INFO | crucible-agent (dropshot): request completed
latency_us = 86
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:60332
req_id = 80952514-4b09-4cdb-8045-d941bc080d41
response_code = 200
uri = /crucible/0/regions
|
98 | 2023-12-19T23:09:15.909Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::18]:32345
remote_addr = [fd00:1122:3344:101::a]:63104
|
99 | 2023-12-19T23:09:15.911Z | INFO | crucible-agent (dropshot): request completed
latency_us = 2644
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:63104
req_id = 66164ddc-343e-4e0c-bfe7-f613a566caf4
response_code = 200
uri = /crucible/0/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
100 | 2023-12-19T23:09:15.912Z | INFO | crucible-agent (datafile): path is "/data/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7"
|
101 | 2023-12-19T23:09:15.922Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
102 | 2023-12-19T23:09:15.930Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7@f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
103 | 2023-12-19T23:09:15.930Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7", "f52bac84-3c6e-4589-a377-3af5b7e2cbc8"]
|
104 | 2023-12-19T23:09:15.944Z | INFO | crucible-agent (dropshot): request completed
latency_us = 31932
local_addr = [fd00:1122:3344:101::18]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:63104
req_id = 83eb17fe-4750-4b9c-9656-eb882597b152
response_code = 200
uri = /crucible/0/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7/snapshots/f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
105 | 2023-12-19T23:09:15.944Z | INFO | crucible-agent (datafile): path is "/data/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7"
|
106 | 2023-12-19T23:09:15.951Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7
|
107 | 2023-12-19T23:09:15.959Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7@f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
108 | 2023-12-19T23:09:15.959Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7", "f52bac84-3c6e-4589-a377-3af5b7e2cbc8"]
|
109 | 2023-12-19T23:09:15.968Z | INFO | crucible-agent (datafile): requesting running snapshot 31477ee9-9334-4d4b-93a2-253b4be4f7a7-f52bac84-3c6e-4589-a377-3af5b7e2cbc8 state: Requested
|
110 | 2023-12-19T23:09:15.969Z | INFO | crucible-agent (worker): applying SMF actions for region 31477ee9-9334-4d4b-93a2-253b4be4f7a7 running snapshot f52bac84-3c6e-4589-a377-3af5b7e2cbc8 (state Requested)...
|
111 | 2023-12-19T23:09:15.969Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24875
local_addr = [fd00:1122:3344:101::18]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:63104
req_id = b8c305a2-936e-47a0-900b-66641bd26de1
response_code = 200
uri = /crucible/0/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7/snapshots/f52bac84-3c6e-4589-a377-3af5b7e2cbc8/run
|
112 | 2023-12-19T23:09:15.971Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-31477ee9-9334-4d4b-93a2-253b4be4f7a7-f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
113 | 2023-12-19T23:09:15.974Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-31477ee9-9334-4d4b-93a2-253b4be4f7a7-f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
114 | 2023-12-19T23:09:15.985Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-31477ee9-9334-4d4b-93a2-253b4be4f7a7-f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
115 | 2023-12-19T23:09:15.985Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/31477ee9-9334-4d4b-93a2-253b4be4f7a7/.zfs/snapshot/f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
116 | 2023-12-19T23:09:15.985Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19002
|
117 | 2023-12-19T23:09:15.985Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
118 | 2023-12-19T23:09:15.985Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18
|
119 | 2023-12-19T23:09:15.985Z | INFO | crucible-agent (worker): commit
|
120 | 2023-12-19T23:09:15.989Z | INFO | crucible-agent (worker): ok!
|
121 | 2023-12-19T23:09:15.993Z | INFO | crucible-agent (worker): SMF ok!
|
122 | 2023-12-19T23:09:15.993Z | INFO | crucible-agent (datafile): region 31477ee9-9334-4d4b-93a2-253b4be4f7a7 running snapshot f52bac84-3c6e-4589-a377-3af5b7e2cbc8 state: Requested -> Created
|