Upgrade process does not complete
After you upgrade IBM Cloud Pak foundational services, the replica count of the IBM Cloud Pak foundational services operator or the
operand-deployment-lifecycle-manager operator is zero.
Symptom
The upgrade process does not complete.
- Verify the replica count of the IBM Cloud Pak foundational services operator:
You might see the following output:oc get deployment ibm-common-service-operator -n <your-foundational-services-namespace> -o=jsonpath='{.status.replicas}'0% - Verify the replica count of the
operand-deployment-lifecycle-manageroperator:
You might see the following output:oc get deployment operand-deployment-lifecycle-manager -n <your-foundational-services-namespace> -o=jsonpath='{.status.replicas}'0%
Cause
You might see this issue if you rerun the upgrade script before the upgrade completes.
The script, when you run it the second time, scales down the replica count of the IBM Cloud Pak foundational services operator or the
operand-deployment-lifecycle-manager operator to 0. The script also modifies the
common-service OperandRegistry.
Resolving the problem
To resolve the issue, scale up the replica counts of the operators.
- Remove the modified
common-serviceOperandRegistry.oc delete operandregistry common-service -n <your-foundational-services-namespace> - Scale up the IBM Cloud Pak foundational services and
operand-deployment-lifecycle-manageroperators.oc scale deployment operand-deployment-lifecycle-manager -n <your-foundational-services-namespace> --replicas=1oc scale deployment ibm-common-service-operator -n <your-foundational-services-namespace> --replicas=1 - Get the
common-service-operatorpod name.oc get pod -n <your-foundational-services-namespace> | grep common-service-operator - Delete the
common-service-operatorpod so that a new pod is created.oc delete pod <common-service-operator-pod-name> -n <your-foundational-services-namespace>