Bug 692681 - [libvirt] libvirt returns 'VIR_ERR_OPERATION_INVALID' after migration along with 'VIR_ERR_NO_DOMAIN'
Summary: [libvirt] libvirt returns 'VIR_ERR_OPERATION_INVALID' after migration along w...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Michal Privoznik
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 618986 682015
TreeView+ depends on / blocked
 
Reported: 2011-03-31 20:21 UTC by Haim
Modified: 2014-01-13 00:49 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-22 08:11:27 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Haim 2011-03-31 20:21:59 UTC
Description of problem

on migration scenario, libvirt sends the following events to vdsm in case vdsm tries to query blockstats on not running vm: 

'VIR_ERR_NO_DOMAIN = 42' and 'VIR_ERR_OPERATION_INVALID = 55'. 

This state confuses VDSM and as a result its prints a traceback to logs whenever migration occurs (successfully of course).

we added some logging in vdsm log during migration scenario and got the following: 

Thread-52::ERROR::2011-03-31 11:01:45,844::libvirtconnection::73::vds::(wrapper) ### Requested operation is not valid: domain is not running
Thread-52::ERROR::2011-03-31 11:01:45,845::libvirtconnection::74::vds::(wrapper) ### 55
Thread-66::ERROR::2011-03-31 11:01:45,849::libvirtconnection::73::vds::(wrapper) ### Domain not found: no domain with matching uuid 'd9cab512-5438-48ff-8f55-d600cc883be7'
Thread-66::ERROR::2011-03-31 11:01:45,850::libvirtconnection::74::vds::(wrapper) ### 42
Thread-66::ERROR::2011-03-31 11:01:45,859::libvirtconnection::73::vds::(wrapper) ### Domain not found: no domain with matching uuid 'd9cab512-5438-48ff-8f55-d600cc883be7'
Thread-66::ERROR::2011-03-31 11:01:45,859::libvirtconnection::74::vds::(wrapper) ### 42
Thread-76::ERROR::2011-03-31 11:01:51,903::libvirtconnection::73::vds::(wrapper) ### Domain not found: no domain with matching uuid 'd9cab512-5438-48ff-8f55-d600cc883be7'
Thread-76::ERROR::2011-03-31 11:01:51,903::libvirtconnection::74::vds::(wrapper) ### 42

attached libvirt logs.

Comment 1 RHEL Program Management 2011-04-04 02:05:22 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 2 Michal Privoznik 2011-04-29 15:04:59 UTC
Haim,

could you please attach those logs?

Comment 3 Dave Allan 2011-05-06 14:29:43 UTC
Hi Haim, it looks like you thought you attached the logs, but they are not attached.  Can you provide them?  Thanks, Dave


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