Details
-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.12
-
Moderate
-
CNF RAN Sprint 231, CNF RAN Sprint 232, CNF RAN Sprint 233
-
-
-
Known Issue
-
In Progress
-
Rel Note for Telco: Yes
Description
When using TALM to update OLM Operators and the CatalogSource in the same CGU, the NonCompliant state of the subscriptions may be set too late, resulting in TALM completing the update and removing the enforce policy before the Operators are actually updated.
Updating Operators, including a change to the CatalogSource, involves 2 policies. The common-config policy updates the CatalogSource (eg changing index to point to an updated index with new content). The new CatalogSource enables the Subscriptions to see an updated version and change their status to "UpgradePending". This status change is what will set the common-subscription Policy to NonCompliant.
There is a non-trivial amount of time between changing the CatalogSource and the Subscriptions updating their status. Much of this time (but not all) is the index pod being pulled and run by OLM.
A mitigation for this issue is to add a status check to the CatalogSource Policy to ensure that it is ready, indicating the pod has been pulled and is running. The status section in this example is the mitigation:
- fileName: DefaultCatsrc.yaml policyName: "config-policy" metadata: name: redhat-operators-disconnected spec: displayName: disconnected-redhat-operators image: registry.example.com:5000/disconnected-redhat-operators/disconnected-redhat-operator-index:v4.11 status: connectionState: lastObservedState: READY
Attachments
Issue Links
- is blocked by
-
RFE-3846 CRs managed by OLM missing 'observedGeneration' in status
-
- Backlog
-
- is related to
-
OCPBUGS-2812 TALM does not enforce subscriptions when catalogsource is updated and both policies are in the same CGU
-
- Verified
-
- relates to
-
OCPBUGS-7540 TALM may miss MCP reconcile after change to PerformanceProfile or operator upgrade
-
- Verified
-
-
ACM-3097 Design an ACM policy type for operator installation management
-
- In Progress
-