1 | | [ Feb 6 17:04:34 Enabled. ] |
2 | | [ Feb 6 17:04:34 Rereading configuration. ] |
3 | | [ Feb 6 17:04:38 Rereading configuration. ] |
4 | | [ Feb 6 17:04:45 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-02-06T17:04:46.616Z | INFO | crucible-agent: dataset: "oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible"
|
52 | 2024-02-06T17:04:46.621Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::15]:32345
|
53 | 2024-02-06T17:04:46.621Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-02-06T17:04:46.811Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::15]:32345
|
55 | 2024-02-06T17:05:39.009Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::b]:45598
|
56 | 2024-02-06T17:05:39.077Z | INFO | crucible-agent (datafile): region fb0a0998-fc76-4022-91bd-f79baf20e90a state: Requested
|
57 | 2024-02-06T17:05:39.077Z | INFO | crucible-agent (dropshot): request completed
latency_us = 6676
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:45598
req_id = 0795116f-d1ef-4d4b-910e-93a3e0220360
response_code = 200
uri = /crucible/0/regions
|
58 | 2024-02-06T17:05:39.078Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2024-02-06T17:05:39.088Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
|
60 | 2024-02-06T17:05:39.088Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
|
61 | 2024-02-06T17:05:39.155Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("fb0a0998-fc76-4022-91bd-f79baf20e90a"), 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/fb0a0998-fc76-4022-91bd-f79baf20e90a"
region = fb0a0998-fc76-4022-91bd-f79baf20e90a
|
62 | 2024-02-06T17:05:39.299Z | INFO | crucible-agent (worker): region files created ok
region = fb0a0998-fc76-4022-91bd-f79baf20e90a
|
63 | 2024-02-06T17:05:39.299Z | INFO | crucible-agent (datafile): region fb0a0998-fc76-4022-91bd-f79baf20e90a state: Requested -> Created
|
64 | 2024-02-06T17:05:39.299Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2024-02-06T17:05:39.300Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-fb0a0998-fc76-4022-91bd-f79baf20e90a
|
66 | 2024-02-06T17:05:39.304Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-fb0a0998-fc76-4022-91bd-f79baf20e90a
|
67 | 2024-02-06T17:05:39.313Z | INFO | crucible-agent (dropshot): request completed
latency_us = 69
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::b]:45598
req_id = 2abe8bf1-5393-49ae-a8ce-b9eaf5a9abd1
response_code = 200
uri = /crucible/0/regions
|
68 | 2024-02-06T17:05:39.315Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-02-06T17:05:39.319Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-fb0a0998-fc76-4022-91bd-f79baf20e90a
|
70 | 2024-02-06T17:05:39.320Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
|
71 | 2024-02-06T17:05:39.322Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-02-06T17:05:39.322Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
73 | 2024-02-06T17:05:39.322Z | INFO | crucible-agent (worker): commit
|
74 | 2024-02-06T17:05:39.329Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-02-06T17:05:39.334Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-02-06T17:05:40.640Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::b]:54754
|
77 | 2024-02-06T17:05:40.641Z | INFO | crucible-agent (dropshot): request completed
latency_us = 513
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:54754
req_id = 55b720d8-d7c4-49e5-b2d1-dcf857404cdb
response_code = 200
uri = /crucible/0/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
|
78 | 2024-02-06T17:05:40.641Z | INFO | crucible-agent (datafile): path is "/data/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a"
|
79 | 2024-02-06T17:05:40.651Z | INFO | crucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
|
80 | 2024-02-06T17:05:40.660Z | INFO | crucible-agent (datafile): region fb0a0998-fc76-4022-91bd-f79baf20e90a state: Created -> Tombstoned
|
81 | 2024-02-06T17:05:40.661Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2024-02-06T17:05:40.661Z | INFO | crucible-agent (dropshot): request completed
latency_us = 19773
local_addr = [fd00:1122:3344:101::15]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::b]:54754
req_id = 8dae7eab-3c29-4996-afb2-be56c32d95ba
response_code = 204
uri = /crucible/0/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
|
83 | 2024-02-06T17:05:40.661Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:54754
req_id = b181ae93-114d-46c8-aa69-93d506293bff
response_code = 200
uri = /crucible/0/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
|
84 | 2024-02-06T17:05:40.662Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-fb0a0998-fc76-4022-91bd-f79baf20e90a (instance states: (Some(Online), None))
|
85 | 2024-02-06T17:05:40.666Z | INFO | crucible-agent (worker): SMF ok!
|
86 | 2024-02-06T17:05:40.675Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a"
region = fb0a0998-fc76-4022-91bd-f79baf20e90a
|
87 | 2024-02-06T17:05:40.736Z | INFO | crucible-agent (datafile): region fb0a0998-fc76-4022-91bd-f79baf20e90a state: Tombstoned -> Destroyed
|
88 | 2024-02-06T17:05:40.758Z | INFO | crucible-agent (dropshot): request completed
latency_us = 70
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::b]:54754
req_id = 27c4d763-1749-46c3-9c1a-27342582e0c4
response_code = 200
uri = /crucible/0/regions/fb0a0998-fc76-4022-91bd-f79baf20e90a
|
89 | 2024-02-06T17:06:23.675Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::a]:41341
|
90 | 2024-02-06T17:06:23.676Z | INFO | crucible-agent (datafile): region f7883d29-84da-464f-a66a-a94f5c7a0e5d state: Requested
|
91 | 2024-02-06T17:06:23.676Z | INFO | crucible-agent (dropshot): request completed
latency_us = 971
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:41341
req_id = 277d33dd-b224-4932-8c43-0fac90faa71a
response_code = 200
uri = /crucible/0/regions
|
92 | 2024-02-06T17:06:23.676Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
93 | 2024-02-06T17:06:23.685Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
94 | 2024-02-06T17:06:23.685Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
95 | 2024-02-06T17:06:23.739Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("f7883d29-84da-464f-a66a-a94f5c7a0e5d"), 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/f7883d29-84da-464f-a66a-a94f5c7a0e5d"
region = f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
96 | 2024-02-06T17:06:23.808Z | INFO | crucible-agent (worker): region files created ok
region = f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
97 | 2024-02-06T17:06:23.808Z | INFO | crucible-agent (datafile): region f7883d29-84da-464f-a66a-a94f5c7a0e5d state: Requested -> Created
|
98 | 2024-02-06T17:06:23.808Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
99 | 2024-02-06T17:06:23.809Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
100 | 2024-02-06T17:06:23.812Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
101 | 2024-02-06T17:06:23.819Z | INFO | crucible-agent (worker): creating config property group
|
102 | 2024-02-06T17:06:23.822Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
103 | 2024-02-06T17:06:23.822Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
104 | 2024-02-06T17:06:23.822Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
105 | 2024-02-06T17:06:23.822Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
106 | 2024-02-06T17:06:23.822Z | INFO | crucible-agent (worker): commit
|
107 | 2024-02-06T17:06:23.826Z | INFO | crucible-agent (worker): ok!
|
108 | 2024-02-06T17:06:23.832Z | INFO | crucible-agent (worker): SMF ok!
|
109 | 2024-02-06T17:06:23.992Z | INFO | crucible-agent (dropshot): request completed
latency_us = 67
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:41341
req_id = 28ece9ae-dd4b-4ab7-aaa5-d2935da780b7
response_code = 200
uri = /crucible/0/regions
|
110 | 2024-02-06T17:12:06.538Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::a]:45849
|
111 | 2024-02-06T17:12:06.538Z | INFO | crucible-agent (dropshot): request completed
latency_us = 56
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:45849
req_id = c450d9d7-f6f5-47a0-b3f4-be2d00d4520c
response_code = 200
uri = /crucible/0/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
112 | 2024-02-06T17:12:06.542Z | INFO | crucible-agent (datafile): path is "/data/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d"
|
113 | 2024-02-06T17:12:06.551Z | INFO | crucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
114 | 2024-02-06T17:12:06.559Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d@7b23de1a-c7ea-4c85-9c25-9375bdee1c71
|
115 | 2024-02-06T17:12:06.559Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d", "7b23de1a-c7ea-4c85-9c25-9375bdee1c71"]
|
116 | 2024-02-06T17:12:06.570Z | INFO | crucible-agent (dropshot): request completed
latency_us = 31980
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:45849
req_id = 48e23644-f97f-46ff-9f77-9ac39c127bf2
response_code = 200
uri = /crucible/0/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d/snapshots/7b23de1a-c7ea-4c85-9c25-9375bdee1c71
|
117 | 2024-02-06T17:12:06.570Z | INFO | crucible-agent (datafile): path is "/data/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d"
|
118 | 2024-02-06T17:12:06.579Z | INFO | crucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d
|
119 | 2024-02-06T17:12:06.587Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d@7b23de1a-c7ea-4c85-9c25-9375bdee1c71
|
120 | 2024-02-06T17:12:06.587Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d", "7b23de1a-c7ea-4c85-9c25-9375bdee1c71"]
|
121 | 2024-02-06T17:12:06.596Z | INFO | crucible-agent (datafile): requesting running snapshot f7883d29-84da-464f-a66a-a94f5c7a0e5d-7b23de1a-c7ea-4c85-9c25-9375bdee1c71 state: Requested
|
122 | 2024-02-06T17:12:06.597Z | INFO | crucible-agent (worker): applying SMF actions for region f7883d29-84da-464f-a66a-a94f5c7a0e5d running snapshot 7b23de1a-c7ea-4c85-9c25-9375bdee1c71 (state Requested)...
|
123 | 2024-02-06T17:12:06.597Z | INFO | crucible-agent (dropshot): request completed
latency_us = 26420
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:45849
req_id = 1acc4d73-0b02-4f54-bf29-674811bead5f
response_code = 200
uri = /crucible/0/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d/snapshots/7b23de1a-c7ea-4c85-9c25-9375bdee1c71/run
|
124 | 2024-02-06T17:12:06.601Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-f7883d29-84da-464f-a66a-a94f5c7a0e5d-7b23de1a-c7ea-4c85-9c25-9375bdee1c71
|
125 | 2024-02-06T17:12:06.611Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-f7883d29-84da-464f-a66a-a94f5c7a0e5d-7b23de1a-c7ea-4c85-9c25-9375bdee1c71
|
126 | 2024-02-06T17:12:06.630Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-f7883d29-84da-464f-a66a-a94f5c7a0e5d-7b23de1a-c7ea-4c85-9c25-9375bdee1c71
|
127 | 2024-02-06T17:12:06.630Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/f7883d29-84da-464f-a66a-a94f5c7a0e5d/.zfs/snapshot/7b23de1a-c7ea-4c85-9c25-9375bdee1c71
|
128 | 2024-02-06T17:12:06.630Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
129 | 2024-02-06T17:12:06.630Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
130 | 2024-02-06T17:12:06.630Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
131 | 2024-02-06T17:12:06.630Z | INFO | crucible-agent (worker): commit
|
132 | 2024-02-06T17:12:06.637Z | INFO | crucible-agent (worker): ok!
|
133 | 2024-02-06T17:12:06.646Z | INFO | crucible-agent (worker): SMF ok!
|
134 | 2024-02-06T17:12:06.646Z | INFO | crucible-agent (datafile): region f7883d29-84da-464f-a66a-a94f5c7a0e5d running snapshot 7b23de1a-c7ea-4c85-9c25-9375bdee1c71 state: Requested -> Created
|