Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow proper instance cleanup if state == SHUTOFF
Removes an obsolete check for instance's power_state on shutdown_instance(). With it in place, volume detachment and disassociation never takes place. Compute should instead rely on virt drivers to handle this case and raise accordingly. libvirt's destroy() currently handles powered off instances fine, and properly detaches any existing volume connections. Fixes bug 954692 Change-Id: I200d5b2073e5b52a9733d8324d016b14bdc96067
- Loading branch information