[SPAWNED FROM QUESTION #7293]
I worked on the exercises for Cassandra on Kubernetes exercises at https://github.com/DataStax-Academy/cassandra-workshop-series/tree/master/week5-Cass-in-k8s
I tried do it in the cloud environment provided by datastax as well as on my laptop.
With laptop: I went up to step 4d successfully. When i tried 'nodetool status', I got
'nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)'.
I tried the 'cqlsh cluster1-dc1-service.cass-operator -u cluster1-superuser -p <mypassword>', I got the below:
Traceback (most recent call last): File "/opt/cassandra/bin/cqlsh.py", line 2443, in <module> main(*read_options(sys.argv[1:], os.environ)) File "/opt/cassandra/bin/cqlsh.py", line 2421, in main encoding=options.encoding) File "/opt/cassandra/bin/cqlsh.py", line 485, in __init__ load_balancing_policy=WhiteListRoundRobinPolicy([self.hostname]), File "/opt/cassandra/bin/../lib/cassandra-driver-internal-only-3.11.0-bb96859b.zip/cassandra-driver-3.11.0-bb96859b/cassandra/policies.py", line 417, in __init__ socket.gaierror: [Errno -2] Name or service not known.
Please provide me with the steps to reset the enviornment.