← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1667040] [NEW] InstanceNotFound exception during check_instance_exists on instance evacuation

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
     Assignee: Stephen Finucane (stephenfinucane)
         Status: In Progress

-- 
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):
  In Progress

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


Follow ups