Bug 955593 - vdsm errors/Tracebacks when migrating a VM, migration itself is successful
Summary: vdsm errors/Tracebacks when migrating a VM, migration itself is successful
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 3.2.0
Assignee: Vinzenz Feenstra [evilissimo]
QA Contact: Jiri Belka
URL:
Whiteboard: virt
: 959746 (view as bug list)
Depends On:
Blocks: 966721
TreeView+ depends on / blocked
 
Reported: 2013-04-23 11:32 UTC by Jiri Belka
Modified: 2022-07-09 07:06 UTC (History)
12 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-06-10 20:48:38 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vdsm.log of both hosts (17.29 KB, application/x-gzip)
2013-04-23 11:32 UTC, Jiri Belka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47301 0 None None None 2022-07-09 07:06:56 UTC
Red Hat Product Errata RHSA-2013:0886 0 normal SHIPPED_LIVE Moderate: rhev 3.2 - vdsm security and bug fix update 2013-06-11 00:25:02 UTC
oVirt gerrit 14226 0 None None None 2020-05-25 13:19:25 UTC
oVirt gerrit 14395 0 None ABANDONED vdsm: Catch the destkopLock AttributeError on Migration 2020-05-25 13:19:25 UTC

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


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