1 | | [ Jan 17 05:15:26 Enabled. ] |
2 | | [ Jan 17 05:15:26 Rereading configuration. ] |
3 | | [ Jan 17 05:15:27 Rereading configuration. ] |
4 | | [ Jan 17 05:15:28 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=oxControlService23 |
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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible |
20 | | ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default |
21 | | + LISTEN_ADDR=fd00:1122:3344:101::15 |
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 | | + [[ oxControlService23 == unknown ]] |
31 | | + [[ fd00:1122:3344:101::1 == unknown ]] |
32 | | + ipadm delete-if oxControlService23 |
33 | | ipadm: Could not delete oxControlService23: Interface does not exist |
34 | | + true |
35 | | + ipadm create-if -t oxControlService23 |
36 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 |
37 | | + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 |
38 | | + ipadm show-addr oxControlService23/ll |
39 | | ipadm: Address object not found |
40 | | + ipadm create-addr -t -T addrconf oxControlService23/ll |
41 | | + ipadm show-addr oxControlService23/omicron6 |
42 | | ipadm: Address object not found |
43 | | + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService23/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot |
50 | | note: configured to log to "/dev/stdout" |
51 | 2024-01-17T05:15:29.339Z | INFO | crucible-agent: dataset: "oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible"
|
52 | 2024-01-17T05:15:29.342Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::15]:32345
|
53 | 2024-01-17T05:15:29.342Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
54 | 2024-01-17T05:15:29.743Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::15]:32345
|
55 | 2024-01-17T05:21:53.876Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::a]:37044
|
56 | 2024-01-17T05:21:53.963Z | INFO | crucible-agent (datafile): region 362aee95-87d1-4117-add3-892bddb23454 state: Requested
|
57 | 2024-01-17T05:21:53.971Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
58 | 2024-01-17T05:21:53.971Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22109
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:37044
req_id = 89cb116e-7e4d-4ae7-ba1b-34c0f4ee9f17
response_code = 200
uri = /crucible/0/regions
|
59 | 2024-01-17T05:21:53.982Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/362aee95-87d1-4117-add3-892bddb23454
|
60 | 2024-01-17T05:21:53.982Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/362aee95-87d1-4117-add3-892bddb23454
|
61 | 2024-01-17T05:21:54.031Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("362aee95-87d1-4117-add3-892bddb23454"), 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/362aee95-87d1-4117-add3-892bddb23454"
region = 362aee95-87d1-4117-add3-892bddb23454
|
62 | 2024-01-17T05:21:54.173Z | INFO | crucible-agent (dropshot): request completed
latency_us = 83
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:37044
req_id = df0de91c-2a97-47e3-85da-248a851ae1d3
response_code = 200
uri = /crucible/0/regions
|
63 | 2024-01-17T05:21:54.352Z | INFO | crucible-agent (worker): region files created ok
region = 362aee95-87d1-4117-add3-892bddb23454
|
64 | 2024-01-17T05:21:54.352Z | INFO | crucible-agent (datafile): region 362aee95-87d1-4117-add3-892bddb23454 state: Requested -> Created
|
65 | 2024-01-17T05:21:54.353Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
66 | 2024-01-17T05:21:54.355Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-362aee95-87d1-4117-add3-892bddb23454
|
67 | 2024-01-17T05:21:54.361Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-362aee95-87d1-4117-add3-892bddb23454
|
68 | 2024-01-17T05:21:54.376Z | INFO | crucible-agent (worker): creating config property group
|
69 | 2024-01-17T05:21:54.378Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-362aee95-87d1-4117-add3-892bddb23454
|
70 | 2024-01-17T05:21:54.381Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/362aee95-87d1-4117-add3-892bddb23454
|
71 | 2024-01-17T05:21:54.383Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
72 | 2024-01-17T05:21:54.383Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
73 | 2024-01-17T05:21:54.384Z | INFO | crucible-agent (worker): commit
|
74 | 2024-01-17T05:21:54.392Z | INFO | crucible-agent (worker): ok!
|
75 | 2024-01-17T05:21:54.397Z | INFO | crucible-agent (worker): SMF ok!
|
76 | 2024-01-17T05:21:54.516Z | INFO | crucible-agent (dropshot): request completed
latency_us = 67
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:37044
req_id = 6ae24dcd-b4fa-43fa-be1c-0ed57b5ae224
response_code = 200
uri = /crucible/0/regions
|
77 | 2024-01-17T05:21:57.547Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::a]:52904
|
78 | 2024-01-17T05:21:57.609Z | INFO | crucible-agent (datafile): region 18c16eb6-324c-4aa4-bea3-f47b03329196 state: Requested
|
79 | 2024-01-17T05:21:57.609Z | INFO | crucible-agent (dropshot): request completed
latency_us = 777
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:52904
req_id = f3cd4839-a1f9-45bd-a90f-966f7bf86797
response_code = 200
uri = /crucible/0/regions
|
80 | 2024-01-17T05:21:57.609Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
81 | 2024-01-17T05:21:57.620Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/18c16eb6-324c-4aa4-bea3-f47b03329196
|
82 | 2024-01-17T05:21:57.620Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/18c16eb6-324c-4aa4-bea3-f47b03329196
|
83 | 2024-01-17T05:21:57.688Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("18c16eb6-324c-4aa4-bea3-f47b03329196"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19001, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/18c16eb6-324c-4aa4-bea3-f47b03329196"
region = 18c16eb6-324c-4aa4-bea3-f47b03329196
|
84 | 2024-01-17T05:21:57.757Z | INFO | crucible-agent (worker): region files created ok
region = 18c16eb6-324c-4aa4-bea3-f47b03329196
|
85 | 2024-01-17T05:21:57.757Z | INFO | crucible-agent (datafile): region 18c16eb6-324c-4aa4-bea3-f47b03329196 state: Requested -> Created
|
86 | 2024-01-17T05:21:57.757Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
87 | 2024-01-17T05:21:57.758Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-18c16eb6-324c-4aa4-bea3-f47b03329196
|
88 | 2024-01-17T05:21:57.761Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-18c16eb6-324c-4aa4-bea3-f47b03329196
|
89 | 2024-01-17T05:21:57.768Z | INFO | crucible-agent (worker): creating config property group
|
90 | 2024-01-17T05:21:57.772Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-18c16eb6-324c-4aa4-bea3-f47b03329196
|
91 | 2024-01-17T05:21:57.772Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/18c16eb6-324c-4aa4-bea3-f47b03329196
|
92 | 2024-01-17T05:21:57.773Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
93 | 2024-01-17T05:21:57.773Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
94 | 2024-01-17T05:21:57.773Z | INFO | crucible-agent (worker): commit
|
95 | 2024-01-17T05:21:57.776Z | INFO | crucible-agent (worker): ok!
|
96 | 2024-01-17T05:21:57.778Z | INFO | crucible-agent (dropshot): request completed
latency_us = 65
local_addr = [fd00:1122:3344:101::15]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:52904
req_id = c5bd22d5-55c3-4e5c-90cb-99684e7c1f66
response_code = 200
uri = /crucible/0/regions
|
97 | 2024-01-17T05:21:57.781Z | INFO | crucible-agent (worker): existing directory value /dev/null does not match /data/regions/362aee95-87d1-4117-add3-892bddb23454
|
98 | 2024-01-17T05:21:57.781Z | INFO | crucible-agent (worker): existing port value 0 does not match 19000
|
99 | 2024-01-17T05:21:57.782Z | INFO | crucible-agent (worker): existing address value 0.0.0.0 does not match fd00:1122:3344:101::15
|
100 | 2024-01-17T05:21:57.782Z | INFO | crucible-agent (worker): reconfig required
|
101 | 2024-01-17T05:21:57.782Z | INFO | crucible-agent (worker): using existing config property group
|
102 | 2024-01-17T05:21:57.782Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-362aee95-87d1-4117-add3-892bddb23454
|
103 | 2024-01-17T05:21:57.782Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/362aee95-87d1-4117-add3-892bddb23454
|
104 | 2024-01-17T05:21:57.782Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
105 | 2024-01-17T05:21:57.782Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
106 | 2024-01-17T05:21:57.782Z | INFO | crucible-agent (worker): commit
|
107 | 2024-01-17T05:21:57.789Z | INFO | crucible-agent (worker): ok!
|
108 | 2024-01-17T05:21:57.790Z | INFO | crucible-agent (worker): SMF ok!
|
109 | 2024-01-17T05:22:28.369Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::15]:32345
remote_addr = [fd00:1122:3344:101::a]:42480
|
110 | 2024-01-17T05:22:28.370Z | INFO | crucible-agent (dropshot): request completed
latency_us = 82
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42480
req_id = bb7959e6-d636-4e81-b32d-9b2597e06768
response_code = 200
uri = /crucible/0/regions/18c16eb6-324c-4aa4-bea3-f47b03329196
|
111 | 2024-01-17T05:22:28.370Z | INFO | crucible-agent (datafile): path is "/data/regions/18c16eb6-324c-4aa4-bea3-f47b03329196"
|
112 | 2024-01-17T05:22:28.380Z | INFO | crucible-agent (datafile): dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/18c16eb6-324c-4aa4-bea3-f47b03329196
|
113 | 2024-01-17T05:22:28.389Z | INFO | crucible-agent (datafile): region 18c16eb6-324c-4aa4-bea3-f47b03329196 state: Created -> Tombstoned
|
114 | 2024-01-17T05:22:28.389Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
115 | 2024-01-17T05:22:28.389Z | INFO | crucible-agent (dropshot): request completed
latency_us = 19330
local_addr = [fd00:1122:3344:101::15]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:42480
req_id = d975c86f-b675-4e2c-89fe-11f914157390
response_code = 204
uri = /crucible/0/regions/18c16eb6-324c-4aa4-bea3-f47b03329196
|
116 | 2024-01-17T05:22:28.389Z | INFO | crucible-agent (dropshot): request completed
latency_us = 22
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42480
req_id = 724ced83-b71b-45f9-9373-27c26de4b6a4
response_code = 200
uri = /crucible/0/regions/18c16eb6-324c-4aa4-bea3-f47b03329196
|
117 | 2024-01-17T05:22:28.390Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-18c16eb6-324c-4aa4-bea3-f47b03329196 (instance states: (Some(Online), None))
|
118 | 2024-01-17T05:22:28.395Z | INFO | crucible-agent (worker): existing directory value /dev/null does not match /data/regions/362aee95-87d1-4117-add3-892bddb23454
|
119 | 2024-01-17T05:22:28.395Z | INFO | crucible-agent (worker): existing port value 0 does not match 19000
|
120 | 2024-01-17T05:22:28.395Z | INFO | crucible-agent (worker): existing address value 0.0.0.0 does not match fd00:1122:3344:101::15
|
121 | 2024-01-17T05:22:28.395Z | INFO | crucible-agent (worker): reconfig required
|
122 | 2024-01-17T05:22:28.395Z | INFO | crucible-agent (worker): using existing config property group
|
123 | 2024-01-17T05:22:28.395Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-362aee95-87d1-4117-add3-892bddb23454
|
124 | 2024-01-17T05:22:28.396Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/362aee95-87d1-4117-add3-892bddb23454
|
125 | 2024-01-17T05:22:28.396Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
126 | 2024-01-17T05:22:28.396Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15
|
127 | 2024-01-17T05:22:28.396Z | INFO | crucible-agent (worker): commit
|
128 | 2024-01-17T05:22:28.399Z | INFO | crucible-agent (worker): ok!
|
129 | 2024-01-17T05:22:28.400Z | INFO | crucible-agent (worker): SMF ok!
|
130 | 2024-01-17T05:22:28.410Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/18c16eb6-324c-4aa4-bea3-f47b03329196"
region = 18c16eb6-324c-4aa4-bea3-f47b03329196
|
131 | 2024-01-17T05:22:28.461Z | INFO | crucible-agent (datafile): region 18c16eb6-324c-4aa4-bea3-f47b03329196 state: Tombstoned -> Destroyed
|
132 | 2024-01-17T05:22:28.474Z | INFO | crucible-agent (dropshot): request completed
latency_us = 56
local_addr = [fd00:1122:3344:101::15]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:42480
req_id = 7c4b0142-4bff-426a-8efb-7ace942be367
response_code = 200
uri = /crucible/0/regions/18c16eb6-324c-4aa4-bea3-f47b03329196
|