-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[bitnami/redis-cluster] update job fails to get new node IP address #3876
Comments
I also faced the same issue when I try to do an upgrade. I do see another issue as well. |
Hi, @rafariossaa is checking an issue with the upgrade, pinging him in case it is related. |
Hi, |
@EswarRams I did tried the default setup with 3 masters and 3 followers and everything was okay for me. I deleted a master pod and follower got promoted. When old master came back it joined the cluster and became a follower for new master. |
Hi, |
@rafariossaa I've created a new issue as you suggested #3933 |
@tpolekhin Thanks . |
Thanks for your response. I haven't tried yet. I will be trying with
persistent enabled and see if that pod restart works or not.
Hope there is another thread followed for adding or removing the node from
the cluster as master or slave.
…On Thu, Oct 8, 2020 at 2:15 AM Rafael Ríos Saavedra < ***@***.***> wrote:
@tpolekhin <https://github.com/tpolekhin> Thanks .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3876 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARGEXTQDDX3JYLJ4H43DDLTSJVRKHANCNFSM4SCAS4LA>
.
|
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Hello, |
Hi, |
Hello @rafariossaa |
Hi, |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Which chart:
redis-cluster-3.2.4.tgz
Describe the bug
wait_for_dns_lookup
bash function from https://github.com/bitnami/bitnami-docker-redis-cluster/blob/master/6.0/debian-10/prebuildfs/opt/bitnami/scripts/libnet.sh#L33 failing to return a correct IP address of new podTo Reproduce
helm install redis-cluster bitnami/redis-cluster --set 'cluster.replicas=0'
helm upgrade redis-cluster bitnami/redis-cluster --set 'cluster.nodes=6,cluster.replicas=0,cluster.init=false,cluster.update.addNodes=true,cluster.update.currentNumberOfNodes=3'
Expected behavior
All new pods discovered and added to the existing cluster
Version of Helm and Kubernetes:
helm version
:kubectl version
:Additional context
I've added
set -x
to the update job script to trace the issuehere's output of the
pod/redis-cluster-cluster-update-9x4nt
you can see that dns lookup worked once to break out of the loop here
but next
dns_lookup
that's used to return IP address fails to find IP addressThe text was updated successfully, but these errors were encountered: