Bug 1874293 - 'oc adm upgrade' does not warn about Upgradeable=False
Summary: 'oc adm upgrade' does not warn about Upgradeable=False
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.1.z
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.6.0
Assignee: W. Trevor King
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-31 23:03 UTC by W. Trevor King
Modified: 2020-10-27 16:36 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2020-10-27 16:36:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift oc pull 541 0 None closed Bug 1874293: pkg/cli/admin/upgrade/: Mention Upgradeable=False 2020-12-14 20:12:47 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:36:47 UTC

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


Note You need to log in before you can comment on or make changes to this bug.