Giter Club home page Giter Club logo

Comments (7)

prsrus216 avatar prsrus216 commented on August 21, 2024 1

I have reverted the ArgoCD to v2.9.2 which was my previous stable version which is now printing the error log correctly in the UI when YAML/parameter value issues are there.

I can upgrade the Argo to v2.10.9 again and can update the redis manifest config here.

from argo-cd.

crenshaw-dev avatar crenshaw-dev commented on August 21, 2024

The error you're seeing indicates that the Argo CD repo-server is unable to connect to Redis, because Redis is now configured with password protection.

I'd recommend restarting your repo-server and doing a hard refresh to re-attempt manifest hydration.

If that fails with the same error message, you'll need to analyze why the REDIS_PASSWORD environment variable on the repo-server isn't being populated.

from argo-cd.

prsrus216 avatar prsrus216 commented on August 21, 2024

Thank You @crenshaw-dev for the response. Argo is working fine with Redis and all other 100+ apps synced without any issues with same repo creds. Which ever the apps having some YAML indentation or value data type issues, Argo is not able to templating it correctly and hence reporting Authentication error rather showing that YAML syntax issues.

from argo-cd.

crenshaw-dev avatar crenshaw-dev commented on August 21, 2024

This is strange for another reason: Redis password protection wasn't enabled until Argo CD 2.10.10.

How are you installing Argo CD?

Can you post the output of this?

kubectl get deployment argocd-redis -oyaml | yq '.spec'

from argo-cd.

crenshaw-dev avatar crenshaw-dev commented on August 21, 2024

I'm unable to reproduce the bug in 2.10.9.

image

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: "18886"
  namespace: argocd
spec:
  destination:
    namespace: default
    server: https://kubernetes.default.svc
  project: default
  source:
    path: "18886"
    repoURL: https://github.com/crenshaw-dev/argocd-example-apps
    targetRevision: HEAD

from argo-cd.

prsrus216 avatar prsrus216 commented on August 21, 2024

I have tried capturing the error log in both versions. I have configured Redis in HA running with 2 replicas behind HA proxy.

Argo v2.9.2:

Here is the Argo Error in v2.9.2 when the required YAML is not found.
Screenshot 2024-07-02 at 4 14 58 PM

Now, i have upgraded to v2.10.9 and I see the below error log for the same app.
Screenshot 2024-07-02 at 4 25 20 PM

Few other screenshots from another app which is showing the same error in AppConditions

Sync Error is showing fine this time but the AppCondition still showing like Authentication issues:

Screenshot 2024-07-02 at 4 24 24 PM Screenshot 2024-07-02 at 4 32 50 PM Screenshot 2024-07-02 at 4 37 16 PM

Below screenshot shows that all other 800+ apps synced fine.
Screenshot 2024-07-02 at 4 30 53 PM

from argo-cd.

prsrus216 avatar prsrus216 commented on August 21, 2024

@crenshaw-dev Thank You for the explanation and details. I have now upgraded to v2.11.4 and that got fixed the issues.

from argo-cd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.