-
Bug
-
Resolution: Cannot Reproduce
-
Undefined
-
None
-
4.16.0
-
Important
-
No
-
Proposed
-
False
-
-
Description of problem:
Deployment failed due to installplans generated from subscriptions policy were not approved by TALM. TALM log snippet: [kni@registry.kni-qe-70 ~]$ oc logs -n openshift-operators cluster-group-upgrades-controller-manager-v2-d54b6dc4f-7fjm6 manager ... 2024-05-27T04:29:49Z INFO controllers.ClusterGroupUpgrade [approveInstallPlan] Attempt to approve install plan for subscription {"name": "local-storage-operator", "in namespace": "openshift-local-storage"} 2024-05-27T04:29:49Z INFO multiCloudLog ManagedClusterView was not (yet) ready, trying again later {"managedcluserview": "cnfdg18-ztp-install-subscription-local-storage-operator-zh22j", "namespace": "cnfdg18"} [kni@registry.kni-qe-70 ~]$ oc get managedclusterviews.view.open-cluster-management.io -A -o yaml apiVersion: v1 items: - apiVersion: view.open-cluster-management.io/v1beta1 kind: ManagedClusterView metadata: annotations: cluster-group-upgrades-operator/rname: cnfdg18/cnfdg18-ztp-install-subscription-bare-metal-event-relay-subscription creationTimestamp: "2024-05-27T19:11:16Z" generation: 1 labels: openshift-cluster-group-upgrades/clusterGroupUpgrade: cnfdg18 openshift-cluster-group-upgrades/clusterGroupUpgradeNamespace: ztp-install name: cnfdg18-ztp-install-subscription-bare-metal-event-relay-subscription-nvb7c namespace: cnfdg18 resourceVersion: "8771280" uid: 40337e41-b7f4-4de0-977b-426884730d50 spec: scope: name: bare-metal-event-relay-subscription namespace: openshift-bare-metal-events resource: Subscription.operators.coreos.com - apiVersion: view.open-cluster-management.io/v1beta1 kind: ManagedClusterView metadata: annotations: cluster-group-upgrades-operator/rname: cnfdg18/cnfdg18-ztp-install-subscription-cluster-logging creationTimestamp: "2024-05-27T19:11:16Z" generation: 1 labels: openshift-cluster-group-upgrades/clusterGroupUpgrade: cnfdg18 openshift-cluster-group-upgrades/clusterGroupUpgradeNamespace: ztp-install name: cnfdg18-ztp-install-subscription-cluster-logging-6c242 namespace: cnfdg18 resourceVersion: "8771273" uid: ef2c753a-e96a-45f1-857f-e03259cfb480 spec: scope: name: cluster-logging namespace: openshift-logging resource: Subscription.operators.coreos.com ...
Version-Release number of selected component (if applicable):
Hub: 4.16.0-rc.2 TALM: 4.16.0 ACM: 2.11.0-85
How reproducible:
Intermittent
Steps to Reproduce:
1. Deploy a 4.16 spoke cluster using 4.16 hub/ACM/TALM 2. Waiting for policies to be compliant 3.
Actual results:
Subscription policy is not compliant due to installplans were not approved.
Expected results:
Installplans are approved automatically by TALM
Additional info: