1 | | [ Oct 4 22:29:14 Enabled. ] |
2 | | [ Oct 4 22:29:14 Rereading configuration. ] |
3 | | [ Oct 4 22:29:16 Rereading configuration. ] |
4 | | [ Oct 4 22:29:16 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=oxControlService14 |
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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/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 | | + [[ oxControlService14 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService14 |
33 | | ipadm: Could not delete oxControlService14: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService14 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 |
38 | | + ipadm show-addr oxControlService14/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService14/ll |
41 | | + ipadm show-addr oxControlService14/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService14/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-10-04T22:29:17.527Z | INFO | crucible-agent: dataset: "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2023-10-04T22:29:17.531Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::16]:32345
|
53 | 2023-10-04T22:29:17.531Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-10-04T22:29:17.642Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::16]:32345
|
55 | 2023-10-04T22:29:56.656Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:35389
|
56 | 2023-10-04T22:29:56.692Z | INFO | crucible-agent (datafile): region 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f state: Requested
|
57 | 2023-10-04T22:29:56.703Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
58 | 2023-10-04T22:29:56.706Z | INFO | crucible-agent (dropshot): request completed
latency_us = 17060
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:35389
req_id = d0dc7bbe-303c-45ec-86a2-d54642f605be
response_code = 200
uri = /crucible/0/regions
|
59 | 2023-10-04T22:29:56.714Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
60 | 2023-10-04T22:29:56.714Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
61 | 2023-10-04T22:29:56.958Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("2891aa5e-e7f3-4362-a436-b2ffd9cabb7f"), 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/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f"
region = 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
62 | 2023-10-04T22:29:56.982Z | INFO | crucible-agent (dropshot): request completed
latency_us = 90
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:35389
req_id = 5d22c87e-bd98-4481-b869-d5bd5eab401f
response_code = 200
uri = /crucible/0/regions
|
63 | 2023-10-04T22:29:57.263Z | 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]:35389
req_id = 50dcce75-908e-4beb-a4bb-10a83a468bf7
response_code = 200
uri = /crucible/0/regions
|
64 | 2023-10-04T22:29:57.636Z | INFO | crucible-agent (worker): region files created ok
region = 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
65 | 2023-10-04T22:29:57.636Z | INFO | crucible-agent (datafile): region 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f state: Requested -> Created
|
66 | 2023-10-04T22:29:57.636Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
67 | 2023-10-04T22:29:57.647Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
68 | 2023-10-04T22:29:57.687Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
69 | 2023-10-04T22:29:57.772Z | INFO | crucible-agent (worker): creating config property group
|
70 | 2023-10-04T22:29:57.801Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
71 | 2023-10-04T22:29:57.802Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
72 | 2023-10-04T22:29:57.802Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
73 | 2023-10-04T22:29:57.802Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16
|
74 | 2023-10-04T22:29:57.802Z | INFO | crucible-agent (worker): commit
|
75 | 2023-10-04T22:29:57.827Z | INFO | crucible-agent (worker): ok!
|
76 | 2023-10-04T22:29:57.892Z | INFO | crucible-agent (worker): SMF ok!
|
77 | 2023-10-04T22:29:58.180Z | INFO | crucible-agent (dropshot): request completed
latency_us = 80
local_addr = [fd00:1122:3344:101::16]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:35389
req_id = 3f21cbaa-cde8-43a8-8331-27574b11ead7
response_code = 200
uri = /crucible/0/regions
|
78 | 2023-10-04T22:29:59.457Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::16]:32345
remote_addr = [fd00:1122:3344:101::a]:62951
|
79 | 2023-10-04T22:29:59.488Z | INFO | crucible-agent (dropshot): request completed
latency_us = 158
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:62951
req_id = 902b306d-7fb6-46ba-8f69-3d04f787aeaa
response_code = 200
uri = /crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
80 | 2023-10-04T22:29:59.488Z | INFO | crucible-agent (datafile): path is "/data/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f"
|
81 | 2023-10-04T22:29:59.501Z | INFO | crucible-agent (datafile): dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
82 | 2023-10-04T22:29:59.511Z | INFO | crucible-agent (datafile): region 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f state: Created -> Tombstoned
|
83 | 2023-10-04T22:29:59.511Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
84 | 2023-10-04T22:29:59.514Z | INFO | crucible-agent (dropshot): request completed
latency_us = 25725
local_addr = [fd00:1122:3344:101::16]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:62951
req_id = d936fd6d-d0ff-4abe-bc9e-4939c1bbcdaf
response_code = 204
uri = /crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
85 | 2023-10-04T22:29:59.515Z | INFO | crucible-agent (dropshot): request completed
latency_us = 55
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:62951
req_id = d9e254f5-d3ec-44d9-a711-3eb0c3b9bb7c
response_code = 200
uri = /crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
86 | 2023-10-04T22:29:59.522Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-2891aa5e-e7f3-4362-a436-b2ffd9cabb7f (instance states: (Some(Online), None))
|
87 | 2023-10-04T22:29:59.592Z | INFO | crucible-agent (worker): SMF ok!
|
88 | 2023-10-04T22:29:59.603Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f"
region = 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
89 | 2023-10-04T22:29:59.606Z | INFO | crucible-agent (dropshot): request completed
latency_us = 471
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:62951
req_id = b56e7622-ddcb-445f-9460-abc74a86b81f
response_code = 200
uri = /crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
90 | 2023-10-04T22:29:59.765Z | INFO | crucible-agent (dropshot): request completed
latency_us = 50
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:62951
req_id = aae63100-1ff7-4685-8b4f-295332994deb
response_code = 200
uri = /crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|
91 | 2023-10-04T22:29:59.779Z | INFO | crucible-agent (datafile): region 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f state: Tombstoned -> Destroyed
|
92 | 2023-10-04T22:29:59.906Z | INFO | crucible-agent (dropshot): request completed
latency_us = 51
local_addr = [fd00:1122:3344:101::16]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:62951
req_id = 60d51f3f-e4a7-4e88-bee0-cf578ea430c0
response_code = 200
uri = /crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f
|