1 | | [ Feb 1 23:04:40 Enabled. ] |
2 | | [ Feb 1 23:04:40 Rereading configuration. ] |
3 | | [ Feb 1 23:04:41 Rereading configuration. ] |
4 | | [ Feb 1 23: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=oxControlService17 |
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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::14 |
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 | | + [[ oxControlService17 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService17 |
33 | | ipadm: Could not delete oxControlService17: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService17 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 |
38 | | + ipadm show-addr oxControlService17/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService17/ll |
41 | | + ipadm show-addr oxControlService17/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService17/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-02-01T23:04:46.149Z | INFO | crucible-agent: dataset: "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible"
|
52 | 2024-02-01T23:04:46.156Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::14]:32345
|
53 | 2024-02-01T23:04:46.156Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-02-01T23:04:46.374Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::14]:32345
|
55 | 2024-02-01T23:06:20.135Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:37923
|
56 | 2024-02-01T23:06:20.140Z | INFO | crucible-agent (datafile): region 0277934e-a002-4846-8492-d9b0e46438d4 state: Requested
|
57 | 2024-02-01T23:06:20.141Z | INFO | crucible-agent (dropshot): request completed
latency_us = 3000
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:37923
req_id = 4a1aa594-0732-4155-8fab-3fe7f950d5e8
response_code = 200
uri = /crucible/0/regions
|
58 | 2024-02-01T23:06:20.144Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
59 | 2024-02-01T23:06:20.154Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/0277934e-a002-4846-8492-d9b0e46438d4
|
60 | 2024-02-01T23:06:20.154Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/0277934e-a002-4846-8492-d9b0e46438d4
|
61 | 2024-02-01T23:06:20.217Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("0277934e-a002-4846-8492-d9b0e46438d4"), 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/0277934e-a002-4846-8492-d9b0e46438d4"
region = 0277934e-a002-4846-8492-d9b0e46438d4
|
62 | 2024-02-01T23:06:20.304Z | INFO | crucible-agent (dropshot): request completed
latency_us = 71
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:37923
req_id = 504eb733-25d5-4030-8090-b9dd54a3b6e5
response_code = 200
uri = /crucible/0/regions
|
63 | 2024-02-01T23:06:20.559Z | INFO | crucible-agent (worker): region files created ok
region = 0277934e-a002-4846-8492-d9b0e46438d4
|
64 | 2024-02-01T23:06:20.559Z | INFO | crucible-agent (datafile): region 0277934e-a002-4846-8492-d9b0e46438d4 state: Requested -> Created
|
65 | 2024-02-01T23:06:20.559Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2024-02-01T23:06:20.560Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-0277934e-a002-4846-8492-d9b0e46438d4
|
67 | 2024-02-01T23:06:20.565Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-0277934e-a002-4846-8492-d9b0e46438d4
|
68 | 2024-02-01T23:06:20.574Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-02-01T23:06:20.577Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-0277934e-a002-4846-8492-d9b0e46438d4
|
70 | 2024-02-01T23:06:20.578Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/0277934e-a002-4846-8492-d9b0e46438d4
|
71 | 2024-02-01T23:06:20.578Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-02-01T23:06:20.578Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
|
73 | 2024-02-01T23:06:20.578Z | INFO | crucible-agent (worker): commit
|
74 | 2024-02-01T23:06:20.583Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-02-01T23:06:20.587Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-02-01T23:06:21.024Z | INFO | crucible-agent (dropshot): request completed
latency_us = 63
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:37923
req_id = 1461fefe-2e89-4084-9ddc-32b10fdb8dd5
response_code = 200
uri = /crucible/0/regions
|
77 | 2024-02-01T23:11:46.878Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:42550
|
78 | 2024-02-01T23:11:46.878Z | INFO | crucible-agent (dropshot): request completed
latency_us = 79
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42550
req_id = 1cfbe9b0-5ccb-4604-8886-18ae71b97290
response_code = 200
uri = /crucible/0/regions/0277934e-a002-4846-8492-d9b0e46438d4
|
79 | 2024-02-01T23:11:46.886Z | INFO | crucible-agent (datafile): path is "/data/regions/0277934e-a002-4846-8492-d9b0e46438d4"
|
80 | 2024-02-01T23:11:46.896Z | INFO | crucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/0277934e-a002-4846-8492-d9b0e46438d4
|
81 | 2024-02-01T23:11:46.905Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/0277934e-a002-4846-8492-d9b0e46438d4@02bf3710-1c87-41ec-aee5-3f0193287fee
|
82 | 2024-02-01T23:11:46.905Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/0277934e-a002-4846-8492-d9b0e46438d4", "02bf3710-1c87-41ec-aee5-3f0193287fee"]
|
83 | 2024-02-01T23:11:46.916Z | INFO | crucible-agent (dropshot): request completed
latency_us = 35634
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42550
req_id = c6910e70-fda5-4466-9dcf-aace9226c62a
response_code = 200
uri = /crucible/0/regions/0277934e-a002-4846-8492-d9b0e46438d4/snapshots/02bf3710-1c87-41ec-aee5-3f0193287fee
|
84 | 2024-02-01T23:11:46.916Z | INFO | crucible-agent (datafile): path is "/data/regions/0277934e-a002-4846-8492-d9b0e46438d4"
|
85 | 2024-02-01T23:11:46.925Z | INFO | crucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/0277934e-a002-4846-8492-d9b0e46438d4
|
86 | 2024-02-01T23:11:46.934Z | INFO | crucible-agent (ZfsSnapshotInterface): snapshot is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/0277934e-a002-4846-8492-d9b0e46438d4@02bf3710-1c87-41ec-aee5-3f0193287fee
|
87 | 2024-02-01T23:11:46.934Z | INFO | crucible-agent (ZfsSnapshotInterface): parts is ["oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/0277934e-a002-4846-8492-d9b0e46438d4", "02bf3710-1c87-41ec-aee5-3f0193287fee"]
|
88 | 2024-02-01T23:11:46.943Z | INFO | crucible-agent (datafile): requesting running snapshot 0277934e-a002-4846-8492-d9b0e46438d4-02bf3710-1c87-41ec-aee5-3f0193287fee state: Requested
|
89 | 2024-02-01T23:11:46.944Z | INFO | crucible-agent (worker): applying SMF actions for region 0277934e-a002-4846-8492-d9b0e46438d4 running snapshot 02bf3710-1c87-41ec-aee5-3f0193287fee (state Requested)...
|
90 | 2024-02-01T23:11:46.944Z | INFO | crucible-agent (dropshot): request completed
latency_us = 27438
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:42550
req_id = bf4285c1-d852-4563-9ffb-6da63cdbe9d1
response_code = 200
uri = /crucible/0/regions/0277934e-a002-4846-8492-d9b0e46438d4/snapshots/02bf3710-1c87-41ec-aee5-3f0193287fee/run
|
91 | 2024-02-01T23:11:46.950Z | INFO | crucible-agent (worker): creating missing snapshot instance snapshot-0277934e-a002-4846-8492-d9b0e46438d4-02bf3710-1c87-41ec-aee5-3f0193287fee
|
92 | 2024-02-01T23:11:46.953Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:snapshot-0277934e-a002-4846-8492-d9b0e46438d4-02bf3710-1c87-41ec-aee5-3f0193287fee
|
93 | 2024-02-01T23:11:46.966Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:snapshot-0277934e-a002-4846-8492-d9b0e46438d4-02bf3710-1c87-41ec-aee5-3f0193287fee
|
94 | 2024-02-01T23:11:46.966Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/0277934e-a002-4846-8492-d9b0e46438d4/.zfs/snapshot/02bf3710-1c87-41ec-aee5-3f0193287fee
|
95 | 2024-02-01T23:11:46.966Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
96 | 2024-02-01T23:11:46.966Z | INFO | crucible-agent (worker): ensure mode SCF_TYPE_ASTRING ro
|
97 | 2024-02-01T23:11:46.966Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
|
98 | 2024-02-01T23:11:46.966Z | INFO | crucible-agent (worker): commit
|
99 | 2024-02-01T23:11:46.970Z | INFO | crucible-agent (worker): ok!
|
100 | 2024-02-01T23:11:46.974Z | INFO | crucible-agent (worker): SMF ok!
|
101 | 2024-02-01T23:11:46.974Z | INFO | crucible-agent (datafile): region 0277934e-a002-4846-8492-d9b0e46438d4 running snapshot 02bf3710-1c87-41ec-aee5-3f0193287fee state: Requested -> Created
|
102 | 2024-02-01T23:11:49.664Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:56868
|
103 | 2024-02-01T23:11:49.727Z | INFO | crucible-agent (datafile): region cd8bfa46-8372-403d-992a-0383d7b4ddc1 state: Requested
|
104 | 2024-02-01T23:11:49.727Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
105 | 2024-02-01T23:11:49.727Z | INFO | crucible-agent (dropshot): request completed
latency_us = 1093
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:56868
req_id = 6de392df-633d-44d5-9ef7-ecd83334a9eb
response_code = 200
uri = /crucible/0/regions
|
106 | 2024-02-01T23:11:49.736Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
107 | 2024-02-01T23:11:49.736Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
108 | 2024-02-01T23:11:49.807Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("cd8bfa46-8372-403d-992a-0383d7b4ddc1"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19002, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1"
region = cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
109 | 2024-02-01T23:11:49.909Z | INFO | crucible-agent (worker): region files created ok
region = cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
110 | 2024-02-01T23:11:49.909Z | INFO | crucible-agent (datafile): region cd8bfa46-8372-403d-992a-0383d7b4ddc1 state: Requested -> Created
|
111 | 2024-02-01T23:11:49.909Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
112 | 2024-02-01T23:11:49.910Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
113 | 2024-02-01T23:11:49.915Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
114 | 2024-02-01T23:11:49.923Z | INFO | crucible-agent (worker): creating config property group
|
115 | 2024-02-01T23:11:49.926Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
116 | 2024-02-01T23:11:49.926Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
117 | 2024-02-01T23:11:49.926Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19002
|
118 | 2024-02-01T23:11:49.926Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
|
119 | 2024-02-01T23:11:49.927Z | INFO | crucible-agent (worker): commit
|
120 | 2024-02-01T23:11:49.930Z | INFO | crucible-agent (worker): ok!
|
121 | 2024-02-01T23:11:49.937Z | INFO | crucible-agent (worker): SMF ok!
|
122 | 2024-02-01T23:11:50.052Z | INFO | crucible-agent (dropshot): request completed
latency_us = 86
local_addr = [fd00:1122:3344:101::14]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:56868
req_id = 07b4bb18-4c22-4161-98a2-afd786c84ee6
response_code = 200
uri = /crucible/0/regions
|
123 | 2024-02-01T23:12:20.053Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::14]:32345
remote_addr = [fd00:1122:3344:101::a]:39323
|
124 | 2024-02-01T23:12:20.054Z | INFO | crucible-agent (dropshot): request completed
latency_us = 52
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:39323
req_id = e17df3a0-2ea7-4658-8d84-46f202773c8f
response_code = 200
uri = /crucible/0/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
125 | 2024-02-01T23:12:20.054Z | INFO | crucible-agent (datafile): path is "/data/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1"
|
126 | 2024-02-01T23:12:20.068Z | INFO | crucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
127 | 2024-02-01T23:12:20.079Z | INFO | crucible-agent (datafile): region cd8bfa46-8372-403d-992a-0383d7b4ddc1 state: Created -> Tombstoned
|
128 | 2024-02-01T23:12:20.079Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
129 | 2024-02-01T23:12:20.079Z | INFO | crucible-agent (dropshot): request completed
latency_us = 25359
local_addr = [fd00:1122:3344:101::14]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:39323
req_id = 49a26014-d68b-4366-baa8-8212d1fd2016
response_code = 204
uri = /crucible/0/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
130 | 2024-02-01T23:12:20.079Z | INFO | crucible-agent (dropshot): request completed
latency_us = 36
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:39323
req_id = da8ab6ca-5efc-4da3-8c7d-9a47c2befe9e
response_code = 200
uri = /crucible/0/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
131 | 2024-02-01T23:12:20.080Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-cd8bfa46-8372-403d-992a-0383d7b4ddc1 (instance states: (Some(Online), None))
|
132 | 2024-02-01T23:12:20.088Z | INFO | crucible-agent (worker): SMF ok!
|
133 | 2024-02-01T23:12:20.098Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1"
region = cd8bfa46-8372-403d-992a-0383d7b4ddc1
|
134 | 2024-02-01T23:12:20.167Z | INFO | crucible-agent (datafile): region cd8bfa46-8372-403d-992a-0383d7b4ddc1 state: Tombstoned -> Destroyed
|
135 | 2024-02-01T23:12:20.174Z | INFO | crucible-agent (dropshot): request completed
latency_us = 100
local_addr = [fd00:1122:3344:101::14]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:39323
req_id = b860187b-61d6-44db-852a-12c2fa3d41d0
response_code = 200
uri = /crucible/0/regions/cd8bfa46-8372-403d-992a-0383d7b4ddc1
|