4 Nodes created in AWS
One of the installed opscenter
Installed cluster with 3 nodes Successfully
Issue : Unable to connect to cqlsh for any of the node
Observation : Multi pythons 2.7.x and 3.x ..
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
# cqlsh -u cassandra -p datastax 'hostname -i'; Traceback (most recent call last): File "/usr/local/bin/cqlsh", line 2816, in <module> main(*read_options(sys.argv[1:], os.environ)) File "/usr/local/bin/cqlsh", line 2795, in main encoding=options.encoding) File "/usr/local/bin/cqlsh", line 690, in __init__ load_balancing_policy=WhiteListRoundRobinPolicy([self.hostname]), File "/Library/Python/2.7/site-packages/cassandra/policies.py", line 426, in __init__ for endpoint in socket.getaddrinfo(a, None, socket.AF_UNSPEC, socket.SOCK_STREAM)] socket.gaierror: [Errno 8] nodename nor servname provided, or not known
# nodetool status Datacenter: DC1 =============== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving/Stopped -- Address Load Tokens Owns (effective) Host ID Rack UN host1 220.64 KiB 1 66.7% rack1 UN host2 215.88 KiB 1 66.7% rack1 UN host3 219.76 KiB 1 66.7% rack1
syslog:
INFO [NodeSyncMaintenanceTasks:1] 2020-06-07 20:29:06,629 NodeSyncMaintenanceTasks.java:172 - In last 10m: validated 4.7MB (8kB/s), 0% was inconsistent. INFO [CoreThread-0] 2020-06-07 20:33:48,279 InboundMessageHandler.java:151 - Switching inbound connection from /172.31.65.110 to handle large messages... INFO [NodeSyncMaintenanceTasks:1] 2020-06-07 20:39:06,629 NodeSyncMaintenanceTasks.java:172 - In last 10m: validated 4.5MB (7.7kB/s), 0% was inconsistent. INFO [NodeSyncMaintenanceTasks:1] 2020-06-07 20:49:06,629 NodeSyncMaintenanceTasks.java:172 - In last 10m: validated 1.9MB (3.2kB/s), 0% was inconsistent.