1 | | [ Dec 6 17:42:10 Enabled. ] |
2 | | [ Dec 6 17:42:10 Rereading configuration. ] |
3 | | [ Dec 6 17:42:12 Rereading configuration. ] |
4 | | [ Dec 6 17:42:13 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/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 | | + [[ 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::17 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-12-06T17:42:14.577Z | INFO | crucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
|
52 | 2023-12-06T17:42:14.582Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::17]:32345
|
53 | 2023-12-06T17:42:14.582Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-12-06T17:42:14.693Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::17]:32345
|
55 | 2023-12-06T17:43:41.337Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::c]:43474
|
56 | 2023-12-06T17:43:41.416Z | INFO | crucible-agent (datafile): region ab5c680a-4edc-4be9-b427-256326ec9ad6 state: Requested
|
57 | 2023-12-06T17:43:41.417Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
58 | 2023-12-06T17:43:41.421Z | INFO | crucible-agent (dropshot): request completed
latency_us = 16586
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:43474
req_id = 97eb606d-72a3-4716-b39c-996f4209443e
response_code = 200
uri = /crucible/0/regions
|
59 | 2023-12-06T17:43:41.429Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6
|
60 | 2023-12-06T17:43:41.429Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6
|
61 | 2023-12-06T17:43:41.586Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("ab5c680a-4edc-4be9-b427-256326ec9ad6"), 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/ab5c680a-4edc-4be9-b427-256326ec9ad6"
region = ab5c680a-4edc-4be9-b427-256326ec9ad6
|
62 | 2023-12-06T17:43:41.746Z | INFO | crucible-agent (dropshot): request completed
latency_us = 104
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:43474
req_id = 72f98438-bc48-42db-bc4e-ab4c7fb5e37f
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-12-06T17:43:41.915Z | INFO | crucible-agent (worker): region files created ok
region = ab5c680a-4edc-4be9-b427-256326ec9ad6
|
64 | 2023-12-06T17:43:41.915Z | INFO | crucible-agent (datafile): region ab5c680a-4edc-4be9-b427-256326ec9ad6 state: Requested -> Created
|
65 | 2023-12-06T17:43:41.915Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2023-12-06T17:43:41.917Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-ab5c680a-4edc-4be9-b427-256326ec9ad6
|
67 | 2023-12-06T17:43:41.935Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-ab5c680a-4edc-4be9-b427-256326ec9ad6
|
68 | 2023-12-06T17:43:41.980Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2023-12-06T17:43:42.001Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-ab5c680a-4edc-4be9-b427-256326ec9ad6
|
70 | 2023-12-06T17:43:42.027Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6
|
71 | 2023-12-06T17:43:42.029Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2023-12-06T17:43:42.029Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
73 | 2023-12-06T17:43:42.029Z | INFO | crucible-agent (worker): commit
|
74 | 2023-12-06T17:43:42.088Z | INFO | crucible-agent (worker): ok!
|
75 | 2023-12-06T17:43:42.105Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2023-12-06T17:43:42.457Z | INFO | crucible-agent (dropshot): request completed
latency_us = 69
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:43474
req_id = 39e4bbe7-9a61-4dc6-9139-94fc0ff38bd5
response_code = 200
uri = /crucible/0/regions
|
77 | 2023-12-06T17:43:43.877Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::c]:40756
|
78 | 2023-12-06T17:43:43.877Z | INFO | crucible-agent (dropshot): request completed
latency_us = 174
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40756
req_id = 3e6dbfb2-df1c-48d0-892e-71f356fc99f2
response_code = 200
uri = /crucible/0/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6
|
79 | 2023-12-06T17:43:43.878Z | INFO | crucible-agent (datafile): path is "/data/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6"
|
80 | 2023-12-06T17:43:43.888Z | INFO | crucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6
|
81 | 2023-12-06T17:43:43.897Z | INFO | crucible-agent (datafile): region ab5c680a-4edc-4be9-b427-256326ec9ad6 state: Created -> Tombstoned
|
82 | 2023-12-06T17:43:43.897Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
83 | 2023-12-06T17:43:43.897Z | INFO | crucible-agent (dropshot): request completed
latency_us = 19629
local_addr = [fd00:1122:3344:101::17]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::c]:40756
req_id = bc822db4-1f3b-4f27-9391-590f7741bf16
response_code = 204
uri = /crucible/0/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6
|
84 | 2023-12-06T17:43:43.897Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40756
req_id = 5d6fbac0-31b7-4a49-b5da-d278215470d6
response_code = 200
uri = /crucible/0/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6
|
85 | 2023-12-06T17:43:43.898Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-ab5c680a-4edc-4be9-b427-256326ec9ad6 (instance states: (Some(Online), None))
|
86 | 2023-12-06T17:43:43.911Z | INFO | crucible-agent (worker): SMF ok!
|
87 | 2023-12-06T17:43:43.921Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6"
region = ab5c680a-4edc-4be9-b427-256326ec9ad6
|
88 | 2023-12-06T17:43:43.999Z | INFO | crucible-agent (datafile): region ab5c680a-4edc-4be9-b427-256326ec9ad6 state: Tombstoned -> Destroyed
|
89 | 2023-12-06T17:43:44.013Z | INFO | crucible-agent (dropshot): request completed
latency_us = 102
local_addr = [fd00:1122:3344:101::17]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:40756
req_id = 689c7e62-f74e-4bfa-a504-3c823142a9b2
response_code = 200
uri = /crucible/0/regions/ab5c680a-4edc-4be9-b427-256326ec9ad6
|
90 | 2023-12-06T17:43:46.802Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::17]:32345
remote_addr = [fd00:1122:3344:101::c]:44100
|
91 | 2023-12-06T17:43:46.832Z | INFO | crucible-agent (datafile): region d54beced-792a-4bb4-be5d-5c1abf7eee9c state: Requested
|
92 | 2023-12-06T17:43:46.832Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
93 | 2023-12-06T17:43:46.832Z | INFO | crucible-agent (dropshot): request completed
latency_us = 236
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:44100
req_id = fef71485-ce90-4e84-a9a6-40c867cad8df
response_code = 200
uri = /crucible/0/regions
|
94 | 2023-12-06T17:43:46.842Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/d54beced-792a-4bb4-be5d-5c1abf7eee9c
|
95 | 2023-12-06T17:43:46.842Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/d54beced-792a-4bb4-be5d-5c1abf7eee9c
|
96 | 2023-12-06T17:43:46.918Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("d54beced-792a-4bb4-be5d-5c1abf7eee9c"), 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/d54beced-792a-4bb4-be5d-5c1abf7eee9c"
region = d54beced-792a-4bb4-be5d-5c1abf7eee9c
|
97 | 2023-12-06T17:43:46.976Z | INFO | crucible-agent (dropshot): request completed
latency_us = 81
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:44100
req_id = 0d145638-ba5c-4d5c-a2bc-f203a0cff8e4
response_code = 200
uri = /crucible/0/regions
|
98 | 2023-12-06T17:43:47.046Z | INFO | crucible-agent (worker): region files created ok
region = d54beced-792a-4bb4-be5d-5c1abf7eee9c
|
99 | 2023-12-06T17:43:47.046Z | INFO | crucible-agent (datafile): region d54beced-792a-4bb4-be5d-5c1abf7eee9c state: Requested -> Created
|
100 | 2023-12-06T17:43:47.046Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
101 | 2023-12-06T17:43:47.048Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-d54beced-792a-4bb4-be5d-5c1abf7eee9c
|
102 | 2023-12-06T17:43:47.056Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-d54beced-792a-4bb4-be5d-5c1abf7eee9c
|
103 | 2023-12-06T17:43:47.075Z | INFO | crucible-agent (worker): creating config property group
|
104 | 2023-12-06T17:43:47.083Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-d54beced-792a-4bb4-be5d-5c1abf7eee9c
|
105 | 2023-12-06T17:43:47.083Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/d54beced-792a-4bb4-be5d-5c1abf7eee9c
|
106 | 2023-12-06T17:43:47.083Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
107 | 2023-12-06T17:43:47.083Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
|
108 | 2023-12-06T17:43:47.083Z | INFO | crucible-agent (worker): commit
|
109 | 2023-12-06T17:43:47.095Z | INFO | crucible-agent (worker): ok!
|
110 | 2023-12-06T17:43:47.111Z | INFO | crucible-agent (worker): SMF ok!
|
111 | 2023-12-06T17:43:47.408Z | INFO | crucible-agent (dropshot): request completed
latency_us = 63
local_addr = [fd00:1122:3344:101::17]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:44100
req_id = 9beb2b6a-4817-43ce-a24e-0ac4dba824cc
response_code = 200
uri = /crucible/0/regions
|