Bug 688850

Summary: virsh save failed after performing some domain operations
Product: Red Hat Enterprise Linux 6 Reporter: dyuan
Component: libvirtAssignee: Osier Yang <jyang>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1CC: dallan, eblake, gren, jiachen, jyang, llim, yoyzhang
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-21 03:20:06 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
libvirtd logs when the failure occurred none

Description dyuan 2011-03-18 08:45:08 UTC
Created attachment 486181 [details]
libvirtd logs when the failure occurred

libvirtd logs when the failure occurred.

Description of problem:
After doing the a sequence of operations on a guest, for example, domain start,
shutdown, start, destroy, suspend, resume, the guest always failed to save to a
file. 

libvir: QEMU error : cannot send monitor command '{"execute":"stop"}':
Connection reset by peer
API error message: API Error:'cannot send monitor command
\'{"execute":"stop"}\': Connection reset by peer', error code is 38



Version-Release number of selected component (if applicable):

libvirt-0.8.7-13.el6.x86_64
libvirt-python-0.8.7-13.el6.x86_64
qemu-kvm-0.12.1.2-2.150.el6.x86_64
kernel-2.6.32-120.el6.x86_64

How reproducible:

always

Steps to Reproduce:
1. do a serials of operation to guest
2. virsh save <guest>
3.

Actual results:

report errors as above

Expected results:

save operation succeeds

Additional info:
I attached libvirtd log to the bz.

Comment 2 RHEL Program Management 2011-04-04 02:10:27 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 3 Osier Yang 2011-04-05 12:46:53 UTC
libvir: QEMU error : cannot send monitor command '{"execute":"stop"}':
Connection reset by peer
API error message: API Error:'cannot send monitor command
\'{"execute":"stop"}\': Connection reset by peer', error code is 38

This is not the exact error libvirt throws, what libvirt throws is: "cannot send monitor command '{"execute":"stop"}': Connection reset by peer", other parts are by QE's testing suite.

And this problem could only be reproduced by QE's test suite on specified testing box.

Comment 4 Dave Allan 2011-06-08 18:32:17 UTC
Connection reset by peer is often an indication that qemu has crashed.  Without further information, we will have to close this BZ as INSUFFICIENT_DATA.  Is the problem still reproducible?

Comment 5 Dave Allan 2011-06-21 03:20:06 UTC
(In reply to comment #4)
> Connection reset by peer is often an indication that qemu has crashed.  Without
> further information, we will have to close this BZ as INSUFFICIENT_DATA.  Is
> the problem still reproducible?

Closing as INSUFFICIENT DATA; please reopen if the behavior reappears.