1 | | [ Jan 24 19:33:25 Enabled. ] |
2 | | [ Jan 24 19:33:25 Rereading configuration. ] |
3 | | [ Jan 24 19:33:30 Rereading configuration. ] |
4 | | [ Jan 24 19:33:35 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=oxControlService12 |
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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::15 |
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 | | + [[ oxControlService12 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService12 |
33 | | ipadm: Could not delete oxControlService12: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService12 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 |
38 | | + ipadm show-addr oxControlService12/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService12/ll |
41 | | + ipadm show-addr oxControlService12/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService12/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-01-24T19:33:36.906Z | INFO | crucible-agent: dataset: "oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible"
|
52 | 2024-01-24T19:33:36.909Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::15]:32345
|
53 | 2024-01-24T19:33:36.909Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-01-24T19:33:37.194Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::15]:32345
|
55 | 2024-01-24T19:34:31.775Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::a]:39045
|
56 | 2024-01-24T19:34:31.821Z | INFO | crucible-agent (datafile): region 14b073ce-b40d-40a8-8e90-1fe658fc22cb state: Requested
|
57 | 2024-01-24T19:34:31.822Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
58 | 2024-01-24T19:34:31.822Z | INFO | crucible-agent (dropshot): request completed
latency_us = 10706
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:39045
req_id = c42a672f-4292-4d43-9288-cc53be534e5e
response_code = 200
uri = /crucible/0/regions
|
59 | 2024-01-24T19:34:31.832Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
60 | 2024-01-24T19:34:31.832Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
61 | 2024-01-24T19:34:31.892Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("14b073ce-b40d-40a8-8e90-1fe658fc22cb"), 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/14b073ce-b40d-40a8-8e90-1fe658fc22cb"
region = 14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
62 | 2024-01-24T19:34:32.039Z | INFO | crucible-agent (worker): region files created ok
region = 14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
63 | 2024-01-24T19:34:32.039Z | INFO | crucible-agent (datafile): region 14b073ce-b40d-40a8-8e90-1fe658fc22cb state: Requested -> Created
|
64 | 2024-01-24T19:34:32.039Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2024-01-24T19:34:32.040Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
66 | 2024-01-24T19:34:32.044Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
67 | 2024-01-24T19:34:32.055Z | INFO | crucible-agent (worker): creating config property group
|
68 | 2024-01-24T19:34:32.060Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
69 | 2024-01-24T19:34:32.060Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
70 | 2024-01-24T19:34:32.060Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
71 | 2024-01-24T19:34:32.060Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
72 | 2024-01-24T19:34:32.061Z | INFO | crucible-agent (worker): commit
|
73 | 2024-01-24T19:34:32.067Z | INFO | crucible-agent (worker): ok!
|
74 | 2024-01-24T19:34:32.070Z | INFO | crucible-agent (worker): SMF ok!
|
75 | 2024-01-24T19:34:32.071Z | INFO | crucible-agent (dropshot): request completed
latency_us = 75
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:39045
req_id = 1c2671ef-7bac-451f-9e9c-8eb1b1fbb6b3
response_code = 200
uri = /crucible/0/regions
|
76 | 2024-01-24T19:39:52.187Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::a]:38724
|
77 | 2024-01-24T19:39:52.187Z | INFO | crucible-agent (dropshot): request completed
latency_us = 66
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:38724
req_id = 21922070-a97f-4f66-bac6-f22a45aa72fe
response_code = 200
uri = /crucible/0/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
78 | 2024-01-24T19:39:52.187Z | INFO | crucible-agent (datafile): path is "/data/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb"
|
79 | 2024-01-24T19:39:52.200Z | INFO | crucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
80 | 2024-01-24T19:39:52.208Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb@a3b29d54-acfd-4978-bda5-b1397605fab9
|
81 | 2024-01-24T19:39:52.208Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb", "a3b29d54-acfd-4978-bda5-b1397605fab9"]
|
82 | 2024-01-24T19:39:52.221Z | INFO | crucible-agent (dropshot): request completed
latency_us = 33202
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:38724
req_id = 3bf12430-1c50-44b3-a3cb-9566a7323cfa
response_code = 200
uri = /crucible/0/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb/snapshots/a3b29d54-acfd-4978-bda5-b1397605fab9
|
83 | 2024-01-24T19:39:52.221Z | INFO | crucible-agent (datafile): path is "/data/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb"
|
84 | 2024-01-24T19:39:52.229Z | INFO | crucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb
|
85 | 2024-01-24T19:39:52.237Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb@a3b29d54-acfd-4978-bda5-b1397605fab9
|
86 | 2024-01-24T19:39:52.237Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb", "a3b29d54-acfd-4978-bda5-b1397605fab9"]
|
87 | 2024-01-24T19:39:52.245Z | INFO | crucible-agent (datafile): requesting running snapshot 14b073ce-b40d-40a8-8e90-1fe658fc22cb-a3b29d54-acfd-4978-bda5-b1397605fab9 state: Requested
|
88 | 2024-01-24T19:39:52.246Z | INFO | crucible-agent (worker): applying SMF actions for region 14b073ce-b40d-40a8-8e90-1fe658fc22cb running snapshot a3b29d54-acfd-4978-bda5-b1397605fab9 (state Requested)...
|
89 | 2024-01-24T19:39:52.246Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24871
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:38724
req_id = b0f294ed-b550-4d3f-8dc5-682b28107817
response_code = 200
uri = /crucible/0/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb/snapshots/a3b29d54-acfd-4978-bda5-b1397605fab9/run
|
90 | 2024-01-24T19:39:52.257Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-14b073ce-b40d-40a8-8e90-1fe658fc22cb-a3b29d54-acfd-4978-bda5-b1397605fab9
|
91 | 2024-01-24T19:39:52.267Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-14b073ce-b40d-40a8-8e90-1fe658fc22cb-a3b29d54-acfd-4978-bda5-b1397605fab9
|
92 | 2024-01-24T19:39:52.312Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-14b073ce-b40d-40a8-8e90-1fe658fc22cb-a3b29d54-acfd-4978-bda5-b1397605fab9
|
93 | 2024-01-24T19:39:52.312Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/14b073ce-b40d-40a8-8e90-1fe658fc22cb/.zfs/snapshot/a3b29d54-acfd-4978-bda5-b1397605fab9
|
94 | 2024-01-24T19:39:52.312Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
95 | 2024-01-24T19:39:52.312Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
96 | 2024-01-24T19:39:52.312Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
97 | 2024-01-24T19:39:52.312Z | INFO | crucible-agent (worker): commit
|
98 | 2024-01-24T19:39:52.324Z | INFO | crucible-agent (worker): ok!
|
99 | 2024-01-24T19:39:52.336Z | INFO | crucible-agent (worker): SMF ok!
|
100 | 2024-01-24T19:39:52.336Z | INFO | crucible-agent (datafile): region 14b073ce-b40d-40a8-8e90-1fe658fc22cb running snapshot a3b29d54-acfd-4978-bda5-b1397605fab9 state: Requested -> Created
|