Bug 2024588 - ClusterNotUpgradeable Alert should be set to Severity Info
Summary: ClusterNotUpgradeable Alert should be set to Severity Info
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 4.8
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 4.9.z
Assignee: Lalatendu Mohanty
QA Contact: Yang Yang
URL:
Whiteboard:
Depends On: 2005407
Blocks: 2047434 2047464
TreeView+ depends on / blocked
 
Reported: 2021-11-18 12:04 UTC by OpenShift BugZilla Robot
Modified: 2022-02-07 10:14 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2047464 (view as bug list)
Environment:
Last Closed: 2021-12-06 11:22:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-version-operator pull 693 0 None open [release-4.9] Bug 2024588: Changing the ClusterNotUpgradeable alert to info 2021-11-20 01:00:35 UTC
Red Hat Product Errata RHBA-2021:4889 0 None None None 2021-12-06 11:22:45 UTC

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.

https://access.redhat.com/errata/RHBA-2021:4889


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