Hi
I'm trying to join a cluster using revision "90a81b4ebb155c8c07a30f0a0562e7a05fea4294" and get the following error:
piotr@gominola:0:~/storage/devel/redis$ src/redis-trib.rb create localhost:6379 localhost:6380 localhost:6381
>>> Creating cluster
Connecting to node localhost:6379: OK
Connecting to node localhost:6380: OK
Connecting to node localhost:6381: OK
>>> Performing hash slots allocation on 3 nodes...
Using 3 masters:
localhost:6379
localhost:6380
localhost:6381
M: b9f6ad693b3ae5d042b81800a8d797dc1e6bb0a4 localhost:6379
slots:0-5460 (5461 slots) master
M: f67140ec150e6179afa42648fd2a358f020b8645 localhost:6380
slots:5461-10921 (5461 slots) master
M: 24a3efea5840527931afd96100d9f590eedf5486 localhost:6381
slots:10922-16383 (5462 slots) master
Can I set the above configuration? (type 'yes' to accept): yes
>>> Nodes configuration updated
>>> Sending CLUSTER MEET messages to join the cluster
/var/lib/gems/1.9.1/gems/redis-3.0.6/lib/redis/client.rb:85:in `call': ERR Invalid node address specified (Redis::CommandError)
from /var/lib/gems/1.9.1/gems/redis-3.0.6/lib/redis.rb:2427:in `block in method_missing'
from /var/lib/gems/1.9.1/gems/redis-3.0.6/lib/redis.rb:36:in `block in synchronize'
from /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
from /var/lib/gems/1.9.1/gems/redis-3.0.6/lib/redis.rb:36:in `synchronize'
from /var/lib/gems/1.9.1/gems/redis-3.0.6/lib/redis.rb:2426:in `method_missing'
from src/redis-trib.rb:571:in `block in join_cluster'
from src/redis-trib.rb:569:in `each'
from src/redis-trib.rb:569:in `join_cluster'
from src/redis-trib.rb:781:in `create_cluster_cmd'
from src/redis-trib.rb:886:in `<main>'
With the following config file:
cat clus.conf | egrep -v '^#' | grep -v '^$'
daemonize no
pidfile /var/run/redis.pid
port 6379
timeout 0
tcp-keepalive 0
loglevel notice
logfile ""
databases 16
save 900 1
save 300 10
save 60 10000
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
dbfilename dump.rdb
dir ./
slave-serve-stale-data yes
slave-read-only yes
repl-disable-tcp-nodelay no
slave-priority 100
appendonly yes
appendfilename "appendonly.aof"
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
lua-time-limit 5000
cluster-enabled yes
cluster-config-file nodes-6379.conf
cluster-node-timeout 15000
slowlog-log-slower-than 10000
slowlog-max-len 128
notify-keyspace-events ""
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-max-ziplist-entries 512
list-max-ziplist-value 64
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit slave 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
aof-rewrite-incremental-fsync yes
Am I doing something wrong?
Thanks.
Pedro.