← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1893148] [NEW] libvirt.libvirtError: Domain not found: no domain with matching uuid

 

Public bug reported:


seen in upstream ci in grenade multi node job

as part of a livemigation. 
in this canse the error happens on the destination host.

Traceback (most recent call last):

   File "/opt/stack/old/nova/nova/virt/libvirt/host.py", line 605, in
_get_domain

     return conn.lookupByUUIDString(instance.uuid)

   File "/usr/local/lib/python3.6/dist-packages/eventlet/tpool.py", line
190, in doit

     result = proxy_call(self._autowrap, f, *args, **kwargs)

   File "/usr/local/lib/python3.6/dist-packages/eventlet/tpool.py", line
148, in proxy_call

     rv = execute(f, *args, **kwargs)

   File "/usr/local/lib/python3.6/dist-packages/eventlet/tpool.py", line
129, in execute

     six.reraise(c, e, tb)

   File "/usr/local/lib/python3.6/dist-packages/six.py", line 703, in
reraise

     raise value

   File "/usr/local/lib/python3.6/dist-packages/eventlet/tpool.py", line
83, in tworker

     rv = meth(*args, **kwargs)

   File "/usr/local/lib/python3.6/dist-packages/libvirt.py", line 4151,
in lookupByUUIDString

     if ret is None:raise libvirtError('virDomainLookupByUUIDString()
failed', conn=self)

 libvirt.libvirtError: Domain not found: no domain with matching uuid
'386113bf-cca1-438a-9ab5-4714c147bbfc'


 During handling of the above exception, another exception occurred:


 Traceback (most recent call last):

   File "/opt/stack/old/nova/nova/compute/manager.py", line 8005, in
_do_pre_live_migration_from_source

     instance, block_device_info=block_device_info)

   File "/opt/stack/old/nova/nova/virt/libvirt/driver.py", line 9934, in
get_instance_disk_info

     self._get_instance_disk_info(instance, block_device_info))

   File "/opt/stack/old/nova/nova/virt/libvirt/driver.py", line 9915, in
_get_instance_disk_info

     guest = self._host.get_guest(instance)

   File "/opt/stack/old/nova/nova/virt/libvirt/host.py", line 589, in
get_guest

     return libvirt_guest.Guest(self._get_domain(instance))

   File "/opt/stack/old/nova/nova/virt/libvirt/host.py", line 609, in
_get_domain

     raise exception.InstanceNotFound(instance_id=instance.uuid)

 nova.exception.InstanceNotFound: Instance 386113bf-cca1-438a-
9ab5-4714c147bbfc could not be found.


this seam similar to 
https://bugs.launchpad.net/nova/+bug/1662626 but its not really clear why this fails

see https://zuul.opendev.org/t/openstack/build/cfda29fa579544e481c803c4c5de51fb/log/logs/subnode-2/screen-n-cpu.txt#9697-9729
of https://zuul.opendev.org/t/openstack/build/cfda29fa579544e481c803c4c5de51fb/ for full logs

** Affects: nova
     Importance: Medium
         Status: Triaged


** Tags: libvirt live-migration

-- 
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/1893148

Title:
  libvirt.libvirtError: Domain not found: no domain with matching uuid

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  
  seen in upstream ci in grenade multi node job

  as part of a livemigation. 
  in this canse the error happens on the destination host.

  Traceback (most recent call last):

     File "/opt/stack/old/nova/nova/virt/libvirt/host.py", line 605, in
  _get_domain

       return conn.lookupByUUIDString(instance.uuid)

     File "/usr/local/lib/python3.6/dist-packages/eventlet/tpool.py",
  line 190, in doit

       result = proxy_call(self._autowrap, f, *args, **kwargs)

     File "/usr/local/lib/python3.6/dist-packages/eventlet/tpool.py",
  line 148, in proxy_call

       rv = execute(f, *args, **kwargs)

     File "/usr/local/lib/python3.6/dist-packages/eventlet/tpool.py",
  line 129, in execute

       six.reraise(c, e, tb)

     File "/usr/local/lib/python3.6/dist-packages/six.py", line 703, in
  reraise

       raise value

     File "/usr/local/lib/python3.6/dist-packages/eventlet/tpool.py",
  line 83, in tworker

       rv = meth(*args, **kwargs)

     File "/usr/local/lib/python3.6/dist-packages/libvirt.py", line
  4151, in lookupByUUIDString

       if ret is None:raise libvirtError('virDomainLookupByUUIDString()
  failed', conn=self)

   libvirt.libvirtError: Domain not found: no domain with matching uuid
  '386113bf-cca1-438a-9ab5-4714c147bbfc'


   During handling of the above exception, another exception occurred:

  
   Traceback (most recent call last):

     File "/opt/stack/old/nova/nova/compute/manager.py", line 8005, in
  _do_pre_live_migration_from_source

       instance, block_device_info=block_device_info)

     File "/opt/stack/old/nova/nova/virt/libvirt/driver.py", line 9934,
  in get_instance_disk_info

       self._get_instance_disk_info(instance, block_device_info))

     File "/opt/stack/old/nova/nova/virt/libvirt/driver.py", line 9915,
  in _get_instance_disk_info

       guest = self._host.get_guest(instance)

     File "/opt/stack/old/nova/nova/virt/libvirt/host.py", line 589, in
  get_guest

       return libvirt_guest.Guest(self._get_domain(instance))

     File "/opt/stack/old/nova/nova/virt/libvirt/host.py", line 609, in
  _get_domain

       raise exception.InstanceNotFound(instance_id=instance.uuid)

   nova.exception.InstanceNotFound: Instance 386113bf-cca1-438a-
  9ab5-4714c147bbfc could not be found.


  this seam similar to 
  https://bugs.launchpad.net/nova/+bug/1662626 but its not really clear why this fails

  see https://zuul.opendev.org/t/openstack/build/cfda29fa579544e481c803c4c5de51fb/log/logs/subnode-2/screen-n-cpu.txt#9697-9729
  of https://zuul.opendev.org/t/openstack/build/cfda29fa579544e481c803c4c5de51fb/ for full logs

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1893148/+subscriptions