-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
4.10.z
-
No
-
CNF RAN Sprint 234, CNF RAN Sprint 235
-
2
-
False
-
Description of problem:
If unsupported hub side templating function is used in the second policy that is reconciled in the CGU, TALM rejects the policy and keeps spinning with the following error although the requeue interval is set to 60s. 1.6806190070241933e+09 ERROR controllers.ClusterGroupUpgrade Failed to resolve hub template {"error": "fromSecret: template function is not supported in TALM"} github.com/openshift-kni/cluster-group-upgrades-operator/controllers/utils.(*TemplateResolver).ResolveObjectHubTemplates /remote-source/app/controllers/utils/policy_template.go:38 github.com/openshift-kni/cluster-group-upgrades-operator/controllers/utils.(*TemplateResolver).ResolveObjectHubTemplates /remote-source/app/controllers/utils/policy_template.go:38 github.com/openshift-kni/cluster-group-upgrades-operator/controllers.(*ClusterGroupUpgradeReconciler).updateConfigurationPolicyHubTemplate /remote-source/app/controllers/clustergroupupgrade_controller.go:1142 github.com/openshift-kni/cluster-group-upgrades-operator/controllers.(*ClusterGroupUpgradeReconciler).updateConfigurationPolicyForCopiedPolicy /remote-source/app/controllers/clustergroupupgrade_controller.go:1109 github.com/openshift-kni/cluster-group-upgrades-operator/controllers.(*ClusterGroupUpgradeReconciler).copyManagedInformPolicy /remote-source/app/controllers/clustergroupupgrade_controller.go:1077 github.com/openshift-kni/cluster-group-upgrades-operator/controllers.(*ClusterGroupUpgradeReconciler).reconcileResources /remote-source/app/controllers/clustergroupupgrade_controller.go:1515 github.com/openshift-kni/cluster-group-upgrades-operator/controllers.(*ClusterGroupUpgradeReconciler).Reconcile /remote-source/app/controllers/clustergroupupgrade_controller.go:239 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:114 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227 1.6806190070321722e+09 INFO controllers.ClusterGroupUpgrade Finish reconciling CGU {"name": "default/test-hub-template", "requeueAfter": 60}
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Create two policies and one of the policy with hub template function fromSerect 2. Create a CGU and put the templatized policy in the second one in the managedpolicies list. 3.
Actual results:
TALM keeps spinning with the reconcilation error
Expected results:
TALM raises the reconcilation error every 60s
Additional info:
- blocks
-
OCPBUGS-11890 TALM keeps spinning with the hub template error when unsupported hub template function is being used in the second policy
- Closed
- is cloned by
-
OCPBUGS-11890 TALM keeps spinning with the hub template error when unsupported hub template function is being used in the second policy
- Closed
- links to
- mentioned on