diff options
| author | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-07-26 13:49:09 -0500 |
|---|---|---|
| committer | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-07-26 13:49:42 -0500 |
| commit | 27826a84cc603772dd4fb9fc7360b27e0f52b322 (patch) | |
| tree | 9c69633a8edc5645ea73c9afb7ee8d9c9ddab480 /nova/openstack | |
| parent | 39a40142254d4dbad8dfe1509d92e7e9fdbb44fb (diff) | |
| download | nova-27826a84cc603772dd4fb9fc7360b27e0f52b322.tar.gz nova-27826a84cc603772dd4fb9fc7360b27e0f52b322.tar.xz nova-27826a84cc603772dd4fb9fc7360b27e0f52b322.zip | |
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: I5bffe3b61fe92fc32fb70cab941fa5ecd250df77
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
