Reviewed: https://review.openstack.org/437061 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=434a953190647c398160ca815e7ce3c0796fc5a4 Submitter: Jenkins Branch: master
commit 434a953190647c398160ca815e7ce3c0796fc5a4 Author: Stephen Finucane <[email protected]> Date: Wed Feb 22 13:02:47 2017 -0500 libvirt: Handle InstanceNotFound exception In 'ad1c7ac2', we stopped returning NovaException from certain libvirt operations in favour of more specific exception types. Unfortunately, as part of this changeover we missed an exception type. Correct this oversight. Change-Id: I376ebda6c4626df8be2e827bc735116a90528654 Resolves-bug: #1667040 ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1667040 Title: InstanceNotFound exception during check_instance_exists on instance evacuation Status in OpenStack Compute (nova): Fix Released Status in OpenStack Compute (nova) ocata series: New Bug description: Description =========== During instance evacuation to a new destination node, the InstanceNotFound exception is seen when check_instance_exists is called during the rebuild. check_instance_exists is making sure the instance does _not_ exist, with the intent that an exception will be raised if the instance does already exist on a destination node. The libvirt driver's instance_exists currently catches the InternalError exception, but not the InstanceNotFound exception. I believe this only affects the libvirt instance_exists implementation. Steps to reproduce ================== On a multi node libvirt/kvm system: 1. launch an instance on compute A 2. kill compute A nova-compute process 3. evacuate the instance on compute A Environment =========== 1. Openstack release: Ocata + devstack 2. Which hypervisor did you use? Libvirt + KVM What's the version of that? 2. Which storage type did you use? LVM 3. Which networking type did you use? Neutron with OpenVSwitch To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1667040/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

