NoHostAvailable error
When you restart all cassandra pods with the kubectl delete pod command, they should be available with no errors.
Problem
After you restart all cassandra pods, log in to cassandra, and run a query, the
NoHostAvailable
error is displayed.
Resolution
List the cassandra pods and restart one of them, as in the following
example:
kubectl get pod |grep cass
noi-cassandra-0 1/1 Running 0 75m
noi-cassandra-1 1/1 Running 0 2m6s
noi-cassandra-2 1/1 Running 0 76m
kubectl delete pod noi-cassandra-1
#4658 Needs triage/work