1 | | [ Nov 29 20:28:24 Enabled. ] |
2 | | [ Nov 29 20:28:24 Rereading configuration. ] |
3 | | [ Nov 29 20:28:27 Rereading configuration. ] |
4 | | [ Nov 29 20:28:29 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=oxControlService21 |
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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::14 |
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 | | + [[ oxControlService21 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService21 |
33 | | ipadm: Could not delete oxControlService21: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService21 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 |
38 | | + ipadm show-addr oxControlService21/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService21/ll |
41 | | + ipadm show-addr oxControlService21/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService21/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-11-29T20:28:30.523Z | INFO | crucible-agent: dataset: "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible"
|
52 | 2023-11-29T20:28:30.527Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::14]:32345
|
53 | 2023-11-29T20:28:30.527Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-11-29T20:28:30.748Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::14]:32345
|
55 | 2023-11-29T20:29:13.721Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:32811
|
56 | 2023-11-29T20:29:13.730Z | INFO | crucible-agent (datafile): region c9611241-4105-4538-a476-b264fa5b6c4c state: Requested
|
57 | 2023-11-29T20:29:13.731Z | INFO | crucible-agent (dropshot): request completed
latency_us = 4925
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:32811
req_id = c59e975c-6eed-4368-b785-8697417f1a9d
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-11-29T20:29:13.732Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2023-11-29T20:29:13.742Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c9611241-4105-4538-a476-b264fa5b6c4c
|
60 | 2023-11-29T20:29:13.742Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c9611241-4105-4538-a476-b264fa5b6c4c
|
61 | 2023-11-29T20:29:13.822Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("c9611241-4105-4538-a476-b264fa5b6c4c"), 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/c9611241-4105-4538-a476-b264fa5b6c4c"
region = c9611241-4105-4538-a476-b264fa5b6c4c
|
62 | 2023-11-29T20:29:14.089Z | INFO | crucible-agent (dropshot): request completed
latency_us = 86
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:32811
req_id = fc0090d0-5185-4af3-973b-43fec859c2a4
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-11-29T20:29:14.131Z | INFO | crucible-agent (worker): region files created ok
region = c9611241-4105-4538-a476-b264fa5b6c4c
|
64 | 2023-11-29T20:29:14.132Z | INFO | crucible-agent (datafile): region c9611241-4105-4538-a476-b264fa5b6c4c state: Requested -> Created
|
65 | 2023-11-29T20:29:14.132Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-11-29T20:29:14.132Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-c9611241-4105-4538-a476-b264fa5b6c4c
|
67 | 2023-11-29T20:29:14.136Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-c9611241-4105-4538-a476-b264fa5b6c4c
|
68 | 2023-11-29T20:29:14.147Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-11-29T20:29:14.150Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-c9611241-4105-4538-a476-b264fa5b6c4c
|
70 | 2023-11-29T20:29:14.151Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/c9611241-4105-4538-a476-b264fa5b6c4c
|
71 | 2023-11-29T20:29:14.151Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-11-29T20:29:14.151Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
|
73 | 2023-11-29T20:29:14.151Z | INFO | crucible-agent (worker): commit
|
74 | 2023-11-29T20:29:14.156Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-11-29T20:29:14.161Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-11-29T20:29:14.685Z | INFO | crucible-agent (dropshot): request completed
latency_us = 124
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:32811
req_id = b525012b-86dd-4bf9-8ab0-57160aa0726c
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-11-29T20:29:14.944Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:48397
|
78 | 2023-11-29T20:29:14.944Z | INFO | crucible-agent (dropshot): request completed
latency_us = 95
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:48397
req_id = 0d19d268-560d-4ed9-9a2e-dc887f5afac2
response_code = 200
uri = /crucible/0/regions/c9611241-4105-4538-a476-b264fa5b6c4c
|
79 | 2023-11-29T20:29:14.944Z | INFO | crucible-agent (datafile): path is "/data/regions/c9611241-4105-4538-a476-b264fa5b6c4c"
|
80 | 2023-11-29T20:29:14.954Z | INFO | crucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c9611241-4105-4538-a476-b264fa5b6c4c
|
81 | 2023-11-29T20:29:14.963Z | INFO | crucible-agent (datafile): region c9611241-4105-4538-a476-b264fa5b6c4c state: Created -> Tombstoned
|
82 | 2023-11-29T20:29:14.963Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
83 | 2023-11-29T20:29:14.963Z | INFO | crucible-agent (dropshot): request completed
latency_us = 18830
local_addr = [fd00:1122:3344:101::14]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:48397
req_id = 93de6937-6d99-45e2-9418-c84407dcee68
response_code = 204
uri = /crucible/0/regions/c9611241-4105-4538-a476-b264fa5b6c4c
|
84 | 2023-11-29T20:29:14.963Z | INFO | crucible-agent (dropshot): request completed
latency_us = 20
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:48397
req_id = 67d69cd9-23c0-4e70-bf2f-a02806393401
response_code = 200
uri = /crucible/0/regions/c9611241-4105-4538-a476-b264fa5b6c4c
|
85 | 2023-11-29T20:29:14.964Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-c9611241-4105-4538-a476-b264fa5b6c4c (instance states: (Some(Online), None))
|
86 | 2023-11-29T20:29:14.970Z | INFO | crucible-agent (worker): SMF ok!
|
87 | 2023-11-29T20:29:14.980Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c9611241-4105-4538-a476-b264fa5b6c4c"
region = c9611241-4105-4538-a476-b264fa5b6c4c
|
88 | 2023-11-29T20:29:15.020Z | INFO | crucible-agent (dropshot): request completed
latency_us = 62
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:48397
req_id = 11e46c37-38df-4d2a-aed3-aedbb2a24cda
response_code = 200
uri = /crucible/0/regions/c9611241-4105-4538-a476-b264fa5b6c4c
|
89 | 2023-11-29T20:29:15.042Z | INFO | crucible-agent (datafile): region c9611241-4105-4538-a476-b264fa5b6c4c state: Tombstoned -> Destroyed
|
90 | 2023-11-29T20:29:15.145Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:48397
req_id = 0ba251ad-86dc-422b-ad7c-337d2aeb368f
response_code = 200
uri = /crucible/0/regions/c9611241-4105-4538-a476-b264fa5b6c4c
|
91 | 2023-11-29T20:29:17.601Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:63747
|
92 | 2023-11-29T20:29:17.661Z | INFO | crucible-agent (datafile): region 7be35dfa-9c29-42f8-8c97-f088bd2d3201 state: Requested
|
93 | 2023-11-29T20:29:17.662Z | INFO | crucible-agent (dropshot): request completed
latency_us = 313
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:63747
req_id = 5f4bc168-06ba-4603-9c2d-6cc9a462a72c
response_code = 200
uri = /crucible/0/regions
|
94 | 2023-11-29T20:29:17.662Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
95 | 2023-11-29T20:29:17.671Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/7be35dfa-9c29-42f8-8c97-f088bd2d3201
|
96 | 2023-11-29T20:29:17.671Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/7be35dfa-9c29-42f8-8c97-f088bd2d3201
|
97 | 2023-11-29T20:29:17.732Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("7be35dfa-9c29-42f8-8c97-f088bd2d3201"), 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/7be35dfa-9c29-42f8-8c97-f088bd2d3201"
region = 7be35dfa-9c29-42f8-8c97-f088bd2d3201
|
98 | 2023-11-29T20:29:17.803Z | INFO | crucible-agent (worker): region files created ok
region = 7be35dfa-9c29-42f8-8c97-f088bd2d3201
|
99 | 2023-11-29T20:29:17.803Z | INFO | crucible-agent (datafile): region 7be35dfa-9c29-42f8-8c97-f088bd2d3201 state: Requested -> Created
|
100 | 2023-11-29T20:29:17.803Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
101 | 2023-11-29T20:29:17.804Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-7be35dfa-9c29-42f8-8c97-f088bd2d3201
|
102 | 2023-11-29T20:29:17.808Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-7be35dfa-9c29-42f8-8c97-f088bd2d3201
|
103 | 2023-11-29T20:29:17.816Z | INFO | crucible-agent (worker): creating config property group
|
104 | 2023-11-29T20:29:17.820Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-7be35dfa-9c29-42f8-8c97-f088bd2d3201
|
105 | 2023-11-29T20:29:17.820Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/7be35dfa-9c29-42f8-8c97-f088bd2d3201
|
106 | 2023-11-29T20:29:17.820Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
107 | 2023-11-29T20:29:17.820Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
|
108 | 2023-11-29T20:29:17.820Z | INFO | crucible-agent (worker): commit
|
109 | 2023-11-29T20:29:17.824Z | INFO | crucible-agent (worker): ok!
|
110 | 2023-11-29T20:29:17.829Z | INFO | crucible-agent (worker): SMF ok!
|
111 | 2023-11-29T20:29:17.877Z | INFO | crucible-agent (dropshot): request completed
latency_us = 89
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:63747
req_id = e13ccbce-6fe6-438e-b7bc-8edf8f6e8001
response_code = 200
uri = /crucible/0/regions
|