Disconnected OpenShift upgrade stalls with Invalid Reference Format
Issue
- Upgrade cannot continue
-
Error In
openshift-etcd-operator
log:Failed to pull image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:db5d55b809c340d723d67a14099771f0a7f6d7c210f01b17755991bd59ceca90": rpc error: code = Unknown desc = rewriting reference: invalid reference format
-
Attempts to correct the ICSP don't roll out: Pod Disruption Budget (PDB) of installer pods won't allow the necessary restart
Environment
- Red Hat OpenShift Container Platform (OCP) 4.10, 4.11
- Upgrading a minor version, i.e. 4.10 to 4.11 or 4.11 to 4.12
-
Edited ImageContentSourcePolicy (ICSP) prior to the upgrade include both old and new images repositories, but the modified version has an error invalidating the reference, for example:
[[registry.mirror]] location = "mirror.internal.example.com/4.11.41/openshift " <-- note the whitespace at the end.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.