1 | | [ Jan 25 04:48:23 Enabled. ] |
2 | | [ Jan 25 04:48:23 Rereading configuration. ] |
3 | | [ Jan 25 04:48:25 Rereading configuration. ] |
4 | | [ Jan 25 04:48: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=oxControlService18 |
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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/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 | | + [[ oxControlService18 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService18 |
33 | | ipadm: Could not delete oxControlService18: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService18 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 |
38 | | + ipadm show-addr oxControlService18/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService18/ll |
41 | | + ipadm show-addr oxControlService18/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService18/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::13]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-01-25T04:48:29.585Z | INFO | crucible-agent: dataset: "oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2024-01-25T04:48:29.588Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::13]:32345
|
53 | 2024-01-25T04:48:29.588Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-01-25T04:48:29.901Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::13]:32345
|
55 | 2024-01-25T04:50:07.795Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::13]:32345
remote_addr = [fd00:1122:3344:101::a]:55850
|
56 | 2024-01-25T04:50:07.861Z | INFO | crucible-agent (datafile): region 5fbf2bed-d906-4e58-9d18-f9ec1d056b4b state: Requested
|
57 | 2024-01-25T04:50:07.861Z | INFO | crucible-agent (dropshot): request completed
latency_us = 2802
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:55850
req_id = 9827c269-6d37-468f-acae-3beb4364fe98
response_code = 200
uri = /crucible/0/regions
|
58 | 2024-01-25T04:50:07.865Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
59 | 2024-01-25T04:50:07.874Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
60 | 2024-01-25T04:50:07.874Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
61 | 2024-01-25T04:50:07.939Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("5fbf2bed-d906-4e58-9d18-f9ec1d056b4b"), 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/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b"
region = 5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
62 | 2024-01-25T04:50:08.072Z | INFO | crucible-agent (dropshot): request completed
latency_us = 80
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:55850
req_id = f08f5429-eff6-448d-93a7-1a3f2f5617f3
response_code = 200
uri = /crucible/0/regions
|
63 | 2024-01-25T04:50:08.275Z | INFO | crucible-agent (worker): region files created ok
region = 5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
64 | 2024-01-25T04:50:08.275Z | INFO | crucible-agent (datafile): region 5fbf2bed-d906-4e58-9d18-f9ec1d056b4b state: Requested -> Created
|
65 | 2024-01-25T04:50:08.276Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2024-01-25T04:50:08.276Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
67 | 2024-01-25T04:50:08.281Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
68 | 2024-01-25T04:50:08.291Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-01-25T04:50:08.294Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
70 | 2024-01-25T04:50:08.295Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
71 | 2024-01-25T04:50:08.295Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-01-25T04:50:08.295Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13
|
73 | 2024-01-25T04:50:08.295Z | INFO | crucible-agent (worker): commit
|
74 | 2024-01-25T04:50:08.300Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-01-25T04:50:08.305Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-01-25T04:50:08.539Z | INFO | crucible-agent (dropshot): request completed
latency_us = 62
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:55850
req_id = 160c12a5-afa3-438b-a7a7-8ac936a14e8c
response_code = 200
uri = /crucible/0/regions
|
77 | 2024-01-25T04:55:32.341Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::13]:32345
remote_addr = [fd00:1122:3344:101::a]:39533
|
78 | 2024-01-25T04:55:32.342Z | INFO | crucible-agent (dropshot): request completed
latency_us = 72
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:39533
req_id = 7c3bf177-5b41-41ba-90ee-dc0593f46f81
response_code = 200
uri = /crucible/0/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
79 | 2024-01-25T04:55:32.342Z | INFO | crucible-agent (datafile): path is "/data/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b"
|
80 | 2024-01-25T04:55:32.354Z | INFO | crucible-agent (datafile): dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
81 | 2024-01-25T04:55:32.364Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b@395a799e-3df0-44f7-a272-b33a4277dcc0
|
82 | 2024-01-25T04:55:32.364Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b", "395a799e-3df0-44f7-a272-b33a4277dcc0"]
|
83 | 2024-01-25T04:55:32.374Z | INFO | crucible-agent (dropshot): request completed
latency_us = 32096
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:39533
req_id = 485ab806-b147-4a67-8e51-a024970d30a7
response_code = 200
uri = /crucible/0/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b/snapshots/395a799e-3df0-44f7-a272-b33a4277dcc0
|
84 | 2024-01-25T04:55:32.375Z | INFO | crucible-agent (datafile): path is "/data/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b"
|
85 | 2024-01-25T04:55:32.383Z | INFO | crucible-agent (datafile): dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b
|
86 | 2024-01-25T04:55:32.392Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b@395a799e-3df0-44f7-a272-b33a4277dcc0
|
87 | 2024-01-25T04:55:32.392Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b", "395a799e-3df0-44f7-a272-b33a4277dcc0"]
|
88 | 2024-01-25T04:55:32.401Z | INFO | crucible-agent (datafile): requesting running snapshot 5fbf2bed-d906-4e58-9d18-f9ec1d056b4b-395a799e-3df0-44f7-a272-b33a4277dcc0 state: Requested
|
89 | 2024-01-25T04:55:32.401Z | INFO | crucible-agent (worker): applying SMF actions for region 5fbf2bed-d906-4e58-9d18-f9ec1d056b4b running snapshot 395a799e-3df0-44f7-a272-b33a4277dcc0 (state Requested)...
|
90 | 2024-01-25T04:55:32.401Z | INFO | crucible-agent (dropshot): request completed
latency_us = 27412
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:39533
req_id = 90be346e-a0f9-4735-ac1a-e0d021534ea0
response_code = 200
uri = /crucible/0/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b/snapshots/395a799e-3df0-44f7-a272-b33a4277dcc0/run
|
91 | 2024-01-25T04:55:32.408Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-5fbf2bed-d906-4e58-9d18-f9ec1d056b4b-395a799e-3df0-44f7-a272-b33a4277dcc0
|
92 | 2024-01-25T04:55:32.411Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-5fbf2bed-d906-4e58-9d18-f9ec1d056b4b-395a799e-3df0-44f7-a272-b33a4277dcc0
|
93 | 2024-01-25T04:55:32.424Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-5fbf2bed-d906-4e58-9d18-f9ec1d056b4b-395a799e-3df0-44f7-a272-b33a4277dcc0
|
94 | 2024-01-25T04:55:32.424Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/5fbf2bed-d906-4e58-9d18-f9ec1d056b4b/.zfs/snapshot/395a799e-3df0-44f7-a272-b33a4277dcc0
|
95 | 2024-01-25T04:55:32.424Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
96 | 2024-01-25T04:55:32.424Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
97 | 2024-01-25T04:55:32.424Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13
|
98 | 2024-01-25T04:55:32.424Z | INFO | crucible-agent (worker): commit
|
99 | 2024-01-25T04:55:32.428Z | INFO | crucible-agent (worker): ok!
|
100 | 2024-01-25T04:55:32.433Z | INFO | crucible-agent (worker): SMF ok!
|
101 | 2024-01-25T04:55:32.433Z | INFO | crucible-agent (datafile): region 5fbf2bed-d906-4e58-9d18-f9ec1d056b4b running snapshot 395a799e-3df0-44f7-a272-b33a4277dcc0 state: Requested -> Created
|
102 | 2024-01-25T04:55:35.066Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::13]:32345
remote_addr = [fd00:1122:3344:101::a]:48656
|
103 | 2024-01-25T04:55:35.067Z | INFO | crucible-agent (datafile): region b546d202-3730-4095-8b35-7dc8cd5d5872 state: Requested
|
104 | 2024-01-25T04:55:35.067Z | INFO | crucible-agent (dropshot): request completed
latency_us = 805
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:48656
req_id = 94209072-47bd-4773-819c-734fdad1b1dd
response_code = 200
uri = /crucible/0/regions
|
105 | 2024-01-25T04:55:35.067Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
106 | 2024-01-25T04:55:35.076Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b546d202-3730-4095-8b35-7dc8cd5d5872
|
107 | 2024-01-25T04:55:35.076Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b546d202-3730-4095-8b35-7dc8cd5d5872
|
108 | 2024-01-25T04:55:35.145Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("b546d202-3730-4095-8b35-7dc8cd5d5872"), 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/b546d202-3730-4095-8b35-7dc8cd5d5872"
region = b546d202-3730-4095-8b35-7dc8cd5d5872
|
109 | 2024-01-25T04:55:35.215Z | INFO | crucible-agent (worker): region files created ok
region = b546d202-3730-4095-8b35-7dc8cd5d5872
|
110 | 2024-01-25T04:55:35.216Z | INFO | crucible-agent (datafile): region b546d202-3730-4095-8b35-7dc8cd5d5872 state: Requested -> Created
|
111 | 2024-01-25T04:55:35.216Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
112 | 2024-01-25T04:55:35.217Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-b546d202-3730-4095-8b35-7dc8cd5d5872
|
113 | 2024-01-25T04:55:35.222Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-b546d202-3730-4095-8b35-7dc8cd5d5872
|
114 | 2024-01-25T04:55:35.230Z | INFO | crucible-agent (worker): creating config property group
|
115 | 2024-01-25T04:55:35.232Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-b546d202-3730-4095-8b35-7dc8cd5d5872
|
116 | 2024-01-25T04:55:35.232Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/b546d202-3730-4095-8b35-7dc8cd5d5872
|
117 | 2024-01-25T04:55:35.232Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19002
|
118 | 2024-01-25T04:55:35.232Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13
|
119 | 2024-01-25T04:55:35.233Z | INFO | crucible-agent (worker): commit
|
120 | 2024-01-25T04:55:35.236Z | INFO | crucible-agent (worker): ok!
|
121 | 2024-01-25T04:55:35.241Z | INFO | crucible-agent (dropshot): request completed
latency_us = 104
local_addr = [fd00:1122:3344:101::13]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:48656
req_id = e5830207-b1b1-4a76-a0c7-e212a56092f9
response_code = 200
uri = /crucible/0/regions
|
122 | 2024-01-25T04:55:35.242Z | INFO | crucible-agent (worker): SMF ok!
|
123 | 2024-01-25T04:56:05.297Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::13]:32345
remote_addr = [fd00:1122:3344:101::a]:42211
|
124 | 2024-01-25T04:56:05.297Z | INFO | crucible-agent (dropshot): request completed
latency_us = 76
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42211
req_id = 8d0e0749-5acc-46b8-8f99-6a873f45552d
response_code = 200
uri = /crucible/0/regions/b546d202-3730-4095-8b35-7dc8cd5d5872
|
125 | 2024-01-25T04:56:05.298Z | INFO | crucible-agent (datafile): path is "/data/regions/b546d202-3730-4095-8b35-7dc8cd5d5872"
|
126 | 2024-01-25T04:56:05.310Z | INFO | crucible-agent (datafile): dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b546d202-3730-4095-8b35-7dc8cd5d5872
|
127 | 2024-01-25T04:56:05.318Z | INFO | crucible-agent (datafile): region b546d202-3730-4095-8b35-7dc8cd5d5872 state: Created -> Tombstoned
|
128 | 2024-01-25T04:56:05.318Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
129 | 2024-01-25T04:56:05.318Z | INFO | crucible-agent (dropshot): request completed
latency_us = 20480
local_addr = [fd00:1122:3344:101::13]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:42211
req_id = 132546ae-0450-4506-8bd0-89de21cdfbe9
response_code = 204
uri = /crucible/0/regions/b546d202-3730-4095-8b35-7dc8cd5d5872
|
130 | 2024-01-25T04:56:05.318Z | INFO | crucible-agent (dropshot): request completed
latency_us = 36
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42211
req_id = 22ac1a9c-028b-4211-8164-2c468e7b23f9
response_code = 200
uri = /crucible/0/regions/b546d202-3730-4095-8b35-7dc8cd5d5872
|
131 | 2024-01-25T04:56:05.320Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-b546d202-3730-4095-8b35-7dc8cd5d5872 (instance states: (Some(Online), None))
|
132 | 2024-01-25T04:56:05.325Z | INFO | crucible-agent (worker): SMF ok!
|
133 | 2024-01-25T04:56:05.335Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/b546d202-3730-4095-8b35-7dc8cd5d5872"
region = b546d202-3730-4095-8b35-7dc8cd5d5872
|
134 | 2024-01-25T04:56:05.383Z | INFO | crucible-agent (datafile): region b546d202-3730-4095-8b35-7dc8cd5d5872 state: Tombstoned -> Destroyed
|
135 | 2024-01-25T04:56:05.432Z | INFO | crucible-agent (dropshot): request completed
latency_us = 68
local_addr = [fd00:1122:3344:101::13]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42211
req_id = 2e25e11a-60f9-400a-b755-c3261cf16a69
response_code = 200
uri = /crucible/0/regions/b546d202-3730-4095-8b35-7dc8cd5d5872
|