Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster wide impact for namespace scoped issue #20459

Open
3 tasks done
dmarquez-splunk opened this issue Oct 18, 2024 · 0 comments
Open
3 tasks done

Cluster wide impact for namespace scoped issue #20459

dmarquez-splunk opened this issue Oct 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dmarquez-splunk
Copy link

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug
TL;DR
Applications created for a non-existent namespace causes cluster wide sync errors for unrelated namespaces.

Summary:

We experienced an issue where our CI pipelines created the resources necessary to onboard a new customer namespace, project, and application to the ArgoCD platform. For one reason or another the CI job failed to create the namespace where the customer application resources would get deployed to. This resulted in cluster wide impact for applications in other namespaces which prevented deployments and sync operations.

We agree that if argo is attempting to manage resources/apps in a non-existent namespace then there should be errors. However, we believe that is shouldn't impact all other applications in unrelated namespaces.

To Reproduce

  1. Create app/project for a non-existent namespace
  2. Attempt to create new apps in valid argocd managed namespaces

Expected behavior

Error is scoped to the app that is created for the non-existent namespace and should not impact other applications

Screenshots

Version

v2.10.2+fcf5d8c

Logs

error synchronizing cache state : failed to sync cluster <CLUSTER_URL> failed to load initial state of resource WorkloadGroup.networking.istio.io: workloadgroups.networking.istio.io is forbidden: User "system:serviceaccount:wfecd:cicd-deployer" cannot list resource "workloadgroups" in API group "networking.istio.io" in the namespace "non-existent-namespace"

The above error was shown in all applications cluster wide

@dmarquez-splunk dmarquez-splunk added the bug Something isn't working label Oct 18, 2024
@dmarquez-splunk dmarquez-splunk changed the title Cluster wide impact Cluster wide impact for namespace scoped issue Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant