Bug 738583

Summary: VM Suspend (migration to file) seems to cause Domain not found.
Product: [Retired] oVirt Reporter: Jaroslav Henner <jhenner>
Component: vdsmAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, bazulay, iheim, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-14 06:55:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Logs none

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.