Bug 738583 - VM Suspend (migration to file) seems to cause Domain not found.
Summary: VM Suspend (migration to file) seems to cause Domain not found.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Michal Skrivanek
QA Contact:
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-15 09:08 UTC by Jaroslav Henner
Modified: 2013-04-14 06:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-14 06:55:35 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)
Logs (1.54 MB, application/x-tar)
2011-09-15 09:08 UTC, Jaroslav Henner
no flags Details

Description Jaroslav Henner 2011-09-15 09:08:53 UTC
Created attachment 523332 [details]
Logs

Description of problem:
The migration tests on jenkins first migrates the guests to file (offline migration) and then wakes them up couple of times. Then comes the online migration tests -- live migrations between hosts. 

The live migrations sometimes fails due to the machine doesn't succeed to get the UP status.

Sometimes it also fails to migrate for some reason and wakes up on the same host as it was before.

Digging trough the logs, I've seen many of messages like:
Thread-156::ERROR::2011-09-15 10:16:43,214::utils::369::vm.Vm::(collect) vmId=`c920a85b-4c72-451d-8ba5-5b44a1b57e73`::Stats function failed: <AdvancedStatsFunction _highWrite at 0x12821b8>
Traceback (most recent call last):
  File "/usr/share/vdsm/utils.py", line 366, in collect
    statsFunction()
  File "/usr/share/vdsm/utils.py", line 250, in __call__
    retValue = self._function(*args, **kwargs)
  File "/usr/share/vdsm/libvirtvm.py", line 65, in _highWrite
    self._vm._dom.blockInfo(vmDrive.path, 0)
  File "/usr/share/vdsm/libvirtvm.py", line 327, in f
    ret = attr(*args, **kwargs)
  File "/usr/share/vdsm/libvirtconnection.py", line 63, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1286, in blockInfo
    if ret is None: raise libvirtError ('virDomainGetBlockInfo() failed', dom=self)
libvirtError: Domain not found: no domain with matching uuid 'c920a85b-4c72-451d-8ba5-5b44a1b57e73'

Version-Release number of selected component (if applicable):
libvirt-0.9.4-7.el6.x86_64
vdsm-4.9-96.el6.x86_64
qemu-kvm-0.12.1.2-2.184.el6.x86_64


How reproducible:
30%

Steps to Reproduce:
1. Have VMs on iSCSI.
2. Migrate them to disk several times.

  
Actual results:
libvirtError: Domain not found: no domain with matching uuid 'c920a85b-4c72-451d-8ba5-5b44a1b57e73'

Expected results:
No problem

Additional info:

Comment 2 Dan Kenigsberg 2011-09-15 10:05:26 UTC
That's ugly, but that's only log noise.

Comment 3 Itamar Heim 2013-04-14 06:55:35 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.