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.
Description of problem:
Virsh dump --verbose option can display the progress of dump, but if do memory-only dump, the progress of dump will only show up when dump finish(100%).
Version-Release number of selected component (if applicable):
libvirt-0.10.2-18.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1.
# virsh dump vm1 /tmp/vm1.core --verbose
Dump: [ 40 %]
Dump: [ 67 %]
Dump: [ 78 %]
Dump: [ 91 %]
Dump: [100 %]
Domain vm1 dumped to /tmp/vm1.core
#virsh dump vm1 /tmp/vm1.core --memory-only --verbose
Dump: [100 %]
Domain vm1 dumped to /tmp/vm1.core
2.
3.
Actual results:
Dump progress only show up when memory-only dump finish.
Expected results:
Dump progress will display in time during memory-only dump.
Additional info:
After a few review rounds, the most recent set of upstream patches:
https://www.redhat.com/archives/libvir-list/2018-February/msg00171.html
to support memory-only dump have been pushed.
commit 150930e30986594c75d2d078daa58844f570c973
Author: John Ferlan <jferlan>
Date: Mon Nov 20 15:40:30 2017 -0500
qemu: Allow showing the dump progress for memory only dump
...
If the QEMU version running is new enough (based on the DUMP_COMPLETED
event), then we can add a 'detach' boolean to the dump-guest-memory
command in order to tell QEMU to run in a thread. This ensures that we
don't lock out other commands while the potentially long running dump
memory is completed.
This allows the usage of a qemuDumpWaitForCompletion which will wait
for the event while the qemuDomainGetJobInfoDumpStats can be used via
qemuDomainGetJobInfo in order to query QEMU to determine how far along
the job is.
Now that we have a true async job, we'll only set the dump_memory_only
flag only when @detach=false; otherwise, we note that the job is a
for stats dump this allows the opposite end for job info to determine
what to copy.
$ git describe 150930e30986594c75d2d078daa58844f570c973
v4.0.0-173-g150930e30
$
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2018:3113