commit 6657f70ee3e792b39e45a2a96fb5d4b380f0ae91
Author: Adam Gandelman <email address hidden>
Date: Thu Mar 15 18:08:35 2012 -0700
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.
Reviewed: https:/ /review. openstack. org/5437 github. com/openstack/ nova/commit/ 6657f70ee3e792b 39e45a2a96fb5d4 b380f0ae91
Committed: http://
Submitter: Jenkins
Branch: master
commit 6657f70ee3e792b 39e45a2a96fb5d4 b380f0ae91
Author: Adam Gandelman <email address hidden>
Date: Thu Mar 15 18:08:35 2012 -0700
Allow proper instance cleanup if state == SHUTOFF
Removes an obsolete check for instance's power_state instance( ). With it in place, volume detachment
on shutdown_
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: I200d5b2073e5b5 2a9733d8324d016 b14bdc96067