github twitter linkedin
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

  1. “contrail-status” is JUST python script located in /usr/bin/contrail-status

  2. It asks supervisord about services

  1. Then it checks URL for every service
  1. 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