1 | | [ Dec 19 23:02:00 Enabled. ] |
2 | | [ Dec 19 23:02:00 Rereading configuration. ] |
3 | | [ Dec 19 23:02:03 Rereading configuration. ] |
4 | | [ Dec 19 23:02:10 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::17 |
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::17 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-12-19T23:02:11.117Z | INFO | crucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
|
52 | 2023-12-19T23:02:11.121Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::17]:32345
|
53 | 2023-12-19T23:02:11.121Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-12-19T23:02:11.400Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::17]:32345
|
55 | 2023-12-19T23:03:48.882Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::a]:55778
|
56 | 2023-12-19T23:03:48.924Z | INFO | crucible-agent (datafile): region 02b9389f-7b0d-45bf-a009-fc8230b907d7 state: Requested
|
57 | 2023-12-19T23:03:48.925Z | INFO | crucible-agent (dropshot): request completed
latency_us = 8587
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:55778
req_id = 379b369a-0ebc-4ed3-8e8c-4ea20578c9a0
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-12-19T23:03:48.925Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
59 | 2023-12-19T23:03:48.936Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7
|
60 | 2023-12-19T23:03:48.936Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7
|
61 | 2023-12-19T23:03:48.989Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("02b9389f-7b0d-45bf-a009-fc8230b907d7"), 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/02b9389f-7b0d-45bf-a009-fc8230b907d7"
region = 02b9389f-7b0d-45bf-a009-fc8230b907d7
|
62 | 2023-12-19T23:03:49.095Z | INFO | crucible-agent (dropshot): request completed
latency_us = 93
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:55778
req_id = e13bdf35-231c-4d7f-acbf-f16f4adfa7c7
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-12-19T23:03:49.207Z | INFO | crucible-agent (worker): region files created ok
region = 02b9389f-7b0d-45bf-a009-fc8230b907d7
|
64 | 2023-12-19T23:03:49.207Z | INFO | crucible-agent (datafile): region 02b9389f-7b0d-45bf-a009-fc8230b907d7 state: Requested -> Created
|
65 | 2023-12-19T23:03:49.208Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-12-19T23:03:49.208Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-02b9389f-7b0d-45bf-a009-fc8230b907d7
|
67 | 2023-12-19T23:03:49.216Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-02b9389f-7b0d-45bf-a009-fc8230b907d7
|
68 | 2023-12-19T23:03:49.228Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-12-19T23:03:49.231Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-02b9389f-7b0d-45bf-a009-fc8230b907d7
|
70 | 2023-12-19T23:03:49.232Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7
|
71 | 2023-12-19T23:03:49.232Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-12-19T23:03:49.232Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
73 | 2023-12-19T23:03:49.232Z | INFO | crucible-agent (worker): commit
|
74 | 2023-12-19T23:03:49.236Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-12-19T23:03:49.246Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-12-19T23:03:49.488Z | INFO | crucible-agent (dropshot): request completed
latency_us = 81
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:55778
req_id = badbe016-200f-4132-ab26-4e2372ffbb34
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-12-19T23:09:14.646Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::a]:34843
|
78 | 2023-12-19T23:09:14.676Z | INFO | crucible-agent (datafile): region 06af3dcc-80bd-4d17-9b52-6d9564a8c505 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 = 4246
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:34843
req_id = 6f6e0c9c-e18d-4ac6-84e2-28e2de05e729
response_code = 200
uri = /crucible/0/regions
|
81 | 2023-12-19T23:09:14.689Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/06af3dcc-80bd-4d17-9b52-6d9564a8c505
|
82 | 2023-12-19T23:09:14.689Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/06af3dcc-80bd-4d17-9b52-6d9564a8c505
|
83 | 2023-12-19T23:09:14.742Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("06af3dcc-80bd-4d17-9b52-6d9564a8c505"), 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/06af3dcc-80bd-4d17-9b52-6d9564a8c505"
region = 06af3dcc-80bd-4d17-9b52-6d9564a8c505
|
84 | 2023-12-19T23:09:14.829Z | INFO | crucible-agent (dropshot): request completed
latency_us = 623
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:34843
req_id = 880a99a9-a322-41ae-abe1-c2520ef13774
response_code = 200
uri = /crucible/0/regions
|
85 | 2023-12-19T23:09:14.882Z | INFO | crucible-agent (worker): region files created ok
region = 06af3dcc-80bd-4d17-9b52-6d9564a8c505
|
86 | 2023-12-19T23:09:14.882Z | INFO | crucible-agent (datafile): region 06af3dcc-80bd-4d17-9b52-6d9564a8c505 state: Requested -> Created
|
87 | 2023-12-19T23:09:14.882Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
88 | 2023-12-19T23:09:14.890Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-06af3dcc-80bd-4d17-9b52-6d9564a8c505
|
89 | 2023-12-19T23:09:14.894Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-06af3dcc-80bd-4d17-9b52-6d9564a8c505
|
90 | 2023-12-19T23:09:14.907Z | INFO | crucible-agent (worker): creating config property group
|
91 | 2023-12-19T23:09:14.910Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-06af3dcc-80bd-4d17-9b52-6d9564a8c505
|
92 | 2023-12-19T23:09:14.910Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/06af3dcc-80bd-4d17-9b52-6d9564a8c505
|
93 | 2023-12-19T23:09:14.911Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
94 | 2023-12-19T23:09:14.911Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
95 | 2023-12-19T23:09:14.911Z | INFO | crucible-agent (worker): commit
|
96 | 2023-12-19T23:09:14.914Z | INFO | crucible-agent (worker): ok!
|
97 | 2023-12-19T23:09:14.918Z | INFO | crucible-agent (worker): SMF ok!
|
98 | 2023-12-19T23:09:15.535Z | INFO | crucible-agent (dropshot): request completed
latency_us = 553
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:34843
req_id = f816ea55-7f35-4325-935c-94634216a894
response_code = 200
uri = /crucible/0/regions
|
99 | 2023-12-19T23:09:16.009Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::a]:33712
|
100 | 2023-12-19T23:09:16.011Z | INFO | crucible-agent (dropshot): request completed
latency_us = 2446
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:33712
req_id = fd7051b5-b1bc-4cea-bdc8-52fb0b7efc3f
response_code = 200
uri = /crucible/0/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7
|
101 | 2023-12-19T23:09:16.012Z | INFO | crucible-agent (datafile): path is "/data/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7"
|
102 | 2023-12-19T23:09:16.022Z | INFO | crucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7
|
103 | 2023-12-19T23:09:16.031Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7@f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
104 | 2023-12-19T23:09:16.031Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7", "f52bac84-3c6e-4589-a377-3af5b7e2cbc8"]
|
105 | 2023-12-19T23:09:16.044Z | INFO | crucible-agent (dropshot): request completed
latency_us = 32906
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:33712
req_id = b570eff0-4f54-4568-b87b-8e309f331401
response_code = 200
uri = /crucible/0/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7/snapshots/f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
106 | 2023-12-19T23:09:16.044Z | INFO | crucible-agent (datafile): path is "/data/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7"
|
107 | 2023-12-19T23:09:16.055Z | INFO | crucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7
|
108 | 2023-12-19T23:09:16.063Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7@f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
109 | 2023-12-19T23:09:16.063Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7", "f52bac84-3c6e-4589-a377-3af5b7e2cbc8"]
|
110 | 2023-12-19T23:09:16.072Z | INFO | crucible-agent (datafile): requesting running snapshot 02b9389f-7b0d-45bf-a009-fc8230b907d7-f52bac84-3c6e-4589-a377-3af5b7e2cbc8 state: Requested
|
111 | 2023-12-19T23:09:16.072Z | INFO | crucible-agent (worker): applying SMF actions for region 02b9389f-7b0d-45bf-a009-fc8230b907d7 running snapshot f52bac84-3c6e-4589-a377-3af5b7e2cbc8 (state Requested)...
|
112 | 2023-12-19T23:09:16.072Z | INFO | crucible-agent (dropshot): request completed
latency_us = 27847
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:33712
req_id = c685b4be-c284-424a-b75e-cc1d292039a0
response_code = 200
uri = /crucible/0/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7/snapshots/f52bac84-3c6e-4589-a377-3af5b7e2cbc8/run
|
113 | 2023-12-19T23:09:16.074Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-02b9389f-7b0d-45bf-a009-fc8230b907d7-f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
114 | 2023-12-19T23:09:16.077Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-02b9389f-7b0d-45bf-a009-fc8230b907d7-f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
115 | 2023-12-19T23:09:16.089Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-02b9389f-7b0d-45bf-a009-fc8230b907d7-f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
116 | 2023-12-19T23:09:16.089Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/02b9389f-7b0d-45bf-a009-fc8230b907d7/.zfs/snapshot/f52bac84-3c6e-4589-a377-3af5b7e2cbc8
|
117 | 2023-12-19T23:09:16.089Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19002
|
118 | 2023-12-19T23:09:16.089Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
119 | 2023-12-19T23:09:16.089Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
120 | 2023-12-19T23:09:16.089Z | INFO | crucible-agent (worker): commit
|
121 | 2023-12-19T23:09:16.095Z | INFO | crucible-agent (worker): ok!
|
122 | 2023-12-19T23:09:16.100Z | INFO | crucible-agent (worker): SMF ok!
|
123 | 2023-12-19T23:09:16.100Z | INFO | crucible-agent (datafile): region 02b9389f-7b0d-45bf-a009-fc8230b907d7 running snapshot f52bac84-3c6e-4589-a377-3af5b7e2cbc8 state: Requested -> Created
|