InstanceNotFound exception during check_instance_exists on instance evacuation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Compute (nova) |
Medium
|
Stephen Finucane | ||
| Ocata |
Medium
|
Matt Riedemann |
Bug Description
Description
===========
During instance evacuation to a new destination node, the InstanceNotFound exception is seen when check_instance_
check_instance_
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
Changed in nova: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
status: | New → In Progress |
tags: | added: libvirt ocata-backport-potential |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 434a953190647c3
Author: Stephen Finucane <email address hidden>
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: I376ebda6c4626d
Resolves-bug: #1667040
Changed in nova: | |
status: | In Progress → Fix Released |
Fix proposed to branch: stable/ocata
Review: https:/
Changed in nova: | |
importance: | Undecided → Medium |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit a71833131bf513a
Author: Stephen Finucane <email address hidden>
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: I376ebda6c4626d
Resolves-bug: #1667040
(cherry picked from commit 434a953190647c3
Fix proposed to branch: master /review. openstack. org/437061
Review: https:/