Skip to content

Commit c8f9a83

Browse files
committed
Update BYOH docs for RHEL 8 openshift-ansible
1 parent 5dac890 commit c8f9a83

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

modules/rhel-compute-updating.adoc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,22 @@ Because the {op-system-base} machines require assets that are generated by the c
4444
+
4545
[NOTE]
4646
====
47-
By default, the base OS RHEL with "Minimal" installation option enables firewalld serivce. Having the firewalld service enabled on your host prevents you from accessing {product-title} logs on the worker. Do not enable firewalld later if you wish to continue accessing {product-title} logs on the worker.
47+
By default, the base OS RHEL with "Minimal" installation option enables firewalld service. Having the firewalld service enabled on your host prevents you from accessing {product-title} logs on the worker. Do not enable firewalld later if you wish to continue accessing {product-title} logs on the worker.
4848
====
4949

5050
. Enable the repositories that are required for {product-title} {product-version}:
5151
.. On the machine that you run the Ansible playbooks, update the required repositories:
5252
+
5353
[source,terminal]
5454
----
55-
# subscription-manager repos --disable=rhel-7-server-ose-4.9-rpms \
56-
--enable=rhel-7-server-ose-4.10-rpms
55+
# subscription-manager repos --disable=rhocp-4.10-for-rhel-8-x86_64-rpms \
56+
--enable=rhocp-4.11-for-rhel-8-x86_64-rpms
5757
----
58-
// As of OCP 4.10 GA, there are no openshift-ansible el8 packages built for RHEL8, so QE advised that we still run the playbook on RHEL7 machines.
58+
+
59+
[IMPORTANT]
60+
====
61+
As of {product-title} 4.11, the Ansible playbooks are provided only for {op-system-base} 8. If a {op-system-base} 7 system was used as a host for the {product-title} 4.10 Ansible playbooks, you must either upgrade the Ansible host to {op-system-base} 8, or create a new Ansible host on a {op-system-base} 8 system and copy over the inventories from the old Ansible host.
62+
====
5963

6064
.. On the machine that you run the Ansible playbooks, update the required packages, including `openshift-ansible`:
6165
+
@@ -68,8 +72,8 @@ By default, the base OS RHEL with "Minimal" installation option enables firewall
6872
+
6973
[source,terminal]
7074
----
71-
# subscription-manager repos --disable=rhocp-4.9-for-rhel-8-x86_64-rpms \
72-
--enable=rhocp-4.10-for-rhel-8-x86_64-rpms
75+
# subscription-manager repos --disable=rhocp-4.10-for-rhel-8-x86_64-rpms \
76+
--enable=rhocp-4.11-for-rhel-8-x86_64-rpms
7377
----
7478

7579
. Update a {op-system-base} worker machine:

modules/rhel-preparing-node.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Note that this might take a few minutes if you have a large number of available
7575
# subscription-manager repos \
7676
--enable="rhel-8-for-x86_64-baseos-rpms" \
7777
--enable="rhel-8-for-x86_64-appstream-rpms" \
78-
--enable="rhocp-4.10-for-rhel-8-x86_64-rpms" \
78+
--enable="rhocp-4.11-for-rhel-8-x86_64-rpms" \
7979
--enable="fast-datapath-for-rhel-8-x86_64-rpms"
8080
----
8181

modules/rhel-preparing-playbook-machine.adoc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[id="rhel-preparing-playbook-machine_{context}"]
88
= Preparing the machine to run the playbook
99

10-
Before you can add compute machines that use {op-system-base-full} as the operating system to an {product-title} {product-version} cluster, you must prepare a {op-system-base} 7 machine to run an Ansible playbook that adds the new node to the cluster. This machine is not part of the cluster but must be able to access it.
10+
Before you can add compute machines that use {op-system-base-full} as the operating system to an {product-title} {product-version} cluster, you must prepare a {op-system-base} 8 machine to run an Ansible playbook that adds the new node to the cluster. This machine is not part of the cluster but must be able to access it.
1111

1212
.Prerequisites
1313

@@ -16,7 +16,7 @@ Before you can add compute machines that use {op-system-base-full} as the operat
1616
1717
.Procedure
1818

19-
. Ensure that the `kubeconfig` file for the cluster and the installation program that you used to install the cluster are on the {op-system-base} 7 machine. One way to accomplish this is to use the same machine that you used to install the cluster.
19+
. Ensure that the `kubeconfig` file for the cluster and the installation program that you used to install the cluster are on the {op-system-base} 8 machine. One way to accomplish this is to use the same machine that you used to install the cluster.
2020

2121
. Configure the machine to access all of the {op-system-base} hosts that you plan to use as compute machines. You can use any method that your company allows, including a bastion with an SSH proxy or a VPN.
2222

@@ -61,12 +61,11 @@ If you use SSH key-based authentication, you must manage the key with an SSH age
6161
[source,terminal]
6262
----
6363
# subscription-manager repos \
64-
--enable="rhel-7-server-rpms" \
65-
--enable="rhel-7-server-extras-rpms" \
66-
--enable="rhel-7-server-ansible-2.9-rpms" \
67-
--enable="rhel-7-server-ose-4.10-rpms"
64+
--enable="rhel-8-for-x86_64-baseos-rpms" \
65+
--enable="rhel-8-for-x86_64-appstream-rpms" \
66+
--enable="ansible-2.9-for-rhel-8-x86_64-rpms" \
67+
--enable="rhocp-4.11-for-rhel-8-x86_64-rpms"
6868
----
69-
// As of OCP 4.10 GA, there are no openshift-ansible el8 packages built for RHEL8, so QE advised that we still run the playbook on RHEL7 machines.
7069

7170
. Install the required packages, including `openshift-ansible`:
7271
+

0 commit comments

Comments
 (0)