commit 27826a84cc603772dd4fb9fc7360b27e0f52b322
Author: Kevin L. Mitchell <email address hidden>
Date: Thu Jul 26 13:49:09 2012 -0500
Allow power_off when instance doesn't exist
Certain errors that can occur while booting an instance may leave no
VM on the Xen hypervisor. This can make that instance undeletable,
since the first step in soft_delete() is to power_off the instance,
and nothing catches the NotFound error thrown if the instance doesn't
exist. The libvirt support handles the case of a non-existant
instance by ignoring NotFound--after all, a non-existant instance is,
by definition, powered off, right?
Reviewed: https:/ /review. openstack. org/10366 github. com/openstack/ nova/commit/ 27826a84cc60377 2dd4fb9fc7360b2 7e0f52b322
Committed: http://
Submitter: Jenkins
Branch: master
commit 27826a84cc60377 2dd4fb9fc7360b2 7e0f52b322
Author: Kevin L. Mitchell <email address hidden>
Date: Thu Jul 26 13:49:09 2012 -0500
Allow power_off when instance doesn't exist
Certain errors that can occur while booting an instance may leave no
VM on the Xen hypervisor. This can make that instance undeletable,
since the first step in soft_delete() is to power_off the instance,
and nothing catches the NotFound error thrown if the instance doesn't
exist. The libvirt support handles the case of a non-existant
instance by ignoring NotFound--after all, a non-existant instance is,
by definition, powered off, right?
Fixes bug 1029132.
Change-Id: I5bffe3b61fe92f c32fb70cab941fa 5ecd250df77