Bug 1874293

Summary: 'oc adm upgrade' does not warn about Upgradeable=False
Product: OpenShift Container Platform Reporter: W. Trevor King <wking>
Component: ocAssignee: W. Trevor King <wking>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: low Docs Contact:
Priority: low    
Version: 4.1.zCC: aos-bugs, jokerman, knarra, maszulik, mfojtik
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: 'oc adm upgrade' now mentions any Upgradeable=False conditions. Reason: Cluster administrators interested in updating their cluster are also likely to be interested in any concerns the cluster-version operator has about allowing further updates. Result: By listing any Upgradeable=False conditions alongside the available updates, cluster administrators are less likely to choose a desired update and then have the cluster-version operator reject the update because of an Upgradeable=False condition.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:36:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Trevor King 2020-08-31 23:03:56 UTC
Description of problem:

When 'Upgradeable=False', the cluster-version operator will block (usually) minor version bumps.  Sometimes it will block all version bumps (bug 1822844).  Users running 'oc adm upgrade' should be notified about these conditions, so they are not surprised if they choose a target and the CVO subsequently blocks the chosen update.

Steps to Reproduce:
1. Install a cluster.
2. Do something to get Upgradeable=False in the ClusterVersion, like patching an override into ClusterVersion.
3. Run 'oc adm upgrade'.

Actual results:

See information about available updates, but nothing about the Upgradeable=False.

Expected results:

See both information about the Upgradeable=False and the available updates.

Comment 5 errata-xmlrpc 2020-10-27 16:36:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196