Skip to content

Commit e3ab705

Browse files
author
Bob
committed
BZ1788218: RHEL workers update proc for y-stream
1 parent c4b1a7d commit e3ab705

File tree

1 file changed

+37
-19
lines changed

1 file changed

+37
-19
lines changed

modules/rhel-compute-updating.adoc

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,30 @@
22
//
33
// * updating/updating-cluster-rhel-compute.adoc
44

5-
[id="rhel-compute-updating_{context}"]
6-
= Updating RHEL compute machines in your cluster
5+
[id="rhel-compute-updating-minor_{context}"]
6+
= Updating {op-system-base} compute machines in your cluster
77

8-
After you update your cluster, you must update the Red Hat Enterprise Linux (RHEL)
9-
compute machines in your cluster.
8+
After you update your cluster, you must update the {op-system-base-full} compute machines in your cluster.
9+
10+
[IMPORTANT]
11+
====
12+
Because only {op-system-base-full} version 7.9 or later is supported for worker (compute) machines, you must not upgrade the {op-system-base} worker machines to version 8.
13+
====
14+
15+
You can also update your compute machines to another minor version of {product-title} if you are using {op-system-base} as the operating system. You do not need to exclude any RPM packages from {op-system-base} when performing a minor version update.
1016

1117
.Prerequisites
1218

1319
* You updated your cluster.
1420
+
1521
[IMPORTANT]
1622
====
17-
Because the RHEL machines require assets that are generated by the cluster to
18-
complete the update process, you must update the cluster before you update
19-
the RHEL compute machines in it.
23+
Because the {op-system-base} machines require assets that are generated by the cluster to complete the update process, you must update the cluster before you update the {op-system-base} worker machines in it.
2024
====
2125

22-
* You have access to the machine that you used to add the RHEL compute machines
23-
cluster. You must have access to the `hosts` Ansible inventory file that defines
24-
your RHEL machines and the `upgrade` playbook.
26+
* You have access to the local machine that you used to add the {op-system-base} compute machines to your cluster. You must have access to the `hosts` Ansible inventory file that defines your {op-system-base} machines and the `upgrade` playbook.
27+
28+
* For updates to a minor version, the RPM repository is using the same version of {product-title} that is running on your cluster.
2529

2630
.Procedure
2731

@@ -54,7 +58,7 @@ You must not enable firewalld later. If you do, you cannot access {product-title
5458
# yum update openshift-ansible openshift-clients
5559
----
5660

57-
.. On each RHEL compute node, update the required repositories:
61+
.. On each {op-system-base} compute node, update the required repositories:
5862
+
5963
[source,terminal]
6064
----
@@ -64,8 +68,8 @@ You must not enable firewalld later. If you do, you cannot access {product-title
6468
--enable=rhel-7-server-optional-rpms
6569
----
6670

67-
. Update a RHEL worker machine:
68-
.. Review the current node status to determine which RHEL worker to update:
71+
. Update a {op-system-base} worker machine:
72+
.. Review the current node status to determine which {op-system-base} worker to update:
6973
+
7074
[source,terminal]
7175
----
@@ -87,8 +91,7 @@ mycluster-rhel7-3 Ready worker 98m v1.22.
8791
+
8892
Note which machine has the `NotReady,SchedulingDisabled` status.
8993

90-
.. Review your Ansible inventory file at `/<path>/inventory/hosts`
91-
and update its contents so that only the machine with the `NotReady,SchedulingDisabled` status is listed in the `[workers]` section, as shown in the following example:
94+
.. Review your Ansible inventory file at `/<path>/inventory/hosts` and update its contents so that only the machine with the `NotReady,SchedulingDisabled` status is listed in the `[workers]` section, as shown in the following example:
9295
+
9396
----
9497
[all:vars]
@@ -114,10 +117,14 @@ $ cd /usr/share/ansible/openshift-ansible
114117
----
115118
$ ansible-playbook -i /<path>/inventory/hosts playbooks/upgrade.yml <1>
116119
----
117-
<1> For `<path>`, specify the path to the Ansible inventory file
118-
that you created.
119-
120-
. Follow the process in the previous step to update each RHEL worker machine in your cluster.
120+
<1> For `<path>`, specify the path to the Ansible inventory file that you created.
121+
+
122+
[NOTE]
123+
====
124+
The `upgrade` playbook only upgrades the {product-title} packages. It does not update the operating system packages.
125+
====
126+
+
127+
. Follow the process in the previous step to update each {op-system-base} worker machine in your cluster.
121128

122129
. After you update all of the workers, confirm that all of your cluster nodes have updated to the new version:
123130
+
@@ -138,3 +145,14 @@ mycluster-rhel7-1 Ready worker 98m v1.22.
138145
mycluster-rhel7-2 Ready worker 98m v1.22.0
139146
mycluster-rhel7-3 Ready worker 98m v1.22.0
140147
----
148+
. Optional: Update the operating system packages that were not updated by the `upgrade` playbook. To update packages that are not on {product-version}, use the following command:
149+
+
150+
[source,terminal]
151+
----
152+
# yum update
153+
----
154+
+
155+
[NOTE]
156+
====
157+
You do not need to exclude RPM packages if you are using the same RPM repository that you used when you installed {product-version}.
158+
====

0 commit comments

Comments
 (0)