Bug 2030660

Summary: ImageSteam rhel8-guest and rhel9-guest are managed by HCO but they are not getting reconciled
Product: Container Native Virtualization (CNV) Reporter: Debarati Basu-Nag <dbasunag>
Component: InstallationAssignee: Nahshon Unna-Tsameret <nunnatsa>
Status: CLOSED ERRATA QA Contact: Debarati Basu-Nag <dbasunag>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10.0CC: cnv-qe-bugs, stirabos
Target Milestone: ---Flags: nunnatsa: needinfo-
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.10.0-519 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-16 15:57:01 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:

Comment 3 Debarati Basu-Nag 2022-02-16 01:00:19 UTC
Verified against v4.10.0-674 that both ImageSteam rhel8-guest and rhel9-guest are getting reconciled as expected.
==============
tests.install_upgrade_operators.strict_reconciliation.utils 2022-02-16 00:52:49 INFO Checking: ImageStream: rhel8-guest for reconciliation
tests.install_upgrade_operators.strict_reconciliation.utils 2022-02-16 00:52:49 INFO waiting for rhel8-guest/ImageStream to reach 3168511
ocp_resources.utils 2022-02-16 00:52:49 INFO Waiting for 180 seconds, retry every 5 seconds. (Function: tests.install_upgrade_operators.strict_reconciliation.utils.get_hco_related_object_version Kwargs: {'client': <openshift.dynamic.client.DynamicClient object at 0x7fb7f4793430>, 'hco_namespace': <ocp_resources.namespace.Namespace object at 0x7fb7f469da30>, 'resource_kind': 'ImageStream', 'resource_name': 'rhel8-guest'})
tests.install_upgrade_operators.strict_reconciliation.utils 2022-02-16 00:52:49 INFO For rhel8-guest, current resource version: 3168511 matches with expected value in hco.status.relatedObjects.
ocp_resources.utils 2022-02-16 00:52:49 INFO Elapsed time: 0.00013446807861328125
tests.install_upgrade_operators.strict_reconciliation.utils 2022-02-16 00:52:49 INFO reading class ImageStream from module image_stream
ocp_resources.resource 2022-02-16 00:52:49 INFO kind: ImageStream api version: image.openshift.io/v1
ocp_resources.resource 2022-02-16 00:52:49 INFO ResourceEdits: Updating data for resource ImageStream rhel9-guest
ocp_resources.resource 2022-02-16 00:52:49 INFO Update ImageStream rhel9-guest:
{'metadata': {'labels': {'temp_label': 'test'}, 'name': 'rhel9-guest'}}
ocp_resources.utils 2022-02-16 00:52:49 INFO Waiting for 180 seconds, retry every 5 seconds. (Function: tests.install_upgrade_operators.strict_reconciliation.utils.<locals>.lambda: component.instance.metadata.labels)
tests.install_upgrade_operators.strict_reconciliation.utils 2022-02-16 00:52:54 INFO For rhel9-guest: Found expected spec values: '{'app': 'kubevirt-hyperconverged',
 'app.kubernetes.io/component': 'compute',
 'app.kubernetes.io/managed-by': 'hco-operator',
 'app.kubernetes.io/part-of': 'hyperconverged-cluster',
 'app.kubernetes.io/version': '4.10.0'}'
ocp_resources.utils 2022-02-16 00:52:54 INFO Elapsed time: 5.013919830322266
tests.install_upgrade_operators.strict_reconciliation.utils 2022-02-16 00:52:54 INFO Checking: ImageStream: rhel9-guest for reconciliation
tests.install_upgrade_operators.strict_reconciliation.utils 2022-02-16 00:52:54 INFO waiting for rhel9-guest/ImageStream to reach 3168605
ocp_resources.utils 2022-02-16 00:52:54 INFO Waiting for 180 seconds, retry every 5 seconds. (Function: tests.install_upgrade_operators.strict_reconciliation.utils.get_hco_related_object_version Kwargs: {'client': <openshift.dynamic.client.DynamicClient object at 0x7fb7f4793430>, 'hco_namespace': <ocp_resources.namespace.Namespace object at 0x7fb7f469da30>, 'resource_kind': 'ImageStream', 'resource_name': 'rhel9-guest'})
tests.install_upgrade_operators.strict_reconciliation.utils 2022-02-16 00:52:54 INFO For rhel9-guest, current resource version: 3168605 matches with expected value in hco.status.relatedObjects.
ocp_resources.utils 2022-02-16 00:52:54 INFO Elapsed time: 0.00021409988403320312
==================

Comment 6 errata-xmlrpc 2022-03-16 15:57:01 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.0 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:0947