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

Argocd outofsync with no diff changes #15898

Closed
3 tasks done
andrewhibbert opened this issue Oct 11, 2023 · 5 comments
Closed
3 tasks done

Argocd outofsync with no diff changes #15898

andrewhibbert opened this issue Oct 11, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@andrewhibbert
Copy link

andrewhibbert commented Oct 11, 2023

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

If you have fields that are set to default (see below for examples) argocd will say app is OutOfSync and try to sync even though the diff is blank

ignoreDifferences: []
fileParameters: []
ignoreMissingValueFiles: false
passCredentials: false
skipCrds: false
valueFiles: []

To Reproduce

Enter above fields as defaults instead of leaving them out, argocd will want to sync even no changes

Expected behavior

Does not sync

Screenshots

Version

argocd-server: v2.8.4+c279299

Note: This did not go OutOfSync in 2.7.7

Logs

Before updating the yaml file:
argo-cd-before.txt

After, this is when it wants to sync:
argo-cd-after.txt

Application shows blank diff:
BlankDiff

@andrewhibbert andrewhibbert added the bug Something isn't working label Oct 11, 2023
@nicl-dev
Copy link

nicl-dev commented Oct 16, 2023

We are experiencing the same on the same version. Also some resources are labeled missing and out of sync, even though they do exist in the cluster and do have a live manifest.
image

@nkprince007
Copy link

noticing the same issue with argocd v2.10.7

I have also tried experimenting with the resource tracking using all three methods from this guide: https://argo-cd.readthedocs.io/en/stable/user-guide/resource_tracking/#resource-tracking

Despite my best efforts, it is still showing the same for multiple applications.

Status: OutOfSync
Health: Missing

@ro0NL
Copy link

ro0NL commented Apr 26, 2024

same, probably related to #15126

@ro0NL
Copy link

ro0NL commented Apr 29, 2024

We noticed this issue when doing a fresh rollout. But we migrated from values: | to valuesObject meanwhile, hence this was super confusing.

Reverting back to values: | made argo do a proper sync. Then again reverting back to valuesObject seems to work!

@nkprince007
Copy link

This issue is resolved for me after upgrading to v2.11.0

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

5 participants