Roman Sokolkov
Cassandra state detected DOWN
Issue
While upgrading Contrail from 2.0 to 2.20 i’ve stuck with error.
Following the trail with contrail-status
-
“contrail-status” is JUST python script located in /usr/bin/contrail-status
-
It asks supervisord about services
- Then it checks URL for every service
- Parses ProcessStatus
Why contrail-database-nodemgr gives “Non-Functional”???
I’ve found that “Cassandra state detected DOWN” is “FAIL_STATUS_SERVER_PORT” error type. Contrail getting this error HERE in code. So command below fails for some reason.
Cassandra listens ONLY ON management IP (not 127.0.0.1).
FIX
We need to add following into “/etc/contrail/contrail-database-nodemgr.conf”
Restart nodemgr