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 1028927 - guest agent commands will hang if the guest agent crashes while executing a command
Summary: guest agent commands will hang if the guest agent crashes while executing a c...
Keywords:
Status: CLOSED DUPLICATE of bug 890648
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.0
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: rc
: ---
Assignee: Michal Privoznik
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 890648 1080376
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-11 09:14 UTC by zhenfeng wang
Modified: 2014-05-29 13:55 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 890648
Environment:
Last Closed: 2014-05-29 13:55:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 zhenfeng wang 2013-11-11 10:02:41 UTC
The virsh command will hang there while we do S3 with guest as the following order
dompmsuspend=>dompmwakeup=>save=>restore=>dompmsuspend(the virsh command will hang here)

pkg info
kernel-3.10.0-47.el7.x86_64
qemu-kvm-rhev-1.5.3-14.el7.x86_64
libvirt-1.1.1-12.el7.x86_6

steps
1.# getenforce
Enforcing

2.Prepare a guest with qemu-ga ENV
# virsh list --all
 Id    Name                           State
----------------------------------------------------
 7     rhel7                       running

3.Start the qemu-ga service in guest
# systemctl start qemu-guest-agent.service

4.Do s3 with the guest,then wakeup it,however,the guest can't back to the previous status before pmsuspend
#virsh dompmsuspend rhel7 --target mem

#virsh dompmwakeup rhel7

5.Save and restore the guest
# virsh save rhel7 /tmp/rhel7.save

#virsh restore /tmp/rhel7.save

6.Do s3 with the guest again, the virsh command will hang here
#virsh dompmsuspend rhel7 --target mem
^C
# virsh save rhel7 /tmp/rhel7.save 
error: Failed to save domain rhel7 to /tmp/rhel7.save
error: Timed out during operation: cannot acquire state change lock

Comment 2 hyao@redhat.com 2013-12-31 07:06:07 UTC
Reproduced the bug  on the following packages according to the steps in comment1:
# rpm -qa libvirt qemu-kvm-rhev
libvirt-1.1.1-16.el7.x86_64
qemu-kvm-rhev-1.5.3-30.el7.x86_64


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