I added a bottle server that uses the passon cassandra library, but it exits with this error:
Bottle FATAL Exited too quickly (process log may have details)
the magazine shows this:
File "/usr/local/lib/python2.7/dist-packages/cassandra/cluster.py", line 1765, in _reconnect_internal raise NoHostAvailable("Unable to connect to any servers", errors)
So, I tried to launch it manually, using the initial bottle of the supervisor, and then it will start without problems. Conclusion = The bottle service starts too fast (before the cassandra-controlled service does it): a delay is required!
python linux bottle cassandra supervisor
Zack s
source share