axsh/wakame-vdc — pull request #26 by Metallion (2012-10-03 10:39:40+00:00)
Title: Clean up database after failure

Functionality to clean up a dirty database after a HVA node or some instances on it have failed

Features
=======

vdc-manage instance command
---------------------------------------------

* vdc-manage instance force-state UUID STATE

This command sets to state for an instance in the database without taking any other action.

* vdc-manage instance show [UUID] [--host hn-xxxxxxxx]

Shows all instances in machine readable (and maybe human readable) format.

recovery script
--------------------

A shell script that will force the states of all instances on a host according to the following formula

* scheduling, pending => terminated
* shutting down => terminated
* halting => halted