1 | | [ Dec 5 05:24:30 Enabled. ] |
2 | | [ Dec 5 05:24:30 Rereading configuration. ] |
3 | | [ Dec 5 05:24:31 Rereading configuration. ] |
4 | | [ Dec 5 05:24:31 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::16 |
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::16 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-12-05T05:24:32.492Z | INFO | crucible-agent: dataset: "oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible"
|
52 | 2023-12-05T05:24:32.496Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::16]:32345
|
53 | 2023-12-05T05:24:32.496Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-12-05T05:24:32.607Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::16]:32345
|
55 | 2023-12-05T05:25:34.360Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:64150
|
56 | 2023-12-05T05:25:34.374Z | INFO | crucible-agent (datafile): region a5720774-96f2-48fb-ac28-4abc5e187b3c state: Requested
|
57 | 2023-12-05T05:25:34.375Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
58 | 2023-12-05T05:25:34.379Z | INFO | crucible-agent (dropshot): request completed
latency_us = 10563
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:64150
req_id = ce153d60-2100-429a-9c1f-5368fc400e8a
response_code = 200
uri = /crucible/0/regions
|
59 | 2023-12-05T05:25:34.385Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
|
60 | 2023-12-05T05:25:34.385Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
|
61 | 2023-12-05T05:25:34.453Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("a5720774-96f2-48fb-ac28-4abc5e187b3c"), 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/a5720774-96f2-48fb-ac28-4abc5e187b3c"
region = a5720774-96f2-48fb-ac28-4abc5e187b3c
|
62 | 2023-12-05T05:25:34.584Z | INFO | crucible-agent (dropshot): request completed
latency_us = 105
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:64150
req_id = dce8cbf7-530d-4109-b582-1ec3bda75611
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-12-05T05:25:34.641Z | INFO | crucible-agent (worker): region files created ok
region = a5720774-96f2-48fb-ac28-4abc5e187b3c
|
64 | 2023-12-05T05:25:34.641Z | INFO | crucible-agent (datafile): region a5720774-96f2-48fb-ac28-4abc5e187b3c state: Requested -> Created
|
65 | 2023-12-05T05:25:34.641Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-12-05T05:25:34.642Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-a5720774-96f2-48fb-ac28-4abc5e187b3c
|
67 | 2023-12-05T05:25:34.646Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-a5720774-96f2-48fb-ac28-4abc5e187b3c
|
68 | 2023-12-05T05:25:34.657Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-12-05T05:25:34.660Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-a5720774-96f2-48fb-ac28-4abc5e187b3c
|
70 | 2023-12-05T05:25:34.661Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
|
71 | 2023-12-05T05:25:34.661Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-12-05T05:25:34.661Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
|
73 | 2023-12-05T05:25:34.661Z | INFO | crucible-agent (worker): commit
|
74 | 2023-12-05T05:25:34.666Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-12-05T05:25:34.670Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-12-05T05:25:35.243Z | INFO | crucible-agent (dropshot): request completed
latency_us = 67
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:64150
req_id = cb0c90c4-1bba-4585-b067-f18092a1ef3d
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-12-05T05:25:35.529Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:51596
|
78 | 2023-12-05T05:25:35.530Z | INFO | crucible-agent (dropshot): request completed
latency_us = 119
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:51596
req_id = 4f8c781d-060d-492a-88dc-4292edf70fd1
response_code = 200
uri = /crucible/0/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
|
79 | 2023-12-05T05:25:35.530Z | INFO | crucible-agent (datafile): path is "/data/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c"
|
80 | 2023-12-05T05:25:35.539Z | INFO | crucible-agent (datafile): dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
|
81 | 2023-12-05T05:25:35.548Z | INFO | crucible-agent (datafile): region a5720774-96f2-48fb-ac28-4abc5e187b3c state: Created -> Tombstoned
|
82 | 2023-12-05T05:25:35.548Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
83 | 2023-12-05T05:25:35.548Z | INFO | crucible-agent (dropshot): request completed
latency_us = 18544
local_addr = [fd00:1122:3344:101::16]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:51596
req_id = 0abc117e-4972-4bc9-b871-544f59c41fab
response_code = 204
uri = /crucible/0/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
|
84 | 2023-12-05T05:25:35.548Z | INFO | crucible-agent (dropshot): request completed
latency_us = 23
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:51596
req_id = 68845484-c2af-4435-8a0b-23f95ebc664a
response_code = 200
uri = /crucible/0/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
|
85 | 2023-12-05T05:25:35.549Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-a5720774-96f2-48fb-ac28-4abc5e187b3c (instance states: (Some(Online), None))
|
86 | 2023-12-05T05:25:35.554Z | INFO | crucible-agent (worker): SMF ok!
|
87 | 2023-12-05T05:25:35.564Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c"
region = a5720774-96f2-48fb-ac28-4abc5e187b3c
|
88 | 2023-12-05T05:25:35.613Z | INFO | crucible-agent (datafile): region a5720774-96f2-48fb-ac28-4abc5e187b3c state: Tombstoned -> Destroyed
|
89 | 2023-12-05T05:25:35.628Z | INFO | crucible-agent (dropshot): request completed
latency_us = 78
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:51596
req_id = 5d6705be-9742-4e17-86a1-0bd8496b0e84
response_code = 200
uri = /crucible/0/regions/a5720774-96f2-48fb-ac28-4abc5e187b3c
|
90 | 2023-12-05T05:25:38.145Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:50821
|
91 | 2023-12-05T05:25:38.175Z | INFO | crucible-agent (datafile): region d94a2f80-6559-4bb9-b1a6-dcb3e159653c state: Requested
|
92 | 2023-12-05T05:25:38.175Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
93 | 2023-12-05T05:25:38.175Z | INFO | crucible-agent (dropshot): request completed
latency_us = 350
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:50821
req_id = daefd843-3bc2-485e-a8bd-657861466bfb
response_code = 200
uri = /crucible/0/regions
|
94 | 2023-12-05T05:25:38.185Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
95 | 2023-12-05T05:25:38.185Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
96 | 2023-12-05T05:25:38.242Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("d94a2f80-6559-4bb9-b1a6-dcb3e159653c"), 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/d94a2f80-6559-4bb9-b1a6-dcb3e159653c"
region = d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
97 | 2023-12-05T05:25:38.312Z | INFO | crucible-agent (worker): region files created ok
region = d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
98 | 2023-12-05T05:25:38.312Z | INFO | crucible-agent (datafile): region d94a2f80-6559-4bb9-b1a6-dcb3e159653c state: Requested -> Created
|
99 | 2023-12-05T05:25:38.312Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
100 | 2023-12-05T05:25:38.314Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
101 | 2023-12-05T05:25:38.318Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
102 | 2023-12-05T05:25:38.325Z | INFO | crucible-agent (worker): creating config property group
|
103 | 2023-12-05T05:25:38.328Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
104 | 2023-12-05T05:25:38.328Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
105 | 2023-12-05T05:25:38.328Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
106 | 2023-12-05T05:25:38.328Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
|
107 | 2023-12-05T05:25:38.328Z | INFO | crucible-agent (worker): commit
|
108 | 2023-12-05T05:25:38.332Z | INFO | crucible-agent (worker): ok!
|
109 | 2023-12-05T05:25:38.336Z | INFO | crucible-agent (worker): SMF ok!
|
110 | 2023-12-05T05:25:38.498Z | INFO | crucible-agent (dropshot): request completed
latency_us = 78
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:50821
req_id = a77210be-672e-4791-8326-5ea1db80bb97
response_code = 200
uri = /crucible/0/regions
|
111 | 2023-12-05T05:28:32.601Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:55271
|
112 | 2023-12-05T05:28:32.601Z | INFO | crucible-agent (dropshot): request completed
latency_us = 489
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:55271
req_id = 188f0096-8f61-4564-91a7-63305638c1c8
response_code = 200
uri = /crucible/0/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
113 | 2023-12-05T05:28:32.602Z | INFO | crucible-agent (datafile): path is "/data/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c"
|
114 | 2023-12-05T05:28:32.614Z | INFO | crucible-agent (datafile): dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
115 | 2023-12-05T05:28:32.623Z | INFO | crucible-agent (datafile): region d94a2f80-6559-4bb9-b1a6-dcb3e159653c state: Created -> Tombstoned
|
116 | 2023-12-05T05:28:32.623Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
117 | 2023-12-05T05:28:32.623Z | INFO | crucible-agent (dropshot): request completed
latency_us = 21439
local_addr = [fd00:1122:3344:101::16]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:55271
req_id = 5f809e24-8103-445c-a4e9-4fa435e3678a
response_code = 204
uri = /crucible/0/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
118 | 2023-12-05T05:28:32.623Z | INFO | crucible-agent (dropshot): request completed
latency_us = 32
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:55271
req_id = 7e1005f9-0458-4bab-9bda-0b08ebc53da5
response_code = 200
uri = /crucible/0/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
119 | 2023-12-05T05:28:32.625Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-d94a2f80-6559-4bb9-b1a6-dcb3e159653c (instance states: (Some(Online), None))
|
120 | 2023-12-05T05:28:32.635Z | INFO | crucible-agent (worker): SMF ok!
|
121 | 2023-12-05T05:28:32.644Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c"
region = d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|
122 | 2023-12-05T05:28:32.694Z | INFO | crucible-agent (datafile): region d94a2f80-6559-4bb9-b1a6-dcb3e159653c state: Tombstoned -> Destroyed
|
123 | 2023-12-05T05:28:32.713Z | INFO | crucible-agent (dropshot): request completed
latency_us = 606
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:55271
req_id = 87cd918f-b139-4d2e-be12-7d3d8aa5f6a0
response_code = 200
uri = /crucible/0/regions/d94a2f80-6559-4bb9-b1a6-dcb3e159653c
|