Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 955593

Summary: vdsm errors/Tracebacks when migrating a VM, migration itself is successful
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: vdsmAssignee: Vinzenz Feenstra [evilissimo] <vfeenstr>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: abaron, bazulay, dron, hateya, iheim, lpeer, michal.skrivanek, obasan, pstehlik, sgrinber, ykaul, zdover
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: vdsm-4.10.2.19.0 Doc Type: Bug Fix
Doc Text:
Previously, spurious errors were recorded in vdsm.log during virtual machine migrations (specifically, tracebacks were logged during migrations). vdsm-4.10.2.19.0 does not record these spurious errors in vdsm.log.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-10 20:48:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 966721    
Attachments:
Description Flags
vdsm.log of both hosts none

Description Jiri Belka 2013-04-23 11:32:24 UTC
Created attachment 738937 [details]
vdsm.log of both hosts

Description of problem:
During migration of a VM is see tracebacks in vdsm.log on both servers. The migration itself is successful and the VM is OK after migration.

On source:

VM Channels Listener::ERROR::2013-04-23 13:22:57,891::vmChannels::53::vds::(_handle_event) Received EPOLLHUP on fileno 20
...snip...n
Thread-51854::ERROR::2013-04-23 13:22:58,088::libvirtconnection::106::vds::(wrapper) Unknown libvirterror: ecode: 42 edom: 10
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 83, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1873, in jobInfo
    if ret is None: raise libvirtError ('virDomainGetJobInfo() failed', dom=self)
libvirtError: Domain not found: no domain with matching uuid 'dbe0b0d8-6d1f-4039-abb2-c25be65539ed'
Thread-51852::ERROR::2013-04-23 13:22:58,093::libvirtconnection::106::vds::(wrapper) Unknown libvirterror: ecode: 42 edom: 10
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 83, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 381, in XMLDesc
    if ret is None: raise libvirtError ('virDomainGetXMLDesc() failed', dom=self)
libvirtError: Domain not found: no domain with matching uuid 'dbe0b0d8-6d1f-4039-abb2-c25be65539ed'


On destination:

libvirtEventLoop::ERROR::2013-04-23 13:22:31,708::libvirtconnection::70::vds::(__eventCallback) Error running VM callback
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 63, in __eventCallback
    v.onDisconnect()
  File "/usr/share/vdsm/vm.py", line 790, in onDisconnect
    self.guestAgent.desktopLock()
AttributeError: 'NoneType' object has no attribute 'desktopLock'


Version-Release number of selected component (if applicable):
libvirt-0.10.2-18.el6_4.3.x86_64
vdsm-4.10.2-1.10.el6ev.x86_64 /for 3.1/
qemu-kvm-rhev-0.12.1.2-2.355.el6_4.2.x86_64

How reproducible:
100%

Steps to Reproduce:
1. have hosts with above versions
2. do live migration and check vdsm.log
3.
  
Actual results:
errors/tracebacks

Expected results:
?

Additional info:

Comment 1 Jiri Belka 2013-04-23 11:34:16 UTC
The VM had guest agent running - rhevm-guest-agent-common-1.0.7-5.el6ev.noarch.

Comment 2 Michal Skrivanek 2013-04-25 08:25:08 UTC
we should fix the spurious errors in vdsm.log

Comment 3 Michal Skrivanek 2013-05-06 07:10:08 UTC
*** Bug 959746 has been marked as a duplicate of this bug. ***

Comment 4 Michal Skrivanek 2013-05-06 12:21:23 UTC
code in review 14226 merged to master:
http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=commit;h=8a9b4e3a9db30ae80d1207111dcb9a5c47ee9c62

Comment 8 Jiri Belka 2013-05-27 12:01:58 UTC
ok, vdsm-4.10.2.19.0.

libvirtEventLoop::DEBUG::2013-05-27 13:58:29,325::libvirtconnection::128::vds::(wrapper) Unknown libvirterror: ecode: 42 edom: 10 level: 2 message: Domain not found: no domain with matching uuid 'c9a79fca-01a6-4369-b135-b6e8dd5e94de'

Comment 10 errata-xmlrpc 2013-06-10 20:48:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0886.html