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

Sync status left inconsistent after a multi source application definition update #12528

Closed
lsoica opened this issue Feb 18, 2023 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@lsoica
Copy link
Contributor

lsoica commented Feb 18, 2023

Describe the bug

Updating the definition of a multi source application leaves its sync status in OutOfSync state.

To Reproduce

Apply a manifest like:

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: multisourceapplication
  namespace: argocd
spec:
  project: default
  syncPolicy:
    automated: {}
    syncOptions:
    - CreateNamespace=true        
  destination:
    server: https://kubernetes.default.svc
    namespace: multisourceapp
  sources:
  - repoURL: 'https://stefanprodan.github.io/podinfo/'
    chart: podinfo
    targetRevision: "5.1.0"
    helm:
      valueFiles:
      - $environment/configuration/applicationservices/podinfo-values.yaml
  - repoURL: 'https://<redacted git server and repo name>.git'
    targetRevision: HEAD
    ref: environment

Refresh the app in order to move to "Healthy" and "Synced".
Update targetRevision to

    targetRevision: "5.1.1"

Then check the application status: the new revision is applied, the app health is reported as "Healthy" but the Sync Status is reported as "OutOfSync"

image

Expected behavior
Progress to the new targetRevision, report app health as "Healthy" and Sync Status as "Synced"

Version

v2.6.2+6e02f8b
@lsoica lsoica added the bug Something isn't working label Feb 18, 2023
@entanglesoftware
Copy link

Yes. It is not implemented yet. I think it is necessary to have it as i have to do hard refresh everytime. 😢

@kkamaldinov
Copy link

duplicate
#12379

@lsoica lsoica closed this as completed Feb 27, 2023
@lsoica
Copy link
Contributor Author

lsoica commented Feb 27, 2023

Fixed by #12576

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

3 participants