CrashUp/Recover From Glance Operations

Aim: Aim is to implement recovery actions for glance operations.

Description: Following glance operations involve physical resources such as image file and have chances to crash while performing on them.

So for recovering glance resources from performing crashed glance operations, as mentioned in the above table, apart from moving the crashed task_state to appropriate end state, sometimes the associated file is also deleted. Also for following nova operations, an image gets placed in glance image repository as well as glance database and thus impacts glance. However they are handled in nova uncontrolled operations.
 * Backup
 * Restore
 * Snapshot
 * Live_image_snapshot•
 * Shelve
 * Unshelve