Disconnected upgrade with wrong image in OCP 4

Solution Verified - Updated -

Issue

  • After running oc adm upgrade --image , it was made a typo in the image name so the upgrade got stuck.
  • Tried to force but failed too:
# oc adm upgrade --to-image <image> --allow-explicit-upgrade --force
warning: Using by-tag pull specs is dangerous, and while we still allow it in combination with --force for backward compatibility, it would be much safer to pass a by-digest pull spec instead
warning: The requested upgrade image is not one of the available updates.  You have used --allow-explicit-upgrade to the update to proceed anyway
warning: --force overrides cluster verification of your supplied release image and waives any update precondition failures.
error: already upgrading.

  Reason: UpdatePayloadRetrievalFailed
  Message: Unable to apply <image>: could not download the update

Environment

  • Red Hat OpenShift Container Platform 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