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
Announce Bus Port Failing. #5406
Comments
it's the same issue i met. can someone help? |
I am seeing the exact same thing in This is a pretty major and long lived feature to be broken this way/ Create Cluster (6 containers on 3 hosts)root@alloc5:/data# echo ${redis_cluster[@]}
10.0.0.19:26975 10.0.0.225:29581 10.0.0.19:22796 10.0.0.96:21486 10.0.0.225:23366 10.0.0.19:25096
root@alloc5:/data# redis-cli --cluster-replicas 1 --cluster-yes --cluster create ${redis_cluster[@]}
>>> Performing hash slots allocation on 6 nodes...
Master[0] -> Slots 0 - 5460
Master[1] -> Slots 5461 - 10922
Master[2] -> Slots 10923 - 16383
Adding replica 10.0.0.225:23366 to 10.0.0.19:26975
Adding replica 10.0.0.19:25096 to 10.0.0.225:29581
Adding replica 10.0.0.19:22796 to 10.0.0.96:21486
M: ed335d72495213bc81405e0578c316aa382bab9c 10.0.0.19:26975
slots:[0-5460] (5461 slots) master
M: 1b84f8df1713acfd276578d6ac4d42037cf5c5dd 10.0.0.225:29581
slots:[5461-10922] (5462 slots) master
S: b115986cb15f529607d8d1ea86ca80f2aacc89f6 10.0.0.19:22796
replicates 05ecc2e844232010d37ed03570fa8d45abc8bcce
M: 05ecc2e844232010d37ed03570fa8d45abc8bcce 10.0.0.96:21486
slots:[10923-16383] (5461 slots) master
S: fe0739d9a0c74495a03c38446875c9f3f3540b94 10.0.0.225:23366
replicates ed335d72495213bc81405e0578c316aa382bab9c
S: 6304abf13d4797e822ad3d56d6becb300a2ffc0d 10.0.0.19:25096
replicates 1b84f8df1713acfd276578d6ac4d42037cf5c5dd
>>> Nodes configuration updated
>>> Assign a different config epoch to each node
>>> Sending CLUSTER MEET messages to join the cluster
Waiting for the cluster to join
.....................^C Notice specifically this node (first in the list): Logs10.0.0.19:269751:M 29 Mar 2022 21:48:52.807 # configEpoch set to 1 via CLUSTER SET-CONFIG-EPOCH All other containers1:M 29 Mar 2022 21:48:52.809 # configEpoch set to 5 via CLUSTER SET-CONFIG-EPOCH
1:M 29 Mar 2022 21:48:52.846 - Connection with Node 9b06e2e9cffdeaef89e614b1dfd66cbd26af44e1 at 10.0.0.19:36975 failed: Connection refused
1:M 29 Mar 2022 21:48:52.947 - Connection with Node 9b06e2e9cffdeaef89e614b1dfd66cbd26af44e1 at 10.0.0.19:36975 failed: Connection refused
1:M 29 Mar 2022 21:48:53.049 - Connection with Node 9b06e2e9cffdeaef89e614b1dfd66cbd26af44e1 at 10.0.0.19:36975 failed: Connection refused
1:M 29 Mar 2022 21:48:53.149 - Connection with Node 9b06e2e9cffdeaef89e614b1dfd66cbd26af44e1 at 10.0.0.19:36975 failed: Connection refused
1:M 29 Mar 2022 21:48:53.251 - Connection with Node 9b06e2e9cffdeaef89e614b1dfd66cbd26af44e1 at 10.0.0.19:36975 failed: Connection refused
1:M 29 Mar 2022 21:48:53.352 - Connection with Node 9b06e2e9cffdeaef89e614b1dfd66cbd26af44e1 at 10.0.0.19:36975 failed: Connection refused
1:M 29 Mar 2022 21:48:53.453 - Connection with Node 9b06e2e9cffdeaef89e614b1dfd66cbd26af44e1 at 10.0.0.19:36975 failed: Connection refused
1:M 29 Mar 2022 21:48:53.555 - Connection with Node 9b06e2e9cffdeaef89e614b1dfd66cbd26af44e1 at 10.0.0.19:36975 failed: Connection refused
1:M 29 Mar 2022 21:48:53.656 - Connection with Node 9b06e2e9cffdeaef89e614b1dfd66cbd26af44e1 at 10.0.0.19:36975 failed: Connection refused Notice the port being used to attempt a connection is redis.confThe same Nomad Template
10.0.0.19:26975 as renderedloglevel verbose
appendonly yes
port 6379
cluster-enabled yes
cluster-config-file nodes.conf
cluster-node-timeout 5000
cluster-announce-ip 10.0.0.19
cluster-announce-port 26975
cluster-announce-bus-port 26874 The other Node's rendered config (Epoch 5)loglevel verbose
appendonly yes
port 6379
cluster-enabled yes
cluster-config-file nodes.conf
cluster-node-timeout 5000
cluster-announce-ip 10.0.0.225
cluster-announce-port 23366
cluster-announce-bus-port 27484 WorkaroundWhile it's not desirable, I intend to just hardset the |
Trying to run dockerized redis cluster. Ability to map ports looks like to be available since v.4. The mapping of client port works, but no the bus port. Here is my setup.
Redis Config:
Also starting nodes with
--cluster-announce-ip 10.1.1.11 --cluster-announce-port 10050 --cluster-announce-bus-port 10060
arguments.Cluster setup using ```
ruby /var/local/redis/redis-trib.rb create --verbose --replicas 0 52.91.138.97:10050 52.91.138.97:10051 54.197.133.192:10050
Accepted 52.91.138.97:57330
configEpoch set to 2 via CLUSTER SET-CONFIG-EPOCH
Connecting with Node 5fae7a49333e4a68084ce2eba33e31097531c92e at 52.91.138.97:20050
The text was updated successfully, but these errors were encountered: