Packageserver csv stuck in installing state due to "waiting for x outdated replica(s) to be terminated" during RHOCP 4.x upgrade

Solution Verified - Updated -

Issue

  • Packageserver csv is stuck in installing state:
$ oc get csv -n openshift-operator-lifecycle-manager
NAME                             DISPLAY                            VERSION   REPLACES                          PHASE
packageserver                    Package Server                     0.17.0                                      Installing
$ oc describe csv packageserver -n openshift-operator-lifecycle-manager
----OUTPUT OMITTED----
  Last Transition Time:    2022-01-24T12:12:38Z
  Last Update Time:        2022-01-24T12:12:56Z
  Message:                 installing: waiting for deployment packageserver to become ready: deployment "packageserver" waiting for 1 outdated replica(s) to be terminated
  Phase:                   Installing
  Reason:                  InstallWaiting
----OUTPUT OMITTED----
  • Cluster operator operator-lifecycle-manager-packageserver is stuck in progressing state:
$ oc get co operator-lifecycle-manager-packageserver
NAME                                      VERSION  AVAILABLE  PROGRESSING  DEGRADED  SINCE
operator-lifecycle-manager-packageserver  4.8.23   True       True         False     19h

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.8+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content