1 | | [ Nov 8 20:21:06 Enabled. ] |
2 | | [ Nov 8 20:21:06 Rereading configuration. ] |
3 | | [ Nov 8 20:21:08 Rereading configuration. ] |
4 | | [ Nov 8 20:21: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=oxControlService13 |
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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/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 | | + [[ oxControlService13 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService13 |
33 | | ipadm: Could not delete oxControlService13: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService13 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 |
38 | | + ipadm show-addr oxControlService13/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService13/ll |
41 | | + ipadm show-addr oxControlService13/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService13/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-11-08T20:21:11.719Z | INFO | crucible-agent: dataset: "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible"
|
52 | 2023-11-08T20:21:11.723Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::17]:32345
|
53 | 2023-11-08T20:21:11.723Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-11-08T20:21:12.072Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::17]:32345
|
55 | 2023-11-08T20:22:23.859Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::b]:44230
|
56 | 2023-11-08T20:22:23.863Z | INFO | crucible-agent (datafile): region 0dc82a22-d012-41ad-a8fd-b240dc3db0bd state: Requested
|
57 | 2023-11-08T20:22:23.864Z | INFO | crucible-agent (dropshot): request completed
latency_us = 2488
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:44230
req_id = 27633516-8251-4203-9142-3cf904ee898e
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-11-08T20:22:23.865Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2023-11-08T20:22:23.874Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
60 | 2023-11-08T20:22:23.874Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
61 | 2023-11-08T20:22:23.930Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("0dc82a22-d012-41ad-a8fd-b240dc3db0bd"), 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/0dc82a22-d012-41ad-a8fd-b240dc3db0bd"
region = 0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
62 | 2023-11-08T20:22:24.099Z | INFO | crucible-agent (worker): region files created ok
region = 0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
63 | 2023-11-08T20:22:24.099Z | INFO | crucible-agent (datafile): region 0dc82a22-d012-41ad-a8fd-b240dc3db0bd state: Requested -> Created
|
64 | 2023-11-08T20:22:24.099Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2023-11-08T20:22:24.099Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
66 | 2023-11-08T20:22:24.103Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
67 | 2023-11-08T20:22:24.112Z | INFO | crucible-agent (worker): creating config property group
|
68 | 2023-11-08T20:22:24.115Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
69 | 2023-11-08T20:22:24.116Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
70 | 2023-11-08T20:22:24.116Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
71 | 2023-11-08T20:22:24.116Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
72 | 2023-11-08T20:22:24.116Z | INFO | crucible-agent (worker): commit
|
73 | 2023-11-08T20:22:24.120Z | INFO | crucible-agent (worker): ok!
|
74 | 2023-11-08T20:22:24.129Z | INFO | crucible-agent (worker): SMF ok!
|
75 | 2023-11-08T20:22:24.130Z | INFO | crucible-agent (dropshot): request completed
latency_us = 77
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:44230
req_id = 01166130-6769-48e2-b562-c57d8b770149
response_code = 200
uri = /crucible/0/regions
|
76 | 2023-11-08T20:22:24.881Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::b]:38174
|
77 | 2023-11-08T20:22:24.944Z | INFO | crucible-agent (dropshot): request completed
latency_us = 131
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:38174
req_id = 92416804-0913-430e-87d3-7641ff885e76
response_code = 200
uri = /crucible/0/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
78 | 2023-11-08T20:22:24.944Z | INFO | crucible-agent (datafile): path is "/data/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd"
|
79 | 2023-11-08T20:22:24.956Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
80 | 2023-11-08T20:22:24.966Z | INFO | crucible-agent (datafile): region 0dc82a22-d012-41ad-a8fd-b240dc3db0bd state: Created -> Tombstoned
|
81 | 2023-11-08T20:22:24.966Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2023-11-08T20:22:24.966Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22278
local_addr = [fd00:1122:3344:101::17]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::b]:38174
req_id = 125d5b60-0d3b-45be-bb27-a46d431a0745
response_code = 204
uri = /crucible/0/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
83 | 2023-11-08T20:22:24.966Z | INFO | crucible-agent (dropshot): request completed
latency_us = 34
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:38174
req_id = 0fe092c1-11ba-4434-a35d-a073d88486f2
response_code = 200
uri = /crucible/0/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
84 | 2023-11-08T20:22:24.967Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-0dc82a22-d012-41ad-a8fd-b240dc3db0bd (instance states: (Some(Online), None))
|
85 | 2023-11-08T20:22:24.976Z | INFO | crucible-agent (worker): SMF ok!
|
86 | 2023-11-08T20:22:24.987Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd"
region = 0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
87 | 2023-11-08T20:22:25.049Z | INFO | crucible-agent (datafile): region 0dc82a22-d012-41ad-a8fd-b240dc3db0bd state: Tombstoned -> Destroyed
|
88 | 2023-11-08T20:22:25.052Z | INFO | crucible-agent (dropshot): request completed
latency_us = 81
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:38174
req_id = 108e13a4-7d9e-42fa-901d-162f4087d978
response_code = 200
uri = /crucible/0/regions/0dc82a22-d012-41ad-a8fd-b240dc3db0bd
|
89 | 2023-11-08T20:22:27.406Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::b]:50601
|
90 | 2023-11-08T20:22:27.437Z | INFO | crucible-agent (datafile): region c03899c7-186d-4237-9181-32398aa228a5 state: Requested
|
91 | 2023-11-08T20:22:27.437Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
92 | 2023-11-08T20:22:27.437Z | INFO | crucible-agent (dropshot): request completed
latency_us = 231
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:50601
req_id = 93da69d0-9c80-4149-a314-90d962d3ff5f
response_code = 200
uri = /crucible/0/regions
|
93 | 2023-11-08T20:22:27.446Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c03899c7-186d-4237-9181-32398aa228a5
|
94 | 2023-11-08T20:22:27.446Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c03899c7-186d-4237-9181-32398aa228a5
|
95 | 2023-11-08T20:22:27.507Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("c03899c7-186d-4237-9181-32398aa228a5"), 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/c03899c7-186d-4237-9181-32398aa228a5"
region = c03899c7-186d-4237-9181-32398aa228a5
|
96 | 2023-11-08T20:22:27.563Z | INFO | crucible-agent (worker): region files created ok
region = c03899c7-186d-4237-9181-32398aa228a5
|
97 | 2023-11-08T20:22:27.563Z | INFO | crucible-agent (datafile): region c03899c7-186d-4237-9181-32398aa228a5 state: Requested -> Created
|
98 | 2023-11-08T20:22:27.563Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
99 | 2023-11-08T20:22:27.565Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-c03899c7-186d-4237-9181-32398aa228a5
|
100 | 2023-11-08T20:22:27.568Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-c03899c7-186d-4237-9181-32398aa228a5
|
101 | 2023-11-08T20:22:27.576Z | INFO | crucible-agent (worker): creating config property group
|
102 | 2023-11-08T20:22:27.579Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-c03899c7-186d-4237-9181-32398aa228a5
|
103 | 2023-11-08T20:22:27.580Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/c03899c7-186d-4237-9181-32398aa228a5
|
104 | 2023-11-08T20:22:27.580Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
105 | 2023-11-08T20:22:27.580Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
106 | 2023-11-08T20:22:27.580Z | INFO | crucible-agent (worker): commit
|
107 | 2023-11-08T20:22:27.583Z | INFO | crucible-agent (worker): ok!
|
108 | 2023-11-08T20:22:27.588Z | INFO | crucible-agent (worker): SMF ok!
|
109 | 2023-11-08T20:22:27.734Z | INFO | crucible-agent (dropshot): request completed
latency_us = 78
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:50601
req_id = bf809d95-8fdb-4659-b34e-0a4be5d0db02
response_code = 200
uri = /crucible/0/regions
|
110 | 2023-11-08T20:25:16.520Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::b]:33695
|
111 | 2023-11-08T20:25:16.551Z | INFO | crucible-agent (dropshot): request completed
latency_us = 54
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:33695
req_id = be025751-cb2f-40ec-a26c-15a066ce8a28
response_code = 200
uri = /crucible/0/regions/c03899c7-186d-4237-9181-32398aa228a5
|
112 | 2023-11-08T20:25:16.551Z | INFO | crucible-agent (datafile): path is "/data/regions/c03899c7-186d-4237-9181-32398aa228a5"
|
113 | 2023-11-08T20:25:16.563Z | INFO | crucible-agent (datafile): dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c03899c7-186d-4237-9181-32398aa228a5
|
114 | 2023-11-08T20:25:16.573Z | INFO | crucible-agent (datafile): region c03899c7-186d-4237-9181-32398aa228a5 state: Created -> Tombstoned
|
115 | 2023-11-08T20:25:16.573Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
116 | 2023-11-08T20:25:16.573Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22573
local_addr = [fd00:1122:3344:101::17]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::b]:33695
req_id = 26dad241-25ae-453d-8799-76904ec40c1a
response_code = 204
uri = /crucible/0/regions/c03899c7-186d-4237-9181-32398aa228a5
|
117 | 2023-11-08T20:25:16.573Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:33695
req_id = 0a796906-64df-49ce-8204-c27433c9600b
response_code = 200
uri = /crucible/0/regions/c03899c7-186d-4237-9181-32398aa228a5
|
118 | 2023-11-08T20:25:16.575Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-c03899c7-186d-4237-9181-32398aa228a5 (instance states: (Some(Online), None))
|
119 | 2023-11-08T20:25:16.588Z | INFO | crucible-agent (worker): SMF ok!
|
120 | 2023-11-08T20:25:16.599Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c03899c7-186d-4237-9181-32398aa228a5"
region = c03899c7-186d-4237-9181-32398aa228a5
|
121 | 2023-11-08T20:25:16.664Z | INFO | crucible-agent (datafile): region c03899c7-186d-4237-9181-32398aa228a5 state: Tombstoned -> Destroyed
|
122 | 2023-11-08T20:25:16.696Z | INFO | crucible-agent (dropshot): request completed
latency_us = 103
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:33695
req_id = fcabc5fd-e733-49c6-871a-27db65267dff
response_code = 200
uri = /crucible/0/regions/c03899c7-186d-4237-9181-32398aa228a5
|