IBM Support

IBM Cloud Pak foundational services upgrade from 3.6.6 to 3.19.8 fails

Troubleshooting


Problem

While performing upgrade of the IBM Cloud Pak foundational services from 3.6.6 to 3.19.8, the upgrade is not progressing, ODLM is not creating an install plan and stuck in Unknown status
You tried to refresh the expired certificates as recommended in the IBM Docs: Cloud Pak for Integration - Refreshing Expired Certificates. However, you still see that the idp/pdp services not passing the Init phase.

Cause

  1. There seems to be an error during the upgrade process due to a missing installation plan, which is caused by the existence of a subscription.
  2. ODLM cannot upgrade: Operand Deployment Lifecycle Manager cannot update when upgrading to version 3.6.4
  3. Monitoring resources not cleaned up

Diagnosing The Problem

To work around this issue, you can apply these steps: 

Firstly, you need to check whether the ODLM installs plan has been generated by checking the ODLM in the Red Hat OpenShift UI. If it hasn't been generated, it means that the OLM is stuck and unable to generate an install plan for ODLM.

In the catalog-operator logs, there is a complaint about the existence of subscriptions for catalog-ui and monitoring-grafana. To resolve this, you can remove the subscription for ibm-catalog-ui-operator in the Ibm-common-services namespace and check whether ODLM is installed in the cluster.

If the ODLM install plan is still not generated, you should inspect the log of the olm-operator. It can be complaining about the Helm-api and helm-repo operators. In this case, you can remove the subscription and csv of those operators.

Finally, you need to manually restart the ibm-common-service-operator pod to regenerate the subscription of ODLM.

After generating the install plan, the upgrade of ODLM and other operators should be successful. However, if the pods of the monitoring-grafana operator are still running, you need to check the deployment. It's possible that the operand of that operator wasn't removed. In this case, you should delete the operand to ensure that all other pods are functioning properly and that the certificates remain valid.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRV9V","label":"IBM Cloud Pak foundational services"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Product Synonym

ODLM install plan; ODLM in Red Hat OpenShift UI ; ODLM cannot upgrade; Ibm-common-services upgrade; IBM commons service upgrade from 3.6.6 to 3.19.8

Document Information

Modified date:
08 March 2023

UID

ibm16962159