Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2115968

Summary: TALM actions are not run if all policies are compliant when CGU is enabled
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Telco EdgeAssignee: Steven Skeard <sskeard>
Telco Edge sub component: TALO QA Contact: yliu1
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: ijolliff, jun, keyoung, sskeard
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2116401 (view as bug list) Environment:
Last Closed: 2022-08-18 04:08:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2109961    
Bug Blocks: 2116401    

Description OpenShift BugZilla Robot 2022-08-05 20:27:07 UTC
+++ This bug was initially created as a clone of Bug #2109961 +++

Description of problem: If all managedPolicies are compliant when the CGU is enabled the pre/post actions (specifically label management) are not run. These actions should be run regardless of whether any remediation is required so that the user can rely on the labels as an indication that all managedPolicies are compliant (at that point in time).

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


How reproducible: Always


Steps to Reproduce:
1. Create CGU in disabled state with list of managedPolicies. The CGU should include actions to manipulate cluster labels.
2. Ensure that all managedPolicies are compliant for all clusters covered by the CGU
3. Enable the CGU

Actual results: label manipulation according to the actions does not happen.


Expected results: Labels should be modified/added.


Additional info:

Comment 2 yliu1 2022-08-11 19:50:40 UTC
Verified label is added to managedcluster even if all managedpolicies were already compliant when cgu enabled.

Comment 4 errata-xmlrpc 2022-08-18 04:08:08 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.11 CNF vRAN extras 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/RHEA-2022:6110