Skip to content

Commit 213142f

Browse files
authored
Merge pull request #65266 from maxwelldb/cpms-node-migration-osdocs7261
[OSDOCS-7261] CPMS migration procedure for RHOSP
2 parents 93b2563 + f4f3c3e commit 213142f

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
lines changed

modules/cpmso-feat-replace.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@
88

99
To replace a control plane machine in a cluster that has a control plane machine set, you delete the machine manually. The control plane machine set replaces the deleted machine with one using the specification in the control plane machine set custom resource (CR).
1010

11+
.Prerequisites
12+
13+
* If your cluster runs on {rh-openstack-first} and you need to evacuate a compute server, such as for an upgrade, you must disable the {rh-openstack} compute node that the machine runs on by running the following command:
14+
+
15+
[source,terminal]
16+
----
17+
$ openstack compute service set <target_node_host_name> nova-compute --disable
18+
----
19+
+
20+
For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html/configuring_the_compute_service_for_instance_creation/assembly_managing-instances_managing-instances#proc_preparing-to-migrate_migrating-instances[Preparing to migrate] in the {rh-openstack} documentation.
21+
1122
.Procedure
1223

1324
. List the control plane machines in your cluster by running the following command:

modules/installation-user-infra-generate-k8s-manifest-ignition.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,11 @@ Because you create and manage the worker machines yourself, you do not need to i
193193
endif::aws,azure,ash,gcp[]
194194

195195
ifdef::osp,vsphere[]
196-
. Remove the Kubernetes manifest files that define the control plane machines and compute machine sets:
196+
. Remove the Kubernetes manifest files that define the control plane machines, compute machine sets, and control plane machine sets:
197197
+
198198
[source,terminal]
199199
----
200-
$ rm -f openshift/99_openshift-cluster-api_master-machines-*.yaml openshift/99_openshift-cluster-api_worker-machineset-*.yaml
200+
$ rm -f openshift/99_openshift-cluster-api_master-machines-*.yaml openshift/99_openshift-cluster-api_worker-machineset-*.yaml openshift/99_openshift-machine-api_master-control-plane-machine-set.yaml
201201
----
202202
+
203203
Because you create and manage these resources yourself, you do not have

modules/nodes-control-plane-osp-migrating.adoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44

55
:_content-type: PROCEDURE
66
[id="nodes-control-plane-osp-migrating_{context}"]
7-
= Migrating control plane nodes from one RHOSP host to another
7+
= Migrating control plane nodes from one RHOSP host to another manually
88

9-
You can run a script that moves a control plane node from one {rh-openstack-first} node to another.
9+
If control plane machine sets are not enabled on your cluster, you can run a script that moves a control plane node from one {rh-openstack-first} node to another.
10+
11+
[NOTE]
12+
====
13+
Control plane machine sets are not enabled on clusters that run on user-provisioned infrastructure.
14+
15+
For information about control plane machine sets, see "Managing control plane machines with control plane machine sets".
16+
====
1017

1118
.Prerequisites
1219

nodes/nodes/nodes-nodes-managing.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ endif::openshift-webscale[]
3030

3131
include::modules/nodes-nodes-swap-memory.adoc[leveloffset=+1]
3232
include::modules/nodes-control-plane-osp-migrating.adoc[leveloffset=+1]
33+
[role="_additional-resources"]
34+
.Additional resources
35+
36+
* For information about control plane machine sets, see xref:../../machine_management/control_plane_machine_management/cpmso-using.adoc#cpmso-using[Managing control plane machines with control plane machine sets].
3337

0 commit comments

Comments
 (0)