$ ./redis-trib.rb create --replicas 1 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005
>>> Creating cluster
Connecting to node 127.0.0.1:7000: [ERR] Sorry, can't connect to node 127.0.0.1:7000
Debugging the script, it looks like it immediately fails inside the connect function, when trying to ping the instance.
I then tried to connect to an instance using redis-cli, but after connecting successfully, any commands immediately error out:
$ ./redis-cli -p 7000
127.0.0.1:7000> set foo bar
Error: Server closed the connection
127.0.0.1:7000> get foo
Error: Server closed the connection
However, I am able to telnet into the instance and run commands that way:
$ telnet localhost 7000
Trying ::1...
Connected to localhost.
Escape character is '^]'.
set foo bar
-CLUSTERDOWN The cluster is down. Use CLUSTER INFO for more information
cluster info
$261
cluster_state:fail
cluster_slots_assigned:1
cluster_slots_ok:1
cluster_slots_pfail:0
cluster_slots_fail:0
cluster_known_nodes:1
cluster_size:1
cluster_current_epoch:0
cluster_my_epoch:0
cluster_stats_messages_sent:0
cluster_stats_messages_received:0
Any clues what's going on? I'm running this on a MBP 2012, osx 10.10.
Thanks, Hale