Skip to content

Commit 1fe500b

Browse files
committed
RHEL 8 compute node support
1 parent 5167632 commit 1fe500b

12 files changed

+92
-32
lines changed

machine_management/adding-rhel-compute.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ include::modules/rhel-compute-overview.adoc[leveloffset=+1]
1111

1212
include::modules/rhel-compute-requirements.adoc[leveloffset=+1]
1313

14+
[id="additional-resources_adding-rhel-compute"]
15+
== Additional resources
16+
17+
* xref:../nodes/nodes/nodes-nodes-working.adoc#deleting-nodes_nodes-nodes-working[Deleting nodes]
18+
1419
[id="adding-rhel-compute-preparing-image-cloud"]
1520
== Preparing an image for your cloud
1621

machine_management/more-rhel-compute.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ include::modules/rhel-compute-overview.adoc[leveloffset=+1]
1111

1212
include::modules/rhel-compute-requirements.adoc[leveloffset=+1]
1313

14+
[id="additional-resources_more-rhel-compute"]
15+
== Additional resources
16+
17+
* xref:../nodes/nodes/nodes-nodes-working.adoc#deleting-nodes_nodes-nodes-working[Deleting nodes]
18+
1419
[id="more-rhel-compute-preparing-image-cloud"]
1520
== Preparing an image for your cloud
1621

modules/installation-requirements-user-infra.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ ifndef::ibm-power[|4]
151151
ifndef::openshift-origin[]
152152
|Compute
153153
ifdef::ibm-z,ibm-power[|{op-system}]
154-
ifndef::ibm-z,ibm-power[|{op-system} or {op-system-base} 7.9 ^[2]^]
154+
ifndef::ibm-z,ibm-power[|{op-system}, {op-system-base} 7.9, or {op-system-base} 8.4 ^[2]^]
155155
|2
156156
|8 GB
157157
|120 GB
@@ -172,7 +172,7 @@ ifdef::ibm-z[]
172172
endif::ibm-z[]
173173
ifndef::ibm-z[]
174174
1. 1 vCPU is equivalent to 1 physical core when simultaneous multithreading (SMT), or hyperthreading, is not enabled. When enabled, use the following formula to calculate the corresponding ratio: (threads per core × cores) × sockets = vCPUs.
175-
2. As with all user-provisioned installations, if you choose to use {op-system-base} 7 compute machines in your cluster, you take responsibility for all operating system life cycle management and maintenance, including performing system updates, applying patches, and completing all other required tasks. Use of {op-system-base} 7 compute machines is deprecated and planned for removal in a future release of {product-title} 4.
175+
2. As with all user-provisioned installations, if you choose to use {op-system-base} compute machines in your cluster, you take responsibility for all operating system life cycle management and maintenance, including performing system updates, applying patches, and completing all other required tasks. Use of {op-system-base} 7 compute machines is deprecated and planned for removal in a future release of {product-title} 4.
176176
endif::ibm-z[]
177177
--
178178

modules/rhel-adding-more-nodes.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ ansible_user=root
3535
openshift_kubeconfig_path="~/.kube/config"
3636
3737
[workers]
38-
mycluster-rhel7-0.example.com
39-
mycluster-rhel7-1.example.com
38+
mycluster-rhel8-0.example.com
39+
mycluster-rhel8-1.example.com
4040
4141
[new_workers]
42-
mycluster-rhel7-2.example.com
43-
mycluster-rhel7-3.example.com
42+
mycluster-rhel8-2.example.com
43+
mycluster-rhel8-3.example.com
4444
----
4545
+
46-
In this example, the `mycluster-rhel7-0.example.com` and `mycluster-rhel7-1.example.com` machines are in the cluster and you add the `mycluster-rhel7-2.example.com` and `mycluster-rhel7-3.example.com` machines.
46+
In this example, the `mycluster-rhel8-0.example.com` and `mycluster-rhel8-1.example.com` machines are in the cluster and you add the `mycluster-rhel8-2.example.com` and `mycluster-rhel8-3.example.com` machines.
4747

4848
. Navigate to the Ansible playbook directory:
4949
+

modules/rhel-adding-node.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ ansible_user=root <1>
2727
openshift_kubeconfig_path="~/.kube/config" <3>
2828
2929
[new_workers] <4>
30-
mycluster-rhel7-0.example.com
31-
mycluster-rhel7-1.example.com
30+
mycluster-rhel8-0.example.com
31+
mycluster-rhel8-1.example.com
3232
----
3333
<1> Specify the user name that runs the Ansible tasks on the remote compute machines.
3434
<2> If you do not specify `root` for the `ansible_user`, you must set `ansible_become` to `True` and assign the user sudo permissions.

modules/rhel-compute-requirements.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ ifdef::openshift-origin[]
1919
** Base OS: CentOS 7.4.
2020
endif::[]
2121
ifdef::openshift-enterprise,openshift-webscale[]
22-
** Base OS: link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/installation_guide/index[{op-system-base} 7.9] with "Minimal" installation option.
22+
** Base OS: link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/installation_guide/index[{op-system-base} 7.9] or link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/performing_a_standard_rhel_installation/index[{op-system-base} 8.4] with "Minimal" installation option.
2323
+
2424
[IMPORTANT]
2525
====
2626
Adding {op-system-base} 7 compute machines to an {product-title} cluster is deprecated. Deprecated functionality is still included in {product-title} and continues to be supported; however, it will be removed in a future release of this product and is not recommended for new deployments.
2727
28-
In addition, you must not upgrade your compute machines to {op-system-base} 8 because support is not available in this release.
28+
In addition, you cannot upgrade your {op-system-base} 7 compute machines to {op-system-base} 8. You must deploy new {op-system-base} 8 hosts, and the old {op-system-base} 7 hosts should be removed. See the "Deleting nodes" section for more information.
2929
3030
For the most recent list of major functionality that has been deprecated or removed within {product-title}, refer to the _Deprecated and removed features_ section of the {product-title} release notes.
3131
====

modules/rhel-compute-updating.adoc

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
After you update your cluster, you must update the Red Hat Enterprise Linux (RHEL)
99
compute machines in your cluster.
1010

11+
[IMPORTANT]
12+
====
13+
You cannot upgrade {op-system-base} 7 compute machines to {op-system-base} 8. You must deploy new {op-system-base} 8 hosts, and the old {op-system-base} 7 hosts should be removed.
14+
====
15+
16+
// TODO: This module needs to be updated to reflect RHEL 8 compute machines in 4.10. Because initial support for RHEL 8 starts in 4.9, and upgrading RHEL 7 -> 8 in-place is not supported, this is being left to reflect RHEL 7 upgrades.
17+
1118
.Prerequisites
1219

1320
* You updated your cluster.
@@ -42,9 +49,9 @@ You must not enable firewalld later. If you do, you cannot access {product-title
4249
+
4350
[source,terminal]
4451
----
45-
# subscription-manager repos --disable=rhel-7-server-ose-4.7-rpms \
52+
# subscription-manager repos --disable=rhel-7-server-ose-4.8-rpms \
4653
--enable=rhel-7-server-ansible-2.9-rpms \
47-
--enable=rhel-7-server-ose-4.8-rpms
54+
--enable=rhel-7-server-ose-4.9-rpms
4855
----
4956

5057
.. On the machine that you run the Ansible playbooks, update the required packages, including `openshift-ansible`:
@@ -58,8 +65,8 @@ You must not enable firewalld later. If you do, you cannot access {product-title
5865
+
5966
[source,terminal]
6067
----
61-
# subscription-manager repos --disable=rhel-7-server-ose-4.7-rpms \
62-
--enable=rhel-7-server-ose-4.8-rpms \
68+
# subscription-manager repos --disable=rhel-7-server-ose-4.8-rpms \
69+
--enable=rhel-7-server-ose-4.9-rpms \
6370
--enable=rhel-7-fast-datapath-rpms \
6471
--enable=rhel-7-server-optional-rpms
6572
----

modules/rhel-images-aws.adoc

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ AMI IDs correspond to native boot images for AWS. Because an AMI must exist befo
1414

1515
.Procedure
1616

17-
* Use this command to list {op-system-base} 7.9 Amazon Machine Images (AMI):
17+
* Use this command to list {op-system-base} 8.4 Amazon Machine Images (AMI):
1818
+
1919
--
2020
[source,terminal]
2121
----
2222
$ aws ec2 describe-images --owners 309956199498 \ <1>
2323
--query 'sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]' \ <2>
24-
--filters "Name=name,Values=RHEL-7.9*" \ <3>
24+
--filters "Name=name,Values=RHEL-8.4*" \ <3>
2525
--region us-east-1 \ <4>
2626
--output table <5>
2727
----
@@ -32,24 +32,25 @@ $ aws ec2 describe-images --owners 309956199498 \ <1>
3232
This account ID is required to display AMI IDs for images that are provided by Red Hat.
3333
====
3434
<2> The `--query` command option sets how the images are sorted with the parameters `'sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]'`. In this case, the images are sorted by the creation date, and the table is structured to show the creation date, the name of the image, and the AMI IDs.
35-
<3> The `--filter` command option sets which version of {op-system-base} is shown. In this example, since the filter is set by `"Name=name,Values=RHEL-7.9*"`, then {op-system-base} 7.9 AMIs are shown.
35+
<3> The `--filter` command option sets which version of {op-system-base} is shown. In this example, since the filter is set by `"Name=name,Values=RHEL-8.4*"`, then {op-system-base} 8.4 AMIs are shown.
3636
<4> The `--region` command option sets where the region where an AMI is stored.
3737
<5> The `--output` command option sets how the results are displayed.
3838
--
3939

4040
[NOTE]
4141
====
42-
When creating a {op-system-base} compute machine for AWS, ensure that the AMI is {op-system-base} 7.9.
42+
When creating a {op-system-base} compute machine for AWS, ensure that the AMI is {op-system-base} 8.4.
4343
====
4444

4545
.Example output
4646
[source,terminal]
4747
----
48-
----------------------------------------------------------------------------------------------------------
49-
| DescribeImages |
50-
+---------------------------+----------------------------------------------------+-----------------------+
51-
| 2020-05-13T09:50:36.000Z | RHEL-7.9_HVM_BETA-20200422-x86_64-0-Hourly2-GP2 | ami-038714142142a6a64 |
52-
| 2020-09-18T07:51:03.000Z | RHEL-7.9_HVM_GA-20200917-x86_64-0-Hourly2-GP2 | ami-005b7876121b7244d |
53-
| 2021-02-09T09:46:19.000Z | RHEL-7.9_HVM-20210208-x86_64-0-Hourly2-GP2 | ami-030e754805234517e |
54-
+---------------------------+----------------------------------------------------+-----------------------+
48+
------------------------------------------------------------------------------------------------------------
49+
| DescribeImages |
50+
+---------------------------+-----------------------------------------------------+------------------------+
51+
| 2021-03-18T14:23:11.000Z | RHEL-8.4.0_HVM_BETA-20210309-x86_64-1-Hourly2-GP2 | ami-07eeb4db5f7e5a8fb |
52+
| 2021-03-18T14:38:28.000Z | RHEL-8.4.0_HVM_BETA-20210309-arm64-1-Hourly2-GP2 | ami-069d22ec49577d4bf |
53+
| 2021-05-18T19:06:34.000Z | RHEL-8.4.0_HVM-20210504-arm64-2-Hourly2-GP2 | ami-01fc429821bf1f4b4 |
54+
| 2021-05-18T20:09:47.000Z | RHEL-8.4.0_HVM-20210504-x86_64-2-Hourly2-GP2 | ami-0b0af3577fe5e3532 |
55+
+---------------------------+-----------------------------------------------------+------------------------+
5556
----

modules/rhel-preparing-node.adoc

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ Alternatively, disable all repositories:
6868
+
6969
Note that this might take a few minutes if you have a large number of available repositories
7070

71-
. Enable only the repositories required by {product-title} {product-version}:
71+
. Enable only the repositories required by {product-title} {product-version}.
72+
73+
.. For {op-system-base} 7 nodes, you must enable the following repositories:
7274
+
7375
[source,terminal]
7476
----
@@ -77,7 +79,23 @@ Note that this might take a few minutes if you have a large number of available
7779
--enable="rhel-7-fast-datapath-rpms" \
7880
--enable="rhel-7-server-extras-rpms" \
7981
--enable="rhel-7-server-optional-rpms" \
80-
--enable="rhel-7-server-ose-4.8-rpms"
82+
--enable="rhel-7-server-ose-4.9-rpms"
83+
----
84+
+
85+
[NOTE]
86+
====
87+
Use of {op-system-base} 7 nodes is deprecated and planned for removal in a future release of {product-title} 4.
88+
====
89+
90+
.. For {op-system-base} 8 nodes, you must enable the following repositories:
91+
+
92+
[source,terminal]
93+
----
94+
# subscription-manager repos \
95+
--enable="rhel-8-for-x86_64-baseos-rpms" \
96+
--enable="rhel-8-for-x86_64-appstream-rpms" \
97+
--enable="rhocp-4.9-for-rhel-8-x86_64-rpms" \
98+
--enable="fast-datapath-for-rhel-8-x86_64-rpms"
8199
----
82100

83101
. Stop and disable firewalld on the host:

modules/rhel-preparing-playbook-machine.adoc

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,33 @@ If you use SSH key-based authentication, you must manage the key with an SSH age
5555
# subscription-manager attach --pool=<pool_id>
5656
----
5757

58-
. Enable the repositories required by {product-title} {product-version}:
58+
. Enable the repositories required by {product-title} {product-version}.
59+
60+
.. For {op-system-base} 7 nodes, you must enable the following repositories:
5961
+
6062
[source,terminal]
6163
----
6264
# subscription-manager repos \
6365
--enable="rhel-7-server-rpms" \
6466
--enable="rhel-7-server-extras-rpms" \
6567
--enable="rhel-7-server-ansible-2.9-rpms" \
66-
--enable="rhel-7-server-ose-4.8-rpms"
68+
--enable="rhel-7-server-ose-4.9-rpms"
69+
----
70+
+
71+
[NOTE]
72+
====
73+
Use of {op-system-base} 7 nodes is deprecated and planned for removal in a future release of {product-title} 4.
74+
====
75+
76+
.. For {op-system-base} 8 nodes, you must enable the following repositories:
77+
+
78+
[source,terminal]
79+
----
80+
# subscription-manager repos \
81+
--enable="rhel-8-for-x86_64-baseos-rpms" \
82+
--enable="rhel-8-for-x86_64-appstream-rpms" \
83+
--enable="ansible-2.9-for-rhel-8-x86_64-rpms" \
84+
--enable="rhocp-4.9-for-rhel-8-x86_64-rpms"
6785
----
6886

6987
. Install the required packages, including `openshift-ansible`:

0 commit comments

Comments
 (0)