Upgrading IBM Cloud Pak foundational services online

You can upgrade IBM Cloud Pak foundational services that were installed in a prior release.

Upgrading IBM Cloud Pak foundational services to version 3.6

You can edit the IBM Cloud Pak foundational services catalog source tag by using the following command:

  oc -n openshift-marketplace edit catalogsource opencloud-operators

During the upgrade process, you cannot access the services management console.

Upgrading IBM Cloud Pak foundational services to version 3.12

  1. 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.12
    

    Check whether quay.io/opencloudio/* is in the clusterimagepolicy 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 enabled securityServices and ibm-management-image-security-enforcement in the previous installation or upgrading process.

    If not, you need to add quay.io/opencloudio/* to the clusterimagepolicy repository.

  2. 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
    
  3. 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
    

Upgrading IBM Cloud Pak foundational services to version 3.14

  1. 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.14
    

    Check whether quay.io/opencloudio/* is in the clusterimagepolicy 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 enabled securityServices and ibm-management-image-security-enforcement in the previous installation or upgrading process.

    If not, you need to add quay.io/opencloudio/* to the clusterimagepolicy repository.

  2. 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
    
  3. 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
    

Upgrading IBM Cloud Pak foundational services to version 3.18

  1. 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.18
    

    Check whether quay.io/opencloudio/* is in the clusterimagepolicy 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 enabled securityServices and ibm-management-image-security-enforcement in the previous installation or upgrading process.

    If not, you need to add quay.io/opencloudio/* to the clusterimagepolicy repository.

  2. 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
    
  3. 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
    

Troubleshooting

If you encounter any issues during your upgrade, review the frequently encountered errors to help you troubleshoot your issue. For more information, see Troubleshooting IBM Cloud Pak foundational services install and upgrade.