Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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.