Failed to upgrade OCP 4 cluster as cluster operator etcd failed to successfully roll out

Solution Verified - Updated -

Issue

  • Cluster failed to upgrade as the etcd-operator had not yet successfully rolled out:

    Unable to apply 4.4.10: the workload openshift-etcd-operator/etcd-operator has not yet successfully rolled out
    
    Unable to apply 4.6.41: the cluster operator etcd has not yet successfully rolled out
    
  • The etcd clusteroperator was throwing the error:

    Error from server (BadRequest): container "operator" in pod "etcd-operator-xxxx" is waiting to start: trying and failing to pull image
    
  • The following events are shown in openshift-etcd-operator namespace:

    5m20s       Warning   Failed             pod/etcd-operator-xxx-xxx    Failed to pull image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:xxxx": rpc error: code = Unknown desc = Error reading manifest sha256:xxxx in quay.io/openshift-release-dev/ocp-v4.0-art-dev: unauthorized: access to the requested resource is not authorized
    5m20s       Warning   Failed             pod/etcd-operator-xxxx    Error: ErrImagePull
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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