Bug 2024588

Summary: ClusterNotUpgradeable Alert should be set to Severity Info
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Cluster Version OperatorAssignee: Lalatendu Mohanty <lmohanty>
Status: CLOSED ERRATA QA Contact: Yang Yang <yanyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: aos-bugs, chdeshpa, jiajliu, jokerman, kgordeev, lmohanty, nkaushik, pmagotra
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2047464 (view as bug list) Environment:
Last Closed: 2021-12-06 11:22:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2005407    
Bug Blocks: 2047434, 2047464    

Comment 1 Yang Yang 2021-11-22 04:08:44 UTC
Performing PR pre-merge verification:

1. Launch a cluster with cluster-bot
launch openshift/cluster-version-operator#693 gcp

2. # oc get clusterversion
NAME      VERSION                                                  AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.ci.test-2021-11-22-032052-ci-ln-vn1q5pb-latest   True        False         4m1s    Cluster version is 4.9.0-0.ci.test-2021-11-22-032052-ci-ln-vn1q5pb-latest

3. Patch TechPreviewNoUpgrade to block upgrade
# oc patch featuregate cluster --type json -p '[{"op": "add", "path": "/spec/featureSet", "value": "TechPreviewNoUpgrade"}]'
featuregate.config.openshift.io/cluster patched

4. Wait for the alert appears
# curl -s -k -H "Authorization: Bearer $token"  https://$url/api/v1/alerts | jq -r '.data.alerts[]|select(.labels.alertname == "ClusterNotUpgradeable")'
  "labels": {
    "alertname": "ClusterNotUpgradeable",
    "condition": "Upgradeable",
    "endpoint": "metrics",
    "name": "version",
    "severity": "info"
  "annotations": {
    "description": "In most cases, you will still be able to apply patch releases. Reason ClusterOperatorsNotUpgradeable. For more information refer to 'oc adm upgrade' or https://console-openshift-console.apps.ci-ln-vn1q5pb-72292.origin-ci-int-gce.dev.rhcloud.com/settings/cluster/.",
    "summary": "One or more cluster operators have been blocking minor version cluster upgrades for at least an hour."
  "state": "pending",
  "activeAt": "2021-11-22T03:59:59.21303266Z",
  "value": "0e+00"

So, the severity has been changed to info.

Comment 3 Yang Yang 2021-11-25 08:18:07 UTC
The fix goes to 4.9.0-0.nightly-2021-11-25-070538. Based on comment#1, move it to verified state.

Comment 6 errata-xmlrpc 2021-12-06 11:22:27 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.9.10 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.