Troubleshooting
Problem
When following the readme file from any corresponding Cloud Pak documentation to upgrade to the latest version by skipping the intermediate versions fails to create a new, and the latest install plan to upgrade the Cloud Pak. This is applicable only if approval strategy is set to Manual
Symptom
To verify if you are experiencing this issue, log into the console and check the catalog-operator pod log in openshift-operator-lifecycle-manager project
$ oc logs -n openshift-operator-lifecycle-manager <catalog-operator-pod> | grep "unable
to get installplan from cache"
You see a message similar to:
2022-02-16T18:02:32.250375793Z time="2022-02-16T18:02:32Z" level=warning msg="unable to get installplan from cache" channel=stable id=7HkBf installplan=install-xxxx
namespace=ibm-common-services pkg=cloud-native-postgresql source=ibm-operator-catalog sub=cloud-native-postgresql-stable-ibm-operator-catalog-openshift-marketplace
Cause
In order to upgrade to the latest Cloud Pak version by skipping intermediate versions, you must delete the existing install plan to create the newest install plan automatically.
After deleting the existing install plan, the new install plan didn’t generate due to existing Red Hat OpenShift Container Platform bug
Environment
All Cloud Paks
Red Hat OpenShift 4.6 and beyond
Diagnosing The Problem
1) Execute the command to check if the new install plan is created
oc get ip -A --sort-by=.metadata.creationTimestamp
oc logs -n openshift-operator-lifecycle-manager <catalog-operator-pod> | grep "unable to get installplan from cache"
Result
You see a message similar to:
2022-02-16T18:02:32.250375793Z time="2022-02-16T18:02:32Z" level=warning msg="unable to get installplan from cache" channel=stable id=7HkBf installplan=install-xxxx namespace=ibm-common-services pkg=cloud-native-postgresql source=ibm-operator-catalog sub=cloud-native-postgresql-stable-ibm-operator-catalog-openshift-marketplace
Resolving The Problem
This is the known reported issue
Followed Red Hat solution to work around the bug:
or
Check all the old subscriptions, some subscriptions had an annotation referring to the old install plan (Annotation is "olm.generated-by"). Edit the subscription and remove the annotations that referring the older deleted install plan to resolve the issue
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBYVB","label":"IBM Cloud Pak for Business Automation"},"ARM Category":[{"code":"a8m3p000000hBG4AAM","label":"Operate-\u003EBAI Install\\Upgrade\\Setup-\u003EBAI Upgrade"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCSJL","label":"IBM Cloud Pak for Applications"},"ARM Category":[{"code":"a8m0z0000001icHAAQ","label":"CP4Apps-\u003ECloud Pak for Apps-\u003EInstall Issue"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS8QTD","label":"IBM Cloud Pak for Integration"},"ARM Category":[{"code":"a8m0z0000001hbDAAQ","label":"Installation"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTDPP","label":"IBM Cloud Pak for Security"},"ARM Category":[{"code":"a8m0z0000001h8uAAA","label":"Install or Upgrade"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHGYS","label":"IBM Cloud Pak for Data"},"ARM Category":[{"code":"a8m3p000000LQxMAAW","label":"Upgrade"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFC4F","label":"IBM Cloud Pak for Multicloud Management"},"ARM Category":[{"code":"a8m0z000000cwI9AAI","label":"CloudPak4MCM-\u003EInstall"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
08 September 2022
UID
ibm16602737