Description of problem: in situation when the cluster is on a channel with no upgrade path, running 'oc adm upgrade --to-image' should result in a message: 'you must pass --allow-explicit-upgrade to continue' however in latest 4.10 oc versions, the error received is different, and incorrect: 'error: no recommended updates, specify --to-image or wait for new updates to be available' while in reality we already specified --to-image Version-Release number of selected component (if applicable): Client Version: 4.10.0-0.nightly-2022-01-25-023600 How reproducible: 100% Steps to Reproduce: install a cluster which is the latest version for its channel use the latest oc tools run oc adm upgrade --to-image <some image digest not in the upgrade graph> Actual results: #oc adm upgrade --to-image registry.ci.openshift.org/ocp/release@sha256:87c1f0019d44107031c662a3c387bba46d1f2710909b583e5f4c0ad61cdba36e error: no recommended updates, specify --to-image or wait for new updates to be available Expected results: #oc adm upgrade --to-image registry.ci.openshift.org/ocp/release@sha256:87c1f0019d44107031c662a3c387bba46d1f2710909b583e5f4c0ad61cdba36e error: The requested upgrade image is not one of the available updates, you must pass --allow-explicit-upgrade to continue
*** This bug has been marked as a duplicate of bug 2044140 ***