1 | | [ Nov 16 21:25:17 Enabled. ] |
2 | | [ Nov 16 21:25:17 Rereading configuration. ] |
3 | | [ Nov 16 21:25:18 Rereading configuration. ] |
4 | | [ Nov 16 21:25:19 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::1a |
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::1a 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2023-11-16T21:25:20.112Z | INFO | crucible-agent: dataset: "oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
52 | 2023-11-16T21:25:20.116Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::1a]:32345
|
53 | 2023-11-16T21:25:20.116Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2023-11-16T21:25:20.251Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::1a]:32345
|
55 | 2023-11-16T21:26:37.457Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::1a]:32345
remote_addr = [fd00:1122:3344:101::c]:57420
|
56 | 2023-11-16T21:26:37.499Z | INFO | crucible-agent (datafile): region 4bcfe797-2661-4e64-b4bf-8f2d2712a06c state: Requested
|
57 | 2023-11-16T21:26:37.503Z | INFO | crucible-agent (dropshot): request completed
latency_us = 14766
local_addr = [fd00:1122:3344:101::1a]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:57420
req_id = 9c18c07b-9c3f-49c1-86b9-e809990e5d0e
response_code = 200
uri = /crucible/0/regions
|
58 | 2023-11-16T21:26:37.503Z | INFO | crucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
|
59 | 2023-11-16T21:26:37.512Z | INFO | crucible-agent (worker): zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
60 | 2023-11-16T21:26:37.512Z | INFO | crucible-agent (worker): zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
61 | 2023-11-16T21:26:37.557Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("4bcfe797-2661-4e64-b4bf-8f2d2712a06c"), 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/4bcfe797-2661-4e64-b4bf-8f2d2712a06c"
region = 4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
62 | 2023-11-16T21:26:37.743Z | INFO | crucible-agent (worker): region files created ok
region = 4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
63 | 2023-11-16T21:26:37.743Z | INFO | crucible-agent (datafile): region 4bcfe797-2661-4e64-b4bf-8f2d2712a06c state: Requested -> Created
|
64 | 2023-11-16T21:26:37.743Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
65 | 2023-11-16T21:26:37.746Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
66 | 2023-11-16T21:26:37.749Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
67 | 2023-11-16T21:26:37.759Z | INFO | crucible-agent (worker): creating config property group
|
68 | 2023-11-16T21:26:37.762Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
69 | 2023-11-16T21:26:37.763Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
70 | 2023-11-16T21:26:37.763Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
71 | 2023-11-16T21:26:37.763Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a
|
72 | 2023-11-16T21:26:37.763Z | INFO | crucible-agent (worker): commit
|
73 | 2023-11-16T21:26:37.767Z | INFO | crucible-agent (worker): ok!
|
74 | 2023-11-16T21:26:37.775Z | INFO | crucible-agent (worker): SMF ok!
|
75 | 2023-11-16T21:26:37.848Z | INFO | crucible-agent (dropshot): request completed
latency_us = 80
local_addr = [fd00:1122:3344:101::1a]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:57420
req_id = 298c014a-cd3f-4104-9025-250c3cb4553a
response_code = 200
uri = /crucible/0/regions
|
76 | 2023-11-16T21:26:38.412Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::1a]:32345
remote_addr = [fd00:1122:3344:101::c]:42801
|
77 | 2023-11-16T21:26:38.475Z | INFO | crucible-agent (dropshot): request completed
latency_us = 104
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:42801
req_id = 1941a82b-55ba-46c4-bd77-d7b6d283a884
response_code = 200
uri = /crucible/0/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
78 | 2023-11-16T21:26:38.475Z | INFO | crucible-agent (datafile): path is "/data/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c"
|
79 | 2023-11-16T21:26:38.487Z | INFO | crucible-agent (datafile): dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
80 | 2023-11-16T21:26:38.498Z | INFO | crucible-agent (datafile): region 4bcfe797-2661-4e64-b4bf-8f2d2712a06c state: Created -> Tombstoned
|
81 | 2023-11-16T21:26:38.498Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
82 | 2023-11-16T21:26:38.498Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22933
local_addr = [fd00:1122:3344:101::1a]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::c]:42801
req_id = bada6544-8fe4-453b-a13b-e4637253f745
response_code = 204
uri = /crucible/0/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
83 | 2023-11-16T21:26:38.498Z | INFO | crucible-agent (dropshot): request completed
latency_us = 30
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:42801
req_id = 5edc8da5-584e-48bf-89f1-8e46428a558b
response_code = 200
uri = /crucible/0/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
84 | 2023-11-16T21:26:38.499Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-4bcfe797-2661-4e64-b4bf-8f2d2712a06c (instance states: (Some(Online), None))
|
85 | 2023-11-16T21:26:38.504Z | INFO | crucible-agent (worker): SMF ok!
|
86 | 2023-11-16T21:26:38.516Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c"
region = 4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
87 | 2023-11-16T21:26:38.556Z | INFO | crucible-agent (dropshot): request completed
latency_us = 93
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:42801
req_id = 04eca9db-ace1-411c-bcb2-a40b1838f8fb
response_code = 200
uri = /crucible/0/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
88 | 2023-11-16T21:26:38.573Z | INFO | crucible-agent (datafile): region 4bcfe797-2661-4e64-b4bf-8f2d2712a06c state: Tombstoned -> Destroyed
|
89 | 2023-11-16T21:26:38.701Z | INFO | crucible-agent (dropshot): request completed
latency_us = 47
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:42801
req_id = 3e398c7a-79c7-49de-8f09-5a271ad37277
response_code = 200
uri = /crucible/0/regions/4bcfe797-2661-4e64-b4bf-8f2d2712a06c
|
90 | 2023-11-16T21:26:40.822Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::1a]:32345
remote_addr = [fd00:1122:3344:101::c]:47097
|
91 | 2023-11-16T21:26:40.884Z | INFO | crucible-agent (datafile): region f43d154c-f6f6-4189-889b-e2912c06eb35 state: Requested
|
92 | 2023-11-16T21:26:40.887Z | INFO | crucible-agent (dropshot): request completed
latency_us = 2954
local_addr = [fd00:1122:3344:101::1a]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:47097
req_id = 84c9dca9-bdd3-4a2a-9d31-3b1154cc4e90
response_code = 200
uri = /crucible/0/regions
|
93 | 2023-11-16T21:26:40.887Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
94 | 2023-11-16T21:26:40.897Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f43d154c-f6f6-4189-889b-e2912c06eb35
|
95 | 2023-11-16T21:26:40.897Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f43d154c-f6f6-4189-889b-e2912c06eb35
|
96 | 2023-11-16T21:26:40.948Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("f43d154c-f6f6-4189-889b-e2912c06eb35"), 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/f43d154c-f6f6-4189-889b-e2912c06eb35"
region = f43d154c-f6f6-4189-889b-e2912c06eb35
|
97 | 2023-11-16T21:26:41.022Z | INFO | crucible-agent (worker): region files created ok
region = f43d154c-f6f6-4189-889b-e2912c06eb35
|
98 | 2023-11-16T21:26:41.022Z | INFO | crucible-agent (datafile): region f43d154c-f6f6-4189-889b-e2912c06eb35 state: Requested -> Created
|
99 | 2023-11-16T21:26:41.022Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
100 | 2023-11-16T21:26:41.024Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-f43d154c-f6f6-4189-889b-e2912c06eb35
|
101 | 2023-11-16T21:26:41.027Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-f43d154c-f6f6-4189-889b-e2912c06eb35
|
102 | 2023-11-16T21:26:41.034Z | INFO | crucible-agent (worker): creating config property group
|
103 | 2023-11-16T21:26:41.037Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-f43d154c-f6f6-4189-889b-e2912c06eb35
|
104 | 2023-11-16T21:26:41.037Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/f43d154c-f6f6-4189-889b-e2912c06eb35
|
105 | 2023-11-16T21:26:41.037Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
106 | 2023-11-16T21:26:41.037Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a
|
107 | 2023-11-16T21:26:41.037Z | INFO | crucible-agent (worker): commit
|
108 | 2023-11-16T21:26:41.041Z | INFO | crucible-agent (worker): ok!
|
109 | 2023-11-16T21:26:41.046Z | INFO | crucible-agent (worker): SMF ok!
|
110 | 2023-11-16T21:26:41.216Z | INFO | crucible-agent (dropshot): request completed
latency_us = 84
local_addr = [fd00:1122:3344:101::1a]:32345
method = POST
remote_addr = [fd00:1122:3344:101::c]:47097
req_id = b579e2a3-6201-4938-ab8c-cbda69b0478c
response_code = 200
uri = /crucible/0/regions
|
111 | 2023-11-16T21:29:37.644Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::1a]:32345
remote_addr = [fd00:1122:3344:101::c]:64748
|
112 | 2023-11-16T21:29:37.707Z | INFO | crucible-agent (dropshot): request completed
latency_us = 58
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:64748
req_id = 84bdcc08-5e5f-4eb4-9388-9de9edcb93c3
response_code = 200
uri = /crucible/0/regions/f43d154c-f6f6-4189-889b-e2912c06eb35
|
113 | 2023-11-16T21:29:37.707Z | INFO | crucible-agent (datafile): path is "/data/regions/f43d154c-f6f6-4189-889b-e2912c06eb35"
|
114 | 2023-11-16T21:29:37.720Z | INFO | crucible-agent (datafile): dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f43d154c-f6f6-4189-889b-e2912c06eb35
|
115 | 2023-11-16T21:29:37.731Z | INFO | crucible-agent (datafile): region f43d154c-f6f6-4189-889b-e2912c06eb35 state: Created -> Tombstoned
|
116 | 2023-11-16T21:29:37.732Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
117 | 2023-11-16T21:29:37.732Z | INFO | crucible-agent (dropshot): request completed
latency_us = 24865
local_addr = [fd00:1122:3344:101::1a]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::c]:64748
req_id = 4da99d35-e5ef-4fe6-9fb4-1a643619bb4c
response_code = 204
uri = /crucible/0/regions/f43d154c-f6f6-4189-889b-e2912c06eb35
|
118 | 2023-11-16T21:29:37.732Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:64748
req_id = 5956e775-89c0-47e8-a445-97138d7941e4
response_code = 200
uri = /crucible/0/regions/f43d154c-f6f6-4189-889b-e2912c06eb35
|
119 | 2023-11-16T21:29:37.733Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-f43d154c-f6f6-4189-889b-e2912c06eb35 (instance states: (Some(Online), None))
|
120 | 2023-11-16T21:29:37.747Z | INFO | crucible-agent (worker): SMF ok!
|
121 | 2023-11-16T21:29:37.757Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f43d154c-f6f6-4189-889b-e2912c06eb35"
region = f43d154c-f6f6-4189-889b-e2912c06eb35
|
122 | 2023-11-16T21:29:37.802Z | INFO | crucible-agent (datafile): region f43d154c-f6f6-4189-889b-e2912c06eb35 state: Tombstoned -> Destroyed
|
123 | 2023-11-16T21:29:37.869Z | INFO | crucible-agent (dropshot): request completed
latency_us = 53
local_addr = [fd00:1122:3344:101::1a]:32345
method = GET
remote_addr = [fd00:1122:3344:101::c]:64748
req_id = c5cd4116-9bd7-4043-b3d9-4193c4607cee
response_code = 200
uri = /crucible/0/regions/f43d154c-f6f6-4189-889b-e2912c06eb35
|