Entropy

Revised on: // by

Summary
Entropy is a framework to write audit and repair scripts for openstack. It will allow writing cluster-check scripts, and define reactions to the errors/issues these bugs raise.

Entropy will allow developers to write health checkers without worrying about deployment, setting up a Jenkins, integrating with an emailer, etc. It also allows definition of "reaction" scripts that wait on issues and take well defined actions (file a ticket, mark a hypervisor bad, etc). This automates reacting to failure at one level, and tackles inundating SEs with emails about (probably) minor issues. A potentially more important use is to aggregate failures, notice trends in failures, and developing a database of known failures to make dealing with new ones easier.

Conceptual Example
We're working on uploading entropy to Pypi. You'll need to run entropy manually till then. git clone https://github.com/stackforge/entropy.git cd entropy python setup.py install (might need sudo).
 * 1) install


 * 1) Pick out entropy/entropy/examples. The example cfgs might need a few minor changes to work for you.

Terminal 1: cd entropy/ python entropy start-engine -n test -c examples/cfg/test.cfg
 * 1) start an engine.

Terminal 2: tail -f examples/logs/entropy.log

Terminal 3: python entropy register-repair -n demo -c examples/repair/react.json -e test python entropy register-audit -n demo -c examples/audit/audit.json -e test

Terminal 4: tail -f examples/logs/demo.log
 * 1) running the above commands will create a demo.log in examples/logs

Contributors

 * Pranesh Pandurangan (Yahoo!)
 * Joshua Harlow (Yahoo!)
 * Mike Wilson
 * Debojyoti Dutta (Cisco)
 * You!!

Join us!
IRC: You will also find us in  on freenode

Launchpad: https://launchpad.net/openstack-entropy

Todo
https://etherpad.openstack.org/p/openstack-entropy

Code

 * https://github.com/stackforge/entropy