You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create a redis cluster with DNS names instead of IP addresses and i got this error
root@06b360f951ae:/# ruby /redis/src/redis-trib.rb create --replicas 1 redis-cluster.docker:7000 redis-cluster.docker:7001 redis-cluster.docker:7002 redis-cluster.docker:7003 redis-cluster.docker:7004 redis-cluster.docker:7005
>>> Creating cluster
Connecting to node redis-cluster.docker:7000: OK
Connecting to node redis-cluster.docker:7001: OK
Connecting to node redis-cluster.docker:7002: OK
Connecting to node redis-cluster.docker:7003: OK
Connecting to node redis-cluster.docker:7004: OK
Connecting to node redis-cluster.docker:7005: OK
>>> Performing hash slots allocation on 6 nodes...
Using 3 masters:
redis-cluster.docker:7000
redis-cluster.docker:7001
redis-cluster.docker:7002
Adding replica redis-cluster.docker:7003 to redis-cluster.docker:7000
Adding replica redis-cluster.docker:7004 to redis-cluster.docker:7001
Adding replica redis-cluster.docker:7005 to redis-cluster.docker:7002
M: 4ee26d3c0295bc439b8324b518d284d140d10ba1 redis-cluster.docker:7000
slots:0-5460 (5461 slots) master
M: 1d9747b10f77dfbe9e01bc56df39e941b53a598e redis-cluster.docker:7001
slots:5461-10922 (5462 slots) master
M: f97e849fa89b3e7043585823095e604bb4857dec redis-cluster.docker:7002
slots:10923-16383 (5461 slots) master
S: 1d4db5cbe74d88a1c448ac5dceb040b4dda51c0b redis-cluster.docker:7003
replicates 4ee26d3c0295bc439b8324b518d284d140d10ba1
S: d7c12ffa57d7709a9d4d8fa6b6b8a7cffb2f3e1d redis-cluster.docker:7004
replicates 1d9747b10f77dfbe9e01bc56df39e941b53a598e
S: 829acc76ecfea0c2f6124e7e16362b8ec28a97b3 redis-cluster.docker:7005
replicates f97e849fa89b3e7043585823095e604bb4857dec
Can I set the above configuration? (type 'yes' to accept): yes
>>> Nodes configuration updated
>>> Assign a different config epoch to each node
>>> Sending CLUSTER MEET messages to join the cluster
/var/lib/gems/1.8/gems/redis-3.2.1/lib/redis/client.rb:113:in `call': ERR Invalid node address specified: redis-cluster.docker:7000 (Redis::CommandError)
from /var/lib/gems/1.8/gems/redis-3.2.1/lib/redis.rb:2556:in `method_missing'
from /var/lib/gems/1.8/gems/redis-3.2.1/lib/redis.rb:37:in `synchronize'
from /usr/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize'
from /var/lib/gems/1.8/gems/redis-3.2.1/lib/redis.rb:37:in `synchronize'
from /var/lib/gems/1.8/gems/redis-3.2.1/lib/redis.rb:2555:in `method_missing'
from /redis/src/redis-trib.rb:692:in `join_cluster'
from /redis/src/redis-trib.rb:690:in `each'
from /redis/src/redis-trib.rb:690:in `join_cluster'
from /redis/src/redis-trib.rb:1002:in `create_cluster_cmd'
from /redis/src/redis-trib.rb:1373:in `send'
from /redis/src/redis-trib.rb:1373
The text was updated successfully, but these errors were encountered:
I tried to create a redis cluster with DNS names instead of IP addresses and i got this error
The text was updated successfully, but these errors were encountered: