Bug 1130359 - The guest will be paused for a while even fail to dump the guest's memory
Summary: The guest will be paused for a while even fail to dump the guest's memory
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.1
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1130364
TreeView+ depends on / blocked
 
Reported: 2014-08-15 03:01 UTC by zhenfeng wang
Modified: 2014-08-15 08:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1130364 (view as bug list)
Environment:
Last Closed: 2014-08-15 08:30:00 UTC


Attachments (Terms of Use)

Description zhenfeng wang 2014-08-15 03:01:26 UTC
Description of problem:
The guest will be paused for a while even fail to dump the guest's memory

Version-Release number of selected component (if applicable):
libvirt-1.2.7-1.el7.x86_64
qemu-kvm-rhev-2.1.0-1.el7.x86_64
kernel-3.10.0-142.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Prepare a normal running guest
# virsh list
 Id    Name                           State
----------------------------------------------------
 5     rhel7                          running

2.dump the guest's memory to an unexsiting place, keep on doing this
operation for several time

# virsh dump rhel7 /no_exsit/rhel7.dump
error: Failed to core dump domain rhel7 to /no_exsit/rhel7.dump
error: Failed to create file '/no_exsit/rhel7.dump': No such file or directory

# virsh dump rhel7 /no_exsit/rhel7.dump
error: Failed to core dump domain rhel7 to /no_exsit/rhel7.dump
error: Failed to create file '/no_exsit/rhel7.dump': No such file or directory

# virsh dump rhel7 /no_exsit/rhel7.dump
error: Failed to core dump domain rhel7 to /no_exsit/rhel7.dump
error: Failed to create file '/no_exsit/rhel7.dump': No such file or directory
-
-
-

Meanwhile open another terminal run the following command
# for i in {1..1000}; do virsh domstate rhel7; done > abc.txt

3.Check the guest's status in the abc.txt, we could see the guest was in paused
status sometimes
#cat abc.txt
--
running

running

running

paused

paused

paused

running

running

running


Actual results:
The guest will be paused for a while even fail to dump the guest's memory

Expected results:
The guest should keep in running status even we fail to dump the guest's memory

Comment 2 Peter Krempa 2014-08-15 08:30:00 UTC
You have to use the --live (VIR_DUMP_LIVE) flag to not pause the guest while dumping it.


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