1 | | [ Oct 11 22:23:14 Enabled. ] |
2 | | [ Oct 11 22:23:14 Rereading configuration. ] |
3 | | [ Oct 11 22:23:16 Rereading configuration. ] |
4 | | [ Oct 11 22:23:18 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=oxControlService11 |
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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::19 |
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 | | + [[ oxControlService11 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService11 |
33 | | ipadm: Could not delete oxControlService11: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService11 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 |
38 | | + ipadm show-addr oxControlService11/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService11/ll |
41 | | + ipadm show-addr oxControlService11/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService11/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-10-11T22:23:19.291Z | INFO | crucible-agent: dataset: "oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2023-10-11T22:23:19.292Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::19]:32345
|
53 | 2023-10-11T22:23:19.292Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-10-11T22:23:19.512Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::19]:32345
|
55 | 2023-10-11T22:24:34.576Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::19]:32345
remote_addr = [fd00:1122:3344:101::c]:64557
|
56 | 2023-10-11T22:24:34.617Z | INFO | crucible-agent (datafile): region 06a29677-7492-480d-9656-3144c13f245a state: Requested
|
57 | 2023-10-11T22:24:34.620Z | INFO | crucible-agent (dropshot): request completed
latency_us = 7589
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:64557
req_id = 1c7c1f56-b612-4b81-bc87-4be129a56e41
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-10-11T22:24:34.621Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2023-10-11T22:24:34.631Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/06a29677-7492-480d-9656-3144c13f245a
|
60 | 2023-10-11T22:24:34.631Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/06a29677-7492-480d-9656-3144c13f245a
|
61 | 2023-10-11T22:24:34.686Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("06a29677-7492-480d-9656-3144c13f245a"), 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/06a29677-7492-480d-9656-3144c13f245a"
region = 06a29677-7492-480d-9656-3144c13f245a
|
62 | 2023-10-11T22:24:34.845Z | INFO | crucible-agent (dropshot): request completed
latency_us = 83
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:64557
req_id = baefc402-010d-401c-90f8-f8dc21938b9e
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-10-11T22:24:34.872Z | INFO | crucible-agent (worker): region files created ok
region = 06a29677-7492-480d-9656-3144c13f245a
|
64 | 2023-10-11T22:24:34.872Z | INFO | crucible-agent (datafile): region 06a29677-7492-480d-9656-3144c13f245a state: Requested -> Created
|
65 | 2023-10-11T22:24:34.872Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-10-11T22:24:34.881Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-06a29677-7492-480d-9656-3144c13f245a
|
67 | 2023-10-11T22:24:34.884Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-06a29677-7492-480d-9656-3144c13f245a
|
68 | 2023-10-11T22:24:34.895Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-10-11T22:24:34.898Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-06a29677-7492-480d-9656-3144c13f245a
|
70 | 2023-10-11T22:24:34.899Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/06a29677-7492-480d-9656-3144c13f245a
|
71 | 2023-10-11T22:24:34.899Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-10-11T22:24:34.899Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
|
73 | 2023-10-11T22:24:34.899Z | INFO | crucible-agent (worker): commit
|
74 | 2023-10-11T22:24:34.904Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-10-11T22:24:34.913Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-10-11T22:24:35.487Z | INFO | crucible-agent (dropshot): request completed
latency_us = 76
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:64557
req_id = e8e62bcf-2617-4aaa-ad9a-81926549668c
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-10-11T22:24:35.828Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::19]:32345
remote_addr = [fd00:1122:3344:101::c]:56556
|
78 | 2023-10-11T22:24:35.859Z | INFO | crucible-agent (dropshot): request completed
latency_us = 125
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:56556
req_id = 774b8d25-d6fe-4c99-bfee-9f5d0d2a3e04
response_code = 200
uri = /crucible/0/regions/06a29677-7492-480d-9656-3144c13f245a
|
79 | 2023-10-11T22:24:35.860Z | INFO | crucible-agent (datafile): path is "/data/regions/06a29677-7492-480d-9656-3144c13f245a"
|
80 | 2023-10-11T22:24:35.872Z | INFO | crucible-agent (datafile): dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/06a29677-7492-480d-9656-3144c13f245a
|
81 | 2023-10-11T22:24:35.884Z | INFO | crucible-agent (datafile): region 06a29677-7492-480d-9656-3144c13f245a state: Created -> Tombstoned
|
82 | 2023-10-11T22:24:35.884Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
83 | 2023-10-11T22:24:35.887Z | INFO | crucible-agent (dropshot): request completed
latency_us = 26889
local_addr = [fd00:1122:3344:101::19]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::c]:56556
req_id = 82426e6c-7b61-44da-8f14-97da5c1e89b6
response_code = 204
uri = /crucible/0/regions/06a29677-7492-480d-9656-3144c13f245a
|
84 | 2023-10-11T22:24:35.887Z | INFO | crucible-agent (dropshot): request completed
latency_us = 62
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:56556
req_id = 75b88137-d659-4537-9d1f-6b59c94c93b4
response_code = 200
uri = /crucible/0/regions/06a29677-7492-480d-9656-3144c13f245a
|
85 | 2023-10-11T22:24:35.895Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-06a29677-7492-480d-9656-3144c13f245a (instance states: (Some(Online), None))
|
86 | 2023-10-11T22:24:35.900Z | INFO | crucible-agent (worker): SMF ok!
|
87 | 2023-10-11T22:24:35.911Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/06a29677-7492-480d-9656-3144c13f245a"
region = 06a29677-7492-480d-9656-3144c13f245a
|
88 | 2023-10-11T22:24:35.972Z | INFO | crucible-agent (datafile): region 06a29677-7492-480d-9656-3144c13f245a state: Tombstoned -> Destroyed
|
89 | 2023-10-11T22:24:35.990Z | INFO | crucible-agent (dropshot): request completed
latency_us = 62
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:56556
req_id = ffb153bf-b9ba-43ea-aaf5-f0882edbe42f
response_code = 200
uri = /crucible/0/regions/06a29677-7492-480d-9656-3144c13f245a
|
90 | 2023-10-11T22:24:38.289Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::19]:32345
remote_addr = [fd00:1122:3344:101::c]:48796
|
91 | 2023-10-11T22:24:38.319Z | INFO | crucible-agent (datafile): region 2a71b340-8e11-46f2-bcf0-c645b8d0536f state: Requested
|
92 | 2023-10-11T22:24:38.320Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
93 | 2023-10-11T22:24:38.320Z | INFO | crucible-agent (dropshot): request completed
latency_us = 229
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:48796
req_id = 7ecb0cc7-ca1a-4e95-9792-4cdf7947015d
response_code = 200
uri = /crucible/0/regions
|
94 | 2023-10-11T22:24:38.328Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
95 | 2023-10-11T22:24:38.328Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
96 | 2023-10-11T22:24:38.387Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("2a71b340-8e11-46f2-bcf0-c645b8d0536f"), 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/2a71b340-8e11-46f2-bcf0-c645b8d0536f"
region = 2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
97 | 2023-10-11T22:24:38.446Z | INFO | crucible-agent (worker): region files created ok
region = 2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
98 | 2023-10-11T22:24:38.446Z | INFO | crucible-agent (datafile): region 2a71b340-8e11-46f2-bcf0-c645b8d0536f state: Requested -> Created
|
99 | 2023-10-11T22:24:38.446Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
100 | 2023-10-11T22:24:38.458Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
101 | 2023-10-11T22:24:38.461Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
102 | 2023-10-11T22:24:38.469Z | INFO | crucible-agent (worker): creating config property group
|
103 | 2023-10-11T22:24:38.472Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
104 | 2023-10-11T22:24:38.472Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
105 | 2023-10-11T22:24:38.472Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
106 | 2023-10-11T22:24:38.472Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19
|
107 | 2023-10-11T22:24:38.472Z | INFO | crucible-agent (worker): commit
|
108 | 2023-10-11T22:24:38.476Z | INFO | crucible-agent (worker): ok!
|
109 | 2023-10-11T22:24:38.480Z | INFO | crucible-agent (worker): SMF ok!
|
110 | 2023-10-11T22:24:38.629Z | INFO | crucible-agent (dropshot): request completed
latency_us = 83
local_addr = [fd00:1122:3344:101::19]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:48796
req_id = c4339cc8-98a6-495d-9892-a8fd2cb7f6a0
response_code = 200
uri = /crucible/0/regions
|
111 | 2023-10-11T22:27:30.031Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::19]:32345
remote_addr = [fd00:1122:3344:101::c]:40302
|
112 | 2023-10-11T22:27:30.063Z | INFO | crucible-agent (dropshot): request completed
latency_us = 55
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40302
req_id = be1ca234-a3dc-40a1-aa79-ec6002912af3
response_code = 200
uri = /crucible/0/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
113 | 2023-10-11T22:27:30.063Z | INFO | crucible-agent (datafile): path is "/data/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f"
|
114 | 2023-10-11T22:27:30.078Z | INFO | crucible-agent (datafile): dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
115 | 2023-10-11T22:27:30.087Z | INFO | crucible-agent (datafile): region 2a71b340-8e11-46f2-bcf0-c645b8d0536f state: Created -> Tombstoned
|
116 | 2023-10-11T22:27:30.087Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
117 | 2023-10-11T22:27:30.090Z | INFO | crucible-agent (dropshot): request completed
latency_us = 27144
local_addr = [fd00:1122:3344:101::19]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::c]:40302
req_id = 2fe847dd-845a-4190-b7ae-087c3a28c79d
response_code = 204
uri = /crucible/0/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
118 | 2023-10-11T22:27:30.090Z | INFO | crucible-agent (dropshot): request completed
latency_us = 72
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40302
req_id = 274e4c54-00f2-4754-a880-e89ba1b49552
response_code = 200
uri = /crucible/0/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
119 | 2023-10-11T22:27:30.099Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-2a71b340-8e11-46f2-bcf0-c645b8d0536f (instance states: (Some(Online), None))
|
120 | 2023-10-11T22:27:30.108Z | INFO | crucible-agent (worker): SMF ok!
|
121 | 2023-10-11T22:27:30.120Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f"
region = 2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
122 | 2023-10-11T22:27:30.169Z | INFO | crucible-agent (dropshot): request completed
latency_us = 95
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40302
req_id = 7d85585c-4bea-4604-96c7-c2ce5a4b0706
response_code = 200
uri = /crucible/0/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f
|
123 | 2023-10-11T22:27:30.174Z | INFO | crucible-agent (datafile): region 2a71b340-8e11-46f2-bcf0-c645b8d0536f state: Tombstoned -> Destroyed
|
124 | 2023-10-11T22:27:30.284Z | INFO | crucible-agent (dropshot): request completed
latency_us = 40
local_addr = [fd00:1122:3344:101::19]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40302
req_id = 8afe731c-a0dc-415f-a507-f3fdc77333cf
response_code = 200
uri = /crucible/0/regions/2a71b340-8e11-46f2-bcf0-c645b8d0536f
|