-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
arogcd cluster add command reports error #18464
Comments
What was your kube context at the moment you added the cluster? See argo-cd/cmd/argocd/commands/cluster.go Lines 53 to 54 in 2639c59
You might want to join the CNCF slack to ask usage questions in https://cloud-native.slack.com/archives/C01TSERG0KZ instead of bug reports. https://github.com/argoproj/argo-cd/discussions is also a good place if you don't have access to Slack. |
I was using the rdr-hub context and in the argocd namespace, that is why I still could run Thanks for the slack info, I could also ask in the slack channel. |
|
In the argocd-server pod definition, I see it has following:
Secret argocd-redis exists in the argocd namespace, contains data/auth key and value. Argocd cluster add command should atuo read this secret to access redis server, right? |
btw, argocd is deployed using: I followed document of https://argo-cd.readthedocs.io/en/stable/getting_started/ |
In the steps above, you login to Argo CD in core mode, but it seems like you installed the full manifest. I think if you remove the --core, it should work normally. But you might have found a problem with the CLI usage in core mode.
|
@agaudreault is correct. If you installed all vended manifests (install.yaml), there is no reason for you to run the Argo CD CLI in core mode ( |
Today I created two new minikube clusters, and installed argocd core in the rdr-hub cluster, by using file of https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/core-install.yaml I checked, this time in the argocd ns, I only have below pods:
After login --core and add the other cluster in, it reports the same issue.
So this does look like a bug, even I only installed with core mode. |
Checklist:
argocd version
.Describe the bug
I have 3 minikube clusters running on a Fedora release 39 machine:
after install argocd into rdr-hub cluster argocd namespace, I login to it and try to add cluster.
but the cluster rdr-dr1 is actually added, but just with no version, status info. see:
And no error message could be found in any of the argocd pods.
Later I create application CR on rdr-hub cluster, and argocd could deploy this application to rdr-dr1 cluster without issue.
So why it reports error of "NOAUTH Authentication required“ ?
Version
The text was updated successfully, but these errors were encountered: