1 | | [ Feb 9 21:15:02 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ] |
2 | | + . /lib/svc/share/smf_include.sh |
3 | | ++ SMF_EXIT_OK=0 |
4 | | ++ SMF_EXIT_NODAEMON=94 |
5 | | ++ SMF_EXIT_ERR_FATAL=95 |
6 | | ++ SMF_EXIT_ERR_CONFIG=96 |
7 | | ++ SMF_EXIT_MON_DEGRADE=97 |
8 | | ++ SMF_EXIT_MON_OFFLINE=98 |
9 | | ++ SMF_EXIT_ERR_NOSMF=99 |
10 | | ++ SMF_EXIT_ERR_PERM=100 |
11 | | ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default |
12 | | + DATALINK=oxControlService23 |
13 | | ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default |
14 | | + GATEWAY=fd00:1122:3344:101::1 |
15 | | ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default |
16 | | + DATASET=oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible |
17 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
18 | | + LISTEN_ADDR=fd00:1122:3344:101::14 |
19 | | ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default |
20 | | + LISTEN_PORT=32345 |
21 | | ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default |
22 | | + PORTBASE=19000 |
23 | | ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default |
24 | | + DOWNSTAIRS_PREFIX=downstairs |
25 | | ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default |
26 | | + SNAPSHOT_PREFIX=snapshot |
27 | | + [[ oxControlService23 == unknown ]] |
28 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
29 | | + ipadm delete-if oxControlService23 |
30 | | ipadm: Could not delete oxControlService23: Interface does not exist |
31 | | + true |
32 | | + ipadm create-if -t oxControlService23 |
33 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 |
34 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 |
35 | | + ipadm show-addr oxControlService23/ll |
36 | | ipadm: Address object not found |
37 | | + ipadm create-addr -t -T addrconf oxControlService23/ll |
38 | | + ipadm show-addr oxControlService23/omicron6 |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService23/omicron6 |
41 | | + route get -inet6 default -inet6 fd00:1122:3344:101::1 |
42 | | default: not in table |
43 | | + route add -inet6 default -inet6 fd00:1122:3344:101::1 |
44 | | add net default: gateway fd00:1122:3344:101::1 |
45 | | + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX") |
46 | | + 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 |
47 | | note: configured to log to "/dev/stdout" |
48 | 2024-02-09T21:15:03.009Z | INFO | crucible-agent: dataset: "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible"
|
49 | 2024-02-09T21:15:03.014Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::14]:32345
|
50 | 2024-02-09T21:15:03.014Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
51 | 2024-02-09T21:15:03.414Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::14]:32345
|
52 | 2024-02-09T21:15:51.561Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:34299
|
53 | 2024-02-09T21:15:51.594Z | INFO | crucible-agent (datafile): region c7d49ef8-43b6-4cd2-b630-78800b30e4ff state: Requested
|
54 | 2024-02-09T21:15:51.594Z | INFO | crucible-agent (dropshot): request completed
latency_us = 510
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:34299
req_id = d806a268-699c-40db-9981-86a8ae4cb8bf
response_code = 200
uri = /crucible/0/regions
|
55 | 2024-02-09T21:15:51.598Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
56 | 2024-02-09T21:15:51.608Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
57 | 2024-02-09T21:15:51.608Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
58 | 2024-02-09T21:15:51.656Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("c7d49ef8-43b6-4cd2-b630-78800b30e4ff"), 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/c7d49ef8-43b6-4cd2-b630-78800b30e4ff"
region = c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
59 | 2024-02-09T21:15:51.814Z | INFO | crucible-agent (dropshot): request completed
latency_us = 92
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:34299
req_id = 81a4eb2e-a171-4ef1-85b0-9724573b131c
response_code = 200
uri = /crucible/0/regions
|
60 | 2024-02-09T21:15:51.944Z | INFO | crucible-agent (worker): region files created ok
region = c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
61 | 2024-02-09T21:15:51.944Z | INFO | crucible-agent (datafile): region c7d49ef8-43b6-4cd2-b630-78800b30e4ff state: Requested -> Created
|
62 | 2024-02-09T21:15:51.944Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
63 | 2024-02-09T21:15:51.945Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
64 | 2024-02-09T21:15:51.948Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
65 | 2024-02-09T21:15:51.955Z | INFO | crucible-agent (worker): creating config property group
|
66 | 2024-02-09T21:15:51.959Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
67 | 2024-02-09T21:15:51.960Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
68 | 2024-02-09T21:15:51.960Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
69 | 2024-02-09T21:15:51.960Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
|
70 | 2024-02-09T21:15:51.960Z | INFO | crucible-agent (worker): commit
|
71 | 2024-02-09T21:15:51.964Z | INFO | crucible-agent (worker): ok!
|
72 | 2024-02-09T21:15:51.969Z | INFO | crucible-agent (worker): SMF ok!
|
73 | 2024-02-09T21:15:52.367Z | INFO | crucible-agent (dropshot): request completed
latency_us = 885
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:34299
req_id = ac7010c6-0205-435c-bc07-02dc9078b25d
response_code = 200
uri = /crucible/0/regions
|
74 | 2024-02-09T21:21:10.545Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:48723
|
75 | 2024-02-09T21:21:10.545Z | INFO | crucible-agent (dropshot): request completed
latency_us = 71
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:48723
req_id = 85382754-2bbb-4dd7-8680-8323571fd63d
response_code = 200
uri = /crucible/0/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
76 | 2024-02-09T21:21:10.552Z | INFO | crucible-agent (datafile): path is "/data/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff"
|
77 | 2024-02-09T21:21:10.561Z | INFO | crucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
78 | 2024-02-09T21:21:10.571Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff@e87c0167-6998-4bf8-af64-707862a62d62
|
79 | 2024-02-09T21:21:10.571Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff", "e87c0167-6998-4bf8-af64-707862a62d62"]
|
80 | 2024-02-09T21:21:10.583Z | INFO | crucible-agent (dropshot): request completed
latency_us = 37455
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:48723
req_id = db9fd43e-96ad-4ec3-a84f-f6fdc14b4d9a
response_code = 200
uri = /crucible/0/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff/snapshots/e87c0167-6998-4bf8-af64-707862a62d62
|
81 | 2024-02-09T21:21:10.584Z | INFO | crucible-agent (datafile): path is "/data/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff"
|
82 | 2024-02-09T21:21:10.592Z | INFO | crucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff
|
83 | 2024-02-09T21:21:10.602Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff@e87c0167-6998-4bf8-af64-707862a62d62
|
84 | 2024-02-09T21:21:10.602Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff", "e87c0167-6998-4bf8-af64-707862a62d62"]
|
85 | 2024-02-09T21:21:10.611Z | INFO | crucible-agent (datafile): requesting running snapshot c7d49ef8-43b6-4cd2-b630-78800b30e4ff-e87c0167-6998-4bf8-af64-707862a62d62 state: Requested
|
86 | 2024-02-09T21:21:10.611Z | INFO | crucible-agent (worker): applying SMF actions for region c7d49ef8-43b6-4cd2-b630-78800b30e4ff running snapshot e87c0167-6998-4bf8-af64-707862a62d62 (state Requested)...
|
87 | 2024-02-09T21:21:10.611Z | INFO | crucible-agent (dropshot): request completed
latency_us = 28184
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:48723
req_id = 10811a43-06bc-4768-8c5f-2d0f8fa4b9a0
response_code = 200
uri = /crucible/0/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff/snapshots/e87c0167-6998-4bf8-af64-707862a62d62/run
|
88 | 2024-02-09T21:21:10.617Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-c7d49ef8-43b6-4cd2-b630-78800b30e4ff-e87c0167-6998-4bf8-af64-707862a62d62
|
89 | 2024-02-09T21:21:10.621Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-c7d49ef8-43b6-4cd2-b630-78800b30e4ff-e87c0167-6998-4bf8-af64-707862a62d62
|
90 | 2024-02-09T21:21:10.631Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-c7d49ef8-43b6-4cd2-b630-78800b30e4ff-e87c0167-6998-4bf8-af64-707862a62d62
|
91 | 2024-02-09T21:21:10.631Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/c7d49ef8-43b6-4cd2-b630-78800b30e4ff/.zfs/snapshot/e87c0167-6998-4bf8-af64-707862a62d62
|
92 | 2024-02-09T21:21:10.631Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
93 | 2024-02-09T21:21:10.632Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
94 | 2024-02-09T21:21:10.632Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
|
95 | 2024-02-09T21:21:10.632Z | INFO | crucible-agent (worker): commit
|
96 | 2024-02-09T21:21:10.637Z | INFO | crucible-agent (worker): ok!
|
97 | 2024-02-09T21:21:10.642Z | INFO | crucible-agent (worker): SMF ok!
|
98 | 2024-02-09T21:21:10.642Z | INFO | crucible-agent (datafile): region c7d49ef8-43b6-4cd2-b630-78800b30e4ff running snapshot e87c0167-6998-4bf8-af64-707862a62d62 state: Requested -> Created
|