-
Feature
-
Resolution: Unresolved
-
Normal
-
None
-
ACM 2.8.0
-
False
-
None
-
False
-
Not Selected
Feature Overview
in order to deploy Policies on ACM, we are using a Channel which is pointing to an internal Git Repo. This one is referenced in a subscription. The subscription is pointing to some Kustomization. We were wondering why changes that were commited to git were not reflected on the clusters. Then we found out that there was an issue with our kustomize structure.
The point is that we could not find any issues in the status of the channel, subscription or SubscriptionStatus kinds. The only thing that showed us the problem was the log of the 'multicluster-operators-standalone-subscription' pod.
~~~
I0216 12:53:14.854528 1 git_subscriber_item.go:338] Applying kustomizations: map[/tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/overlays/p-svz-ros-mgmt-int-01/:/tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/overlays/p-svz-ros-mgmt-int-01/]
I0216 12:53:14.854537 1 git_subscriber_item.go:408] Applying kustomization /tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/overlays/p-svz-ros-mgmt-int-01/
E0216 12:53:14.860038 1 git_subscriber_item.go:421] Failed to apply kustomization, error: accumulating resources: accumulation err='accumulating resources from '../stable/': read /tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/overlays/stable: is a directory': recursed accumulation of path '/tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/overlays/stable': accumulating resources: accumulation err='accumulating resources from '../../base': read /tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/base: is a directory': recursed accumulation of path '/tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/base': accumulating resources: accumulation err='accumulating resources from 'CM-Configuration-Management/policy-argocd-essentials.yaml': open /tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/base/CM-Configuration-Management/policy-argocd-essentials.yaml: no such file or directory': evalsymlink failure on '/tmp/bit-ros-acm-policies/...
E0216 12:53:14.860080 1 git_subscriber_item.go:343] accumulating resources: accumulation err='accumulating resources from '../stable/': read /tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/overlays/stable: is a directory': recursed accumulation of path '/tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/overlays/stable': accumulating resources: accumulation err='accumulating resources from '../../base': read /tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/base: is a directory': recursed accumulation of path '/tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/base': accumulating resources: accumulation err='accumulating resources from 'CM-Configuration-Management/policy-argocd-essentials.yaml': open /tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies/base/CM-Configuration-Management/policy-argocd-essentials.yaml: no such file or directory': evalsymlink failure on '/tmp/bit-ros-acm-policies/ros-policies-subscription/acm-policies...
I0216 12:53:14.860148 1 git_subscriber_item.go:350] Applying helm charts..
~~~
Goals
- Expectation is that SubscriptionStatus indicates such an issue.
- SubscriptionStatus kind should show an issue while rendering a faulty kustomization