From 05075ff8356cd39d6f066ad0e5aacf66b095a205 Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Nov 09 2021 11:28:54 +0000 Subject: [PATCH 1/2] fcos-pipeline-migration: Updated ocp4 upgrade SOP Installation of the oc client rpm Signed-off-by: David Kirwan --- diff --git a/modules/ocp4/pages/sop_upgrade.adoc b/modules/ocp4/pages/sop_upgrade.adoc index 8cbef4f..a1f1080 100644 --- a/modules/ocp4/pages/sop_upgrade.adoc +++ b/modules/ocp4/pages/sop_upgrade.adoc @@ -8,11 +8,14 @@ Please see the official documentation for more information [1][3], this SOP can - [3] https://docs.openshift.com/container-platform/4.8/operators/admin/olm-upgrading-operators.html - [4] https://docs.openshift.com/container-platform/4.8/backup_and_restore/disaster_recovery/scenario-2-restoring-cluster-state.html#dr-restoring-cluster-state[Restore etcd backup] - [5] https://docs.openshift.com/container-platform/4.8/operators/admin/olm-upgrading-operators.html#olm-upgrading-operators[Upgrading Operators Prior to Cluster Update] +- [6] https://access.redhat.com/downloads/content/290/ver=4.8/rhel---8/4.8.18/x86_64/packages[Openshift Clients Binary Download] === Prerequisites - Incase an upgrade fails, it is wise to first take an `etcd` backup. To do so follow the SOP [2]. -- Ensuare that all installed Operators are at the latest versions for their channel [5]. +- Ensure that all installed Operators are at the latest versions for their channel [5]. +- Ensure that the latest `oc` client rpm is available at `/srv/web/infra/bigfiles/openshiftboot/oc-client/` on the `batcave01` server. Retrieve the RPM from [6] choose the `Openshift Clients Binary` rpm. Rename rpm to `oc-client.rpm` +- Ensure that the `sudo rbac-playbook manual/ocp4-sysadmin-openshift.yml -t "upgrade-rpm"` playbook is run to install this updated oc client rpm. === Upgrade OCP At the time of writing the version installed on the cluster is `4.8.11` and the `upgrade channel` is set to `stable-4.8`. It is easiest to update the cluster via the web console. Go to: From 7ebffc410b3ac885d16ad7233882f35a84af808f Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Nov 09 2021 11:35:27 +0000 Subject: [PATCH 2/2] Typo Signed-off-by: David Kirwan --- diff --git a/modules/ocp4/pages/sop_upgrade.adoc b/modules/ocp4/pages/sop_upgrade.adoc index a1f1080..58b3d18 100644 --- a/modules/ocp4/pages/sop_upgrade.adoc +++ b/modules/ocp4/pages/sop_upgrade.adoc @@ -8,7 +8,7 @@ Please see the official documentation for more information [1][3], this SOP can - [3] https://docs.openshift.com/container-platform/4.8/operators/admin/olm-upgrading-operators.html - [4] https://docs.openshift.com/container-platform/4.8/backup_and_restore/disaster_recovery/scenario-2-restoring-cluster-state.html#dr-restoring-cluster-state[Restore etcd backup] - [5] https://docs.openshift.com/container-platform/4.8/operators/admin/olm-upgrading-operators.html#olm-upgrading-operators[Upgrading Operators Prior to Cluster Update] -- [6] https://access.redhat.com/downloads/content/290/ver=4.8/rhel---8/4.8.18/x86_64/packages[Openshift Clients Binary Download] +- [6] https://access.redhat.com/downloads/content/290/ver=4.8/rhel---8/4.8.18/x86_64/packages[Openshift Clients RPM Download] === Prerequisites