Upgrading to Fix Pack 6
For IBM Cloud Pak® for Multicloud Management Fix Pack 6, the following upgrading scenario is supported:
If your Red Hat OpenShift Container Platform version is 4.8, IBM Cloud Pak foundational services (previously called Common services) version is 3.14.x or 3.18.x, Red Hat® Advanced Cluster Management for Kubernetes version is 2.4, and IBM Cloud Pak® for Multicloud Management version is 2.4 Fixpack 1, 2, 3, 4 or 5, you are recommended to upgrade all the services to the later available versions as follows.
Red Hat OpenShift Container Platform 4.8 -> 4.10
IBM Cloud Pak foundational services 3.14.x or 3.18.x -> 3.19.6
Red Hat® Advanced Cluster Management 2.4 -> 2.5
IBM Cloud Pak for Multicloud Management 2.3 Fix Pack 1, 2, 3, 4 or 5 -> 2.3 Fix Pack 6
Before you begin
-
You must upgrade Red Hat OpenShift Container Platform first, then upgrade IBM Cloud Pak® for Multicloud Management, then upgrade IBM Cloud Pak foundational services, and finally upgrade Red Hat® Advanced Cluster Management for Kubernetes.
-
Hybrid GRC, Notary, Image Security Enforcement, and Manage Runtime are not supported in IBM Cloud Pak® for Multicloud Management Fix Pack 6. In an upgrade environment, MCM Core Disabled is still shown as
true
in the Installation instance. In addition, the installation YAML still shows the operators of Hybrid GRC, Notary, Image Security Enforcement, and Manage Runtime. You can ignore these configurations. -
If your Red Hat OpenShift Container Platform version is 4.8 or earlier versions, you must upgrade to 4.10. See Supported OpenShift versions and platforms.
Ensure that Red Hat OpenShift Container Platform has been upgraded to 4.10 before you upgrade IBM Cloud Pak® for Multicloud Management to Fix Pack 6.
-
If your Red Hat® Advanced Cluster Management for Kubernetes version is 2.4 or earlier versions, you must upgrade Red Hat® Advanced Cluster Management for Kubernetes to 2.5. See Supported Red Hat Advanced Cluster Management versions.
IBM Management Hybrid Applications operator in IBM Cloud Pak for Multicloud Management 2.3 Fix Pack 6 doesn't work with Red Hat® Advanced Cluster Management for Kubernetes 2.4.x. You need to upgrade Red Hat® Advanced Cluster Management for Kubernetes to 2.5.
Ensure that IBM Cloud Pak® for Multicloud Management has been upgraded to Fix Pack 6 before you upgrade Red Hat® Advanced Cluster Management for Kubernetes from 2.4.x to 2.5.x.
-
If your IBM Cloud Pak foundational services version is 3.18 or earlier versions, you must upgrade to at least 3.19.6. See Supported IBM Cloud Pak foundational services versions.
-
Before and after you upgrade IBM Cloud Pak® for Multicloud Management to Fix Pack 6, check and delete the jobs with
0
completions in themanagement-monitoring
namespace. If not, sometimes you might find that themonitoring-metricprovider
deployment is not updated so it has the same image as Fix Pack 4. See monitoring-metricprovider deployment is not updated after upgraded to Fix Pack 6. -
After you upgrade IBM Cloud Pak® for Multicloud Management to Fix Pack 6, ensure to delete the configmap
vulnerability-advisor-elasticsearch-router-config
by running the following command:oc delete configmap vulnerability-advisor-elasticsearch-router-config -n management-security-services
Then, restart the
vulnerability-advisor-elasticsearch-0
pod by running the following command:oc delete pod vulnerability-advisor-elasticsearch-0 -n management-security-services
-
For IBM Cloud Pak for Multicloud Management 2.3 Fix Pack 6, Vulnerability Advisor on Red Hat OpenShift Container Platform 4.8 doesn't work. To make Vulnerability Advisor work on IBM Cloud Pak for Multicloud Management 2.3 Fix Pack 6, you need to upgrade Red Hat OpenShift Container Platform 4.8 to 4.10.
-
Sometimes you might find the
Opentt-ingester
pod fails forOOMKilled
after IBM Cloud Pak for Multicloud Management is upgraded to Fix Pack 6. To solve the problem, you can follow the steps in Opentt-ingester pod fails for OOMKilled after upgraded to Fix Pack 5.
Online upgrading
For online installations, follow the steps:
-
Upgrade your Red Hat OpenShift Container Platform to version 4.10:
-
Upgrade your Red Hat OpenShift Container Platform from version 4.8 to version 4.9. See the Red Hat documentation.
-
Upgrade your Red Hat OpenShift Container Platform from version 4.9 to version 4.10. See the Red Hat docuemntation.
-
-
Upgrade your IBM Cloud Pak® for Multicloud Management to Fix Pack 6. Ensure that the
CatalogSource
for IBM Cloud Pak® for Multicloud Management has the following image value:-
For Fix Pack 6:
quay.io/cp4mcm/cp4mcm-orchestrator-catalog:2.3.28
Then, IBM Cloud Pak® for Multicloud Management can be upgraded to later 2.3 Fix Pack 6 automatically.
-
-
Upgrade IBM Cloud Pak foundational services to version 3.19.6:
Note: You need to upgrade IBM Cloud Pak foundational services to version 3.19.6 before you upgrade Red Hat® Advanced Cluster Management for Kubernetes to 2.5.
-
Edit the
CatalogSource
for IBM Cloud Pak foundational services by running the following command:oc -n openshift-marketplace edit catalogsource opencloud-operators
In the result screen, modify the value of the
image
field to the following value:image: quay.io/opencloudio/ibm-common-service-catalog:3.19.6
Check whether
quay.io/opencloudio/*
is in theclusterimagepolicy
repository by running the following command:oc get clusterimagepolicy ibmcloud-default-cluster-image-policy -o yaml -n management-security-services
Note: The
clusterimagepolicy
exists only after you enabledsecurityServices
andibm-management-image-security-enforcement
in the previous installation or upgrading process.If not, you need to add
quay.io/opencloudio/*
to theclusterimagepolicy
repository. -
Edit the
Subscription
for IBM Cloud Pak foundational services by running the following command:oc edit -n openshift-operators sub ibm-common-service-operator
In the result screen, modify the value of the
channel
field to the following value:channel: v3
-
Wait for about ten minutes to allow the IBM Cloud Pak foundational services operators to complete the upgrading process. Check whether all IBM Cloud Pak foundational services pods are in
running
status by running the following command:oc get pods -n ibm-common-services
-
-
To upgrade Red Hat® Advanced Cluster Management for Kubernetes to version 2.5, edit the
Subscription
for Red Hat® Advanced Cluster Management for Kubernetes by running the following command:oc edit -n open-cluster-management sub acm-operator-subscription
In the result screen, modify the value of the
channel
field to the following value:channel: release-2.5
Note: After Red Hat® Advanced Cluster Management for Kubernetes is upgraded, the
ibm-cert-manager-operator
needs to be restarted.
Offline upgrading
For offline (airgap) installations, follow the steps:
-
Upgrade your Red Hat OpenShift Container Platform to version 4.10:
-
Upgrade your Red Hat OpenShift Container Platform from version 4.8 to version 4.9. See the Red Hat documentation.
-
Upgrade your Red Hat OpenShift Container Platform from version 4.9 to version 4.10. See the Red Hat docuemntation.
-
-
Upgrade IBM Cloud Pak® for Multicloud Management in an airgap environment to Fix Pack 6. For more information, see Offline (airgap) upgrade.
Note: You need to download the
ibm-cp-management-100.3.30+2.3.28.tgz
archive file for Fix Pack 6. -
Upgrade IBM Cloud Pak foundational services in an airgap environment to version 3.19.6. Follow the steps:
Note: You need to upgrade IBM Cloud Pak foundational services to version 3.19.6 before you upgrade Red Hat® Advanced Cluster Management for Kubernetes to 2.5.
-
Log in to your OpenShift Container Platform console.
-
Delete the IBM Cloud Pak foundational services catalog source by running the following command:
oc delete catalogsource opencloud-operators -n openshift-marketplace
-
Create the catalog source.
cloudctl case launch \ --case $OFFLINE_DIR/${CASE_ARCHIVE} \ --inventory ${CASE_INVENTORY_SETUP} \ --action install-catalog \ --namespace ${NAMESPACE} \ --args "--registry ${LOCAL_DOCKER_REGISTRY} --inputDir $OFFLINE_DIR --recursive" \ --tolerance 1
Note: The variable $OFFLINE_DIR is set in Preparing for installation by using a bastion host, and is the directory that serves as the offline store to store this current release installer and image inventory.
-
-
Upgrade Red Hat® Advanced Cluster Management for Kubernetes to 2.5.
Note: After Red Hat® Advanced Cluster Management for Kubernetes is upgraded, the
ibm-cert-manager-operator
needs to be restarted.
What to do next
-
You need to update the navigation menu by running the following command:
INDEX=$(kubectl get navconfiguration multicluster-hub-nav -n kube-system -o json | jq '.spec.navItems | map(.id == "grc") | index(true)') PATCH="[{\"op\":\"remove\",\"path\":\"/spec/navItems/${INDEX}\"}]" kubectl patch navconfiguration multicluster-hub-nav -n kube-system --type='json' -p "${PATCH}"
-
Complete the steps in the Post-upgrade tasks documentation.