Bug 2227785 - KubevirtHyperconvergedClusterOperatorCRModification alert in firing state during cnv upgrade (4.12.4->4.12.5)
Summary: KubevirtHyperconvergedClusterOperatorCRModification alert in firing state dur...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 4.12.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.12.7
Assignee: Simone Tiraboschi
QA Contact: Ahmad
URL:
Whiteboard:
: 2224826 2237487 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-31 13:14 UTC by Ahmad
Modified: 2023-10-10 15:59 UTC (History)
3 users (show)

Fixed In Version: hco-bundle-registry-container-v4.12.7-18
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-10 15:59:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt hyperconverged-cluster-operator pull 2532 0 None Merged [release-1.8] fix CRModification alert in upgrade 2023-09-27 14:36:29 UTC
Red Hat Issue Tracker CNV-31563 0 None None None 2023-07-31 13:17:38 UTC
Red Hat Product Errata RHEA-2023:5626 0 None None None 2023-10-10 15:59:15 UTC

Description Ahmad 2023-07-31 13:14:04 UTC
Description of problem:
During cnv upgrade v4.12.4 to 4.12.5-50 (OCP: 4.12.26), noticed KubevirtHyperconvergedClusterOperatorCRModification alert in firing state.


Version-Release number of selected component (if applicable):
cnv: 4.12.4 to 4.12.5-50  (OCP: 4.12.26)

How reproducible:
1 out of 1 attempt 

Steps to Reproduce:
1. Check alerts fired during cnv upgrade
2.
3.

Actual results:
{'labels': {'alertname': 'KubevirtHyperconvergedClusterOperatorCRModification', 'component_name': 'role/hyperconverged-cluster-operator-metrics', 'kubernetes_operator_component': 'hyperconverged-cluster-operator', 'kubernetes_operator_part_of': 'kubevirt', 'severity': 'warning'}, 'annotations': {'description': 'Out-of-band modification for role/hyperconverged-cluster-operator-metrics.', 'runbook_url': 'https://kubevirt.io/monitoring/runbooks/KubevirtHyperconvergedClusterOperatorCRModification', 'summary': '1 out-of-band CR modifications were detected in the last 10 minutes.'}, 'state': 'firing', 'activeAt': '2023-07-26T20:47:55.920372176Z', 'value': '1e+00'}, {'labels': {'alertname': 'KubevirtHyperconvergedClusterOperatorCRModification', 'component_name': 'servicemonitor/kubevirt-hyperconverged-operator-metrics', 'kubernetes_operator_component': 'hyperconverged-cluster-operator', 'kubernetes_operator_part_of': 'kubevirt', 'severity': 'warning'}, 'annotations': {'description': 'Out-of-band modification for servicemonitor/kubevirt-hyperconverged-operator-metrics.', 'runbook_url': 'https://kubevirt.io/monitoring/runbooks/KubevirtHyperconvergedClusterOperatorCRModification', 'summary': '1 out-of-band CR modifications were detected in the last 10 minutes.'}, 'state': 'firing', 'activeAt': '2023-07-26T20:48:55.920372176Z', 'value': '1e+00'}, {'labels': {'alertname': 'KubevirtHyperconvergedClusterOperatorCRModification', 'component_name': 'rolebinding/hyperconverged-cluster-operator-metrics', 'kubernetes_operator_component': 'hyperconverged-cluster-operator', 'kubernetes_operator_part_of': 'kubevirt', 'severity': 'warning'}, 'annotations': {'description': 'Out-of-band modification for rolebinding/hyperconverged-cluster-operator-metrics.', 'runbook_url': 'https://kubevirt.io/monitoring/runbooks/KubevirtHyperconvergedClusterOperatorCRModification', 'summary': '1 out-of-band CR modifications were detected in the last 10 minutes.'}, 'state': 'firing', 'activeAt': '2023-07-26T20:48:55.920372176Z', 'value': '1e+00'}, {'labels': {'alertname': 'KubevirtHyperconvergedClusterOperatorCRModification', 'component_name': 'service/kubevirt-hyperconverged-operator-metrics', 'kubernetes_operator_component': 'hyperconverged-cluster-operator', 'kubernetes_operator_part_of': 'kubevirt', 'severity': 'warning'}, 'annotations': {'description': 'Out-of-band modification for service/kubevirt-hyperconverged-operator-metrics.', 'runbook_url': 'https://kubevirt.io/monitoring/runbooks/KubevirtHyperconvergedClusterOperatorCRModification', 'summary': '1 out-of-band CR modifications were detected in the last 10 minutes.'}, 'state': 'firing', 'activeAt': '2023-07-26T20:48:55.920372176Z', 'value': '1e+00'}]
assert not [{'activeAt': '2023-07-26T20:49:22.832759694Z', 'annotations': {'runbook_url': 'https://kubevirt.io/monitoring/runbook...omponent': 'hyperconverged-cluster-operator', 'kubernetes_operator_part_of': 'kubevirt', ...}, 'state': 'firing', ...}]

Expected results:
we are trying to capture all the alerts that are fired during upgrades and reduce the noise generated.


Additional info:

http://pastebin.test.redhat.com/1106300

must-gather.log
http://pastebin.test.redhat.com/1106301

Comment 1 Krzysztof Majcher 2023-08-22 12:45:14 UTC
Please try to reproduce

Comment 2 Debarati Basu-Nag 2023-09-07 22:15:46 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2154319 this was addressed in 4.13.1. Do we want to backport the fix?

Comment 3 Ahmad 2023-09-11 20:06:40 UTC
*** Bug 2237487 has been marked as a duplicate of this bug. ***

Comment 4 Ahmad 2023-09-11 20:09:34 UTC
*** Bug 2224826 has been marked as a duplicate of this bug. ***

Comment 5 Krzysztof Majcher 2023-09-12 12:47:24 UTC
This will be fixed by https://github.com/kubevirt/hyperconverged-cluster-operator/pull/2500

Comment 6 Ahmad 2023-10-03 15:07:38 UTC
QA: Verified
Deployed: OCP-4.12.36
Deployed: CNV-v4.12.6-20  >> upgraded to CNV-v4.12.7-19
alertname': 'KubevirtHyperconvergedClusterOperatorCRModification did not fired during the upgrade

Comment 12 errata-xmlrpc 2023-10-10 15:59:13 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 Virtualization 4.12.7 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/RHEA-2023:5626


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