Bug 2005917
Summary: | Backport: Upgradeable=False conditions to 4.8 /settings/cluster page | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Scott Dodson <sdodson> | ||||||
Component: | Management Console | Assignee: | Jakub Hadvig <jhadvig> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 4.8 | CC: | aos-bugs, jhadvig, jokerman, yapei | ||||||
Target Milestone: | --- | ||||||||
Target Release: | 4.8.z | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | 2005493 | Environment: | |||||||
Last Closed: | 2021-09-27 19:53:41 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | 2005493 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Scott Dodson
2021-09-20 13:30:48 UTC
Hopefully this cloning of the bug appeases the eparis bug bot Patch manager, this is a feature backport which significantly improves the user experience around the admin acknowledgements which we intend to land in 4.8.z as a prerequisite to upgrading to 4.9. This makes Upgradeable=False conditions visible on the upgrade page so that the admin knows what they need to go resolve prior to attempting a minor version upgrade. If you have any concerns about approving this please reach out to me. 1. Create a ClusterOperator with Upgradeable=False $ cat <<EOF >co.yaml apiVersion: config.openshift.io/v1 kind: ClusterOperator metadata: name: testing spec: {} EOF $ oc apply -f co.yaml $ oc proxy & $ curl -k -XPATCH -H "Accept: application/json" -H "Content-Type: application/json-patch+json" 'http://127.0.0.1:8001/apis/config.openshift.io/v1/clusteroperators/testing/status' -d '[{"op": "add", "path": "/status", "value": {"conditions": [{"lastTransitionTime": "2021-06-01T01:01:01Z", "type": "Upgradeable", "status": "False", "reason": "Testing", "message": "The whatsits are broken."}]}}]' 2. wait for ClusterVersion/version to reconcile the changes $ oc get clusterversions.config.openshift.io version -o yaml|grep Upgradeable -B5 - lastTransitionTime: "2021-09-22T03:17:14Z" message: 'Cluster operator testing cannot be upgraded between minor versions: The whatsits are broken.' reason: Testing status: "False" type: Upgradeable 3. Check Cluster Settings Details page, warning message will be shown on the page with a link to the not upgradeable clusteroperators, see screenshot Verified on 4.8.0-0.nightly-2021-09-21-191721 Created attachment 1825169 [details]
Details page show not upgradable message
Created attachment 1825170 [details]
link to not upgradable clusteroperators
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.8.13 bug fix update), 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-2021:3632 |