Bug 1874293 - 'oc adm upgrade' does not warn about Upgradeable=False
Summary: 'oc adm upgrade' does not warn about Upgradeable=False
Keywords:
Status: VERIFIED
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-09-08 22:47 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:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Github openshift oc pull 541 None closed Bug 1874293: pkg/cli/admin/upgrade/: Mention Upgradeable=False 2020-09-08 22:44:23 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.


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