|
5 | 5 |
|
6 | 6 | Adopt your Compute (nova) services to the {rhos_long} data plane. |
7 | 7 |
|
8 | | -//kgilliga: The following text belongs under the code block in step 6 but I'm unable to hide it there: "For multi-cell, config maps and {rhos_prev_long} data plane services should be named like `nova-custom-ceph-cellX` and `nova-compute-extraconfig-cellX`." |
9 | | - |
10 | 8 | .Prerequisites |
11 | 9 |
|
12 | 10 | * You have stopped the remaining control plane nodes, repositories, and packages on the {compute_service_first_ref} hosts. For more information, see xref:stopping-infrastructure-management-and-compute-services_{context}[Stopping infrastructure management and Compute services]. |
|
85 | 83 | * You have defined the shell variables to run the script that runs the upgrade: |
86 | 84 | + |
87 | 85 | ---- |
88 | | -$ CEPH_FSID=$(oc get secret ceph-conf-files -o json | jq -r '.data."ceph.conf"' | base64 -d | grep fsid | sed -e 's/fsid = //' |
| 86 | +$ CEPH_FSID=$(oc get secret ceph-conf-files -o json | jq -r '.data."ceph.conf"' | base64 -d | grep fsid | sed -e 's/fsid = //') |
89 | 87 |
|
90 | 88 | $ alias openstack="oc exec -t openstackclient -- openstack" |
91 | 89 |
|
@@ -128,7 +126,7 @@ $ NODESETS="[${NODESETS%,*}]" |
128 | 126 | + |
129 | 127 | <1> The source cloud `default` cell acquires a new `DEFAULT_CELL_NAME` on the destination cloud after adoption. |
130 | 128 | In a multi-cell adoption scenario, you can retain the original name, `default`, or create a new cell default name by providing the incremented index of the last cell in the source cloud. For example, if the incremented index of the last cell is `cell5`, the new cell default name is `cell6`. |
131 | | -<2> For each cell, update the `<["standalone.localdomain"]="x.x.x.x">` value and the and `COMPUTES_CELL<X>` value 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 hostname for each connected network of a Compute node. Provide the IP addresses and the names of the hosts on the remaining networks of the source cloud as needed. Or you can manually adjust the files that you generate in step 9 of this procedure. |
| 129 | +<2> For each cell, update the `<["standalone.localdomain"]="x.x.x.x">` value and the `COMPUTES_CELL<X>` value 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 hostname for each connected network of a Compute node. Provide the IP addresses and the names of the hosts on the remaining networks of the source cloud as needed. Or you can manually adjust the files that you generate in step 9 of this procedure. |
132 | 130 | <3> If your deployment has a custom DNS domain, specify it in the FQDN value of the nodes. This value is used in the data plane node set `spec.nodes.<NODE NAME>.hostName`. |
133 | 131 | <4> Assign all {compute_service} nodes from the source cloud `cell1` cell into `COMPUTES_CELL1`, and so on. Replace `<compute1>`, `<compute2>`, and `<compute3>` with the names of your {compute_service} nodes. |
134 | 132 | <5> Assign all {compute_service} nodes from the source cloud `default` cell into `COMPUTES_CELL<X>` and `COMPUTES_API_CELL<X>``, where `<X>` is the `DEFAULT_CELL_NAME` environment variable value. In this example, the `DEFAULT_CELL_NAME` environment variable value equals `cell3`. |
@@ -262,6 +260,9 @@ data: |
262 | 260 | rbd_secret_uuid=$CEPH_FSID |
263 | 261 | EOF |
264 | 262 | ---- |
| 263 | ++ |
| 264 | +[NOTE] |
| 265 | +For {Ceph} environments with multi-cell configurations, you must name configuration maps and {rhos_prev_long} data plane services similar to the following examples: `nova-custom-ceph-cellX` and `nova-compute-extraconfig-cellX`. |
265 | 266 |
|
266 | 267 | . Create the data plane services for {compute_service} cells to enable pre-upgrade workarounds, and to configure the Compute services for your chosen storage back end: |
267 | 268 | + |
@@ -422,7 +423,7 @@ endif::[] |
422 | 423 | - name: ANSIBLE_FORCE_COLOR |
423 | 424 | value: "True" |
424 | 425 | - name: ANSIBLE_VERBOSITY |
425 | | - value: 3 |
| 426 | + value: '3' |
426 | 427 | nodeTemplate: |
427 | 428 | ansibleSSHPrivateKeySecret: dataplane-adoption-secret |
428 | 429 | ansible: |
|
0 commit comments