Bug 2032837

Summary: Add/remove label to priority class are not reconciled properly left HCO in Unknown status.
Product: Container Native Virtualization (CNV) Reporter: Satyajit Bulage <sbulage>
Component: InstallationAssignee: João Vilaça <jvilaca>
Status: CLOSED ERRATA QA Contact: Satyajit Bulage <sbulage>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.10.0CC: cnv-qe-bugs, dbasunag, kmajcher, stirabos
Target Milestone: ---   
Target Release: 4.10.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.10.1-6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-18 20:26:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot is showing actual results. none

Description Satyajit Bulage 2021-12-15 10:33:44 UTC
Created attachment 1846366 [details]
Screenshot is showing actual results.

Description of problem: While checking failures related to virt-resource mutation Metrics (kubevirt_hco_out_of_band_modifications_count). Changes to 'Priority Class[kubevirt-cluster-critical]' component should reconciled by HCO i.e. restore to it's original state.


Version-Release number of selected component (if applicable):4.10.0


How reproducible: 100%


Steps to Reproduce:
1. Add/remove label to PriorityClass -> [kubevirt-cluster-critical].
2. Wait for some time to reconcile.
3. Check HCO status (UI/CLI)

Actual results: 'PriorityClass[kubevirt-cluster-critical]' not get reconciled by HCO and HCO status shows 'Unknown' state.


Expected results: It should reconciled without any error.


Additional info:
See screenshot for more details.

Comment 1 Krzysztof Majcher 2022-01-14 14:36:46 UTC
Fix would be at minimum to improve logging around this issue.

Comment 3 Satyajit Bulage 2022-04-06 14:15:33 UTC
I am able to see the value get updated once I add/remove the label on 'priorityclass - kubevirt-cluster-critical'.
Also see the HCO is getting reconciled without any error.
Verifying BZ.

Comment 9 errata-xmlrpc 2022-05-18 20:26:57 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 (Moderate: OpenShift Virtualization 4.10.1 Images security and 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/RHSA-2022:4668