You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc
+28-21Lines changed: 28 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ $ export COMPUTES_CELL3=(
107
107
# ...
108
108
109
109
$ declare -A COMPUTES_API_CELL1
110
-
$ export COMPUTES_API_CELL1=( <2>
110
+
$ export COMPUTES_API_CELL1=(
111
111
["standalone.localdomain"]="172.17.0.100"
112
112
# ...
113
113
)
@@ -123,16 +123,23 @@ done
123
123
$ NODESETS="[${NODESETS%,*}]"
124
124
----
125
125
+
126
-
<1> The source cloud `default` cell takes a new `DEFAULT_CELL_NAME` on the destined cloud after adoption.
127
-
In a multi-cell adoption scenario, you may either retain its original name `default`, or create as `cell<X>`, by providing the incremented index of the last cell in the source cloud (which is, by adding a 1 to it).
128
-
<2> For each cell, adjust <["standalone.localdomain"]="x.x.x.x">, and complete `COMPUTES_CELL<X>` and `COMPUTES_API_CELL<X>` data with the names and IP addresses of the {compute_service} nodes connected to the `ctlplane` and `internalapi` networks. Do not specify a real FQDN defined for each network, always use the same host name for each of its connected networks. Providing IP addresses and names of the hosts on remaining networks of the source cloud should be covered the similar way. Or you can adjust the generated files manually as shown below.
129
-
<3> If your deployment has a custom DNS Domain, put it in for FQDN of the nodes. The given values will be used in the dataplane node sets' `spec.nodes.<NODE NAME>.hostName`.
130
-
<4> Assign all {compute_service} nodes from the source cloud `cell1` cell into `COMPUTES_*CELL1`, and so on.
126
+
<1> The source cloud `default` cell acquires a new `DEFAULT_CELL_NAME` on the destination cloud after adoption.
127
+
In a multi-cell adoption scenario, you can retain the original name, `default`, or create a new cell default name, for example, `cell<X>`, by providing the incremented index of the last cell in the source cloud (which is, by adding a 1 to it).
128
+
//Bohdan: Can you clarify what you mean by "adding a 1 to it"? Do you mean that if the last cell in the source cloud was cell5, then you would add a 1 and it would be cell6?
129
+
<2> For each cell, update the <["standalone.localdomain"]="x.x.x.x"> and complete `COMPUTES_CELL<X>` and `COMPUTES_API_CELL<X>` data with the names and IP addresses of the {compute_service} nodes that are connected to the `ctlplane` and `internalapi` networks. Do not specify a real FQDN defined for each network, always use the same host name for each of its connected networks. Providing IP addresses and names of the hosts on remaining networks of the source cloud should be covered the similar way. Or you can adjust the generated files manually as shown below.
130
+
//Bohdan: Are customers supposed to replace the COMPUTES_CELL1, COMPUTES_CELL2, COMPUTES_API_CELL1, etc. with the names of their own compute cells? Or do you mean that customers should replace ["standalone.localdomain"]="192.168.122.100 with the name and IP address of the Compute nodes?
131
+
<3> If your deployment has a custom DNS domain, specify it in the FQDN value of the nodes. The given values are used in the data plane node set `spec.nodes.<NODE NAME>.hostName`.
132
+
//Bohdan: This point corresponds with `["standalone.localdomain"]="192.168.122.100"` in the code block, and I'm not sure how they relate.Also, does the "given values" refer to the custom DNS domain?
133
+
<4> Assign all {compute_service} nodes from the source cloud `cell1` cell into `COMPUTES_CELL1`, and so on.
134
+
//Bohdan: <4> points to #... in the code block. Is the customer expected to list the Compute nodes from `cell1` there?
131
135
<5> Assign all {compute_service} nodes from the source cloud `default` cell into `openstack-<X>`,
132
136
where `<X>` is the `DEFAULT_CELL_NAME` environment variable value (here, it equals 'cell3').
133
-
<6> Cells not containing compute nodes will be omitted as no node sets for it should be created.
137
+
//Bohdan:So in this example, `cell3` is considered the `DEFAULT_CELL_NAME`? And `openstack-<X>` is what the `default` cell was called in the source cloud?
138
+
<6> Cells that do not contain Compute nodes are omitted because no node sets are created for the cells.
139
+
//Bohdan: <6> in the code block should probably be moved after `NODESETS="'openstack-${CELL}', $NODESETS"`, correct? And can we also describe what is happening in that command? For example: "<6> Creates the node sets for each cell that include Compute nodes. Cells that do not include Compute nodes are omitted because no node sets are created for the cells.
134
140
135
-
** When you have deployed the source cloud with only a 'default' cell, and want to rename it during adoption, you should define that instead:
141
+
** If you deployed the source cloud with a 'default' cell, and want to rename it during adoption, define the new name that you want to use, as shown in the following example:
142
+
//Bohdan: Don't we already describe this scenario in <1> above? "...or create a new cell default name, for example, `cell<X>`, by providing the incremented index of the last cell in the source cloud..."
136
143
+
137
144
----
138
145
$ DEFAULT_CELL_NAME="cell1"
@@ -188,7 +195,7 @@ cd -
188
195
----
189
196
+
190
197
191
-
. If TLS Everywhere is enabled, set LIBVIRT_PASSWORD to match the existing {OpenStackShort} deployment password:
198
+
. If TLS Everywhere is enabled, set `LIBVIRT_PASSWORD` to match the existing {OpenStackShort} deployment password:
192
199
+
193
200
----
194
201
declare -A TRIPLEO_PASSWORDS
@@ -211,7 +218,7 @@ data:
211
218
EOF
212
219
----
213
220
214
-
. Create a configuration map which should become common for all cells. To configure a local storage back end for libvirt:
221
+
. Create a configuration map to use for all cells to configure a local storage back end for libvirt:
215
222
+
216
223
----
217
224
$ oc apply -f - <<EOF
@@ -226,15 +233,16 @@ data: <1>
226
233
EOF
227
234
----
228
235
+
229
-
<1> The `data` resources in the `ConfigMap` provides configuration files for all cells.
230
-
<2> There is a requirement to index the <*.conf> files from '03' to '99', based on its precedence.
231
-
Whereis a <99-*.conf> takes top precedence. Indexes below '03' are reserved for internal use.
236
+
<1> The `data` resources in the `ConfigMap` provide the configuration files for all the cells.
237
+
<2> There is a requirement to index the `<*.conf>` files from '03' to '99', based on precedence. A `<99-*.conf>` file takes the highest precedence, while indexes below '03' are reserved for internal use.
232
238
233
239
[NOTE]
234
-
You should never delete, nor overwrite, the cell1's default `nova-extra-config` configuration map assigned to its default dataplane service 'nova'.
235
-
Adopting a live cloud might require other configurations to carry over for Nova EDPM services stored in that configuration map, without overwriting or losing them.
240
+
Do not delete or overwrite the cell1 default `nova-extra-config` configuration map that is assigned to its default data plane service 'nova'.
241
+
Adopting a live cloud might require other configurations to carry over for the Nova data plane services that are stored in that configuration map, without overwriting or losing them.
236
242
237
-
. To configure a Ceph back end for libvirt:
243
+
//Bohdan: Do you mean "overwriting or losing the data plane services"?
244
+
245
+
. Configure a {Ceph} back end for libvirt:
238
246
+
239
247
----
240
248
$ oc apply -f - <<EOF
@@ -258,10 +266,9 @@ data:
258
266
rbd_secret_uuid=$CEPH_FSID
259
267
EOF
260
268
----
261
-
+
262
269
263
-
. Create dataplane services for Nova cells to enable pre-upgrade workarounds,
264
-
and to configure the {compute_service} services for a picked storage back end:
270
+
. Create data plane services for {compute_service} cells to enable pre-upgrade workarounds, and to configure the Compute services for a picked storage back end:
271
+
//Bohdan: What do you mean by "picked"? A specific storage back end?
265
272
+
266
273
----
267
274
for CELL in $(echo $RENAMED_CELLS); do
@@ -289,7 +296,6 @@ EOF
289
296
done
290
297
----
291
298
+
292
-
293
299
* If TLS Everywhere is enabled, append the following content to the `OpenStackDataPlaneService` CR:
294
300
+
295
301
----
@@ -305,9 +311,10 @@ EOF
305
311
edpmServiceType: nova
306
312
----
307
313
+
308
-
<1> To enable a local metadata services for a cell<N>, append a `spec.dataSources.secretRef` to reference
314
+
<1> To enable a local metadata service for cell<N>, append a `spec.dataSources.secretRef` to reference
309
315
an additional auto-generated `nova-cell<N>-metadata-neutron-config` secret. According to xref:adopting-the-compute-service_{context}[Adopting the Compute service] guide, you should also set
310
316
`spec.nova.template.cellTemplates.cell<N>.metadataServiceTemplate.enable` in the `OpenStackControlPlane/openstack` CR. You may either configure a single top level metadata, or you should define a per cell metadata for each cell.
317
+
//Bohdan: What does cell<N> refer to? The default cell or something else?
311
318
<2> The secret `nova-cell<N>-compute-config` auto-generates for each `cell<N>`.
312
319
<3> You must append the `nova-cell<N>-compute-config` and `nova-migration-ssh-key` references for each custom `OpenStackDataPlaneService` CR that is related to the {compute_service}.
Copy file name to clipboardExpand all lines: docs_user/modules/proc_adopting-the-compute-service.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,22 +12,22 @@ To adopt the {compute_service_first_ref}, you patch an existing `OpenStackContro
12
12
13
13
* You have completed the previous adoption steps.
14
14
* You have defined the following shell variables. Replace the following example values with the values that are correct for your environment:
15
+
+
15
16
----
16
17
alias openstack="oc exec -t openstackclient -- openstack"
17
18
18
19
DEFAULT_CELL_NAME="cell3"
19
20
RENAMED_CELLS="cell1 cell2 $DEFAULT_CELL_NAME"
20
21
----
21
22
+
22
-
The source cloud 'default' cell takes a new `$DEFAULT_CELL_NAME`. In a multi-cell adoption scenario, it may either retain its original name (`DEFAULT_CELL_NAME=default`), or become renamed into a free for use cell name. Never chose other existing cells names (except 'default') for `DEFAULT_CELL_NAME`.
23
-
24
-
When you have deployed the source cloud with only a 'default' cell, and want to rename it during adoption, you should define that instead:
23
+
** The source cloud 'default' cell takes a new `$DEFAULT_CELL_NAME`. In a multi-cell adoption scenario, it may either retain its original name (`DEFAULT_CELL_NAME=default`), or become renamed into a free for use cell name. Never chose other existing cells names (except 'default') for `DEFAULT_CELL_NAME`.
24
+
** When you have deployed the source cloud with only a 'default' cell, and want to rename it during adoption, you should define that instead:
0 commit comments