-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Redis/sentinel not working with IPv4 cluster #5957
Comments
Updating the bind in redis.conf and sentinel.conf to the below seems to have fixed everything.
Happy to create a PR if we feel that is the best course of action. I don't have an IPv6 cluster readily available to test. |
I thought we switched away from using redis sentinel a while back. Are you running a default install of Argo CD? How did you install it? |
I use Maybe my terminology is incorrect but I still see it here.
|
I can confirm the issue. It happens if ipv6 is disabled. The suggested fix solves the issue. I'm using the v2.0.0 release from today. |
Appreciate the confirmation @stefanhenseler (makes me feel like I am not losing my mind here with my remote bases LOL). |
No worries, I was actually glad I saw this issue, because it was working on my GKE Cluster and it didn't on VMware Tanzu (PKS). I'm using the following base: https://github.com/argoproj/argo-cd/tree/master/manifests/ha/[email protected] |
Yup, I am using PKS v1.9.4 |
Me too, same version. |
@jessesuen I think it's clear that it is coming from the manifests provided by this repo. Do you have any suggestions on how to proceed? Do we just patch the expanded Patching isn't super clean either :( kubernetes-sigs/kustomize#680 |
Looking at it. Patching is not perfect of course. I think we should modify expanded redis-ha manifest and cherry-pick change to v2.0 |
…6005) * fix(redis-ha): Adding explicit bind to redis and sentinel config to support IPv4 clusters. Closes #5957 Signed-off-by: Ryan Umstead <[email protected]>
…6005) * fix(redis-ha): Adding explicit bind to redis and sentinel config to support IPv4 clusters. Closes #5957 Signed-off-by: Ryan Umstead <[email protected]>
5bc7297 fix: bitbucket server failing diagnostics:ping (argoproj#6029) (argoproj#6034) 8f53bd5 fix: add helm dependencies with custom CA (argoproj#6003) 8fd6f13 docs: Custom resource actions (argoproj#5838) 8a2897d docs: update delete policy verbiage (argoproj#6025) c847bd9 chore: remove Argo CD CRDs from namespaced install (argoproj#6022) 61080b3 docs: improve Orphaned Resources Monitoring with more examples and correct grammar (argoproj#6006) 8301d39 Adding explicit bind to redis and sentinel for IPv4 clusters argoproj#5957 (argoproj#6005) 12cabdf fix: adding tests for helm OCI registry (argoproj#5978) 9da9514 docs: Add Ant Group to the list of users (argoproj#6011) 5e34a8a add Polarpoint.io (argoproj#6010) 2f92777 chore: move access checks from api server to repo server (argoproj#5940) ae2d0ff fix(ui): Unscheduled pods in node view are now visible. Fixes argoproj#5981 (argoproj#5988) b003f70 docs: SealedSecret status missing on k8s 1.16+ (argoproj#5846) 445872f fix: use correct field for evaluating whether or not GitHub Enterprise is selected (argoproj#5987) 9afa833 chore: Make e2e tests runnable against remote cluster (argoproj#5895)
…#5957 (argoproj#6005) * fix(redis-ha): Adding explicit bind to redis and sentinel config to support IPv4 clusters. Closes argoproj#5957 Signed-off-by: Ryan Umstead <[email protected]>
@rumstead so what was the solution, binding both |
Checklist:
argocd version
.Describe the bug
I upgraded to ArgoCD v2.0.0-rc2 and the
argocd-redis-ha-server
stateful set wasn't starting. The logs contained address family errors.Additionally,
argocd-server
is unable to connect to theargocd-redis-ha-haproxy
.To Reproduce
Deploy ArgoCD v2.0.0-rc2 to a Kubernetes cluster with IPv6 disabled.
Expected behavior
Redis and sentinel start up cleanly.
Version
Logs
argocd-server
argocd-redis-ha-server
argocd-redis-ha-haproxy
I was able to get redis and sentinel running by adding the following to the redis.conf and sentinel.conf
I am still trying to figure out what is happening with
argocd-redis-ha-haproxy
.The text was updated successfully, but these errors were encountered: