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.
DescriptionHumble Chirammal
2010-10-02 12:23:05 UTC
Description of problem:
virsh reports an improper message when virt-domjobabort is run.
If we run #virt-domjobabort to a guest OS during "virsh dump" and
virsh aborts with the following message.
# virsh dump <domain-name> <core-file-path>
error: Failed to core dump domain <domain-name> to <corefilepath>
error: operation failed: Migration was cancelled by client
As you see, virsh said that migration was cancelled although there is no
operation for the guest OS migration. The said error message is reported
as well in the following case.
- save
- managedsave
- migrate
In the case of "virsh migrate", the said message is proper.
Red Hat Enterprise Linux Version Number: 6
Architecture: x86_64
Kernel Version: kernel-2.6.32-71.el6.x86_64
Related Package Version: libvirt-client-0.8.1-27.el6.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Start up a guest OS.
# virsh start <domain-name>
2. Dump a core file of the guest OS.
# virsh dump <domain-name> <core-file-path> &
3. Abort the core dump just after the above step2.
# virsh domjobabort <domain-name>
<The said error message should be reported.>
--snip--
TERMINAL pts/1:
[root@dhcp210-84 qemu]# virsh dump rhel6 corefile
TERMINAL pts/2:
[root@dhcp210-84 ~]# virsh domjobinfo rhel6 Job type: Unbounded Time elapsed: 14645 ms Data processed: 188.000 KB Data remaining: 1.016 GB Data total: 1.016 GB Memory processed: 188.000 KB Memory remaining: 1.016 GB Memory total: 1.016 GB
[root@dhcp210-84 ~]# virsh domjobabort rhel6
TERMINAL pts/1:
[root@dhcp210-84 qemu]# virsh dump rhel6 corefile error: Failed to core dump domain rhel6 to corefile error: operation failed: Migration was cancelled by client [root@dhcp210-84 qemu]#
Actual Results: virsh reports an improper message when virt-domjobabort is run.
Expected Results: virsh reports a proper message when virt-domjobabort is run.
--Humble
Verified.
Test environment:
libvirt-0.8.7-1.el6
qemu-kvm-0.12.1.2-2.128.el6
kernel-2.6.32-94.el6
Steps:
1.Start up a domain
# virsh start rhel6
2.Dump a core file of the domain
# virsh dump rhel6 /tmp/aa.dump
3.About the core dump just after the above step2.
#virsh domjobabort rhel6
error: Failed to core dump domain rhel6 to /tmp/aa.dump
error: operation failed: domain core dump job: canceled by client
4.Repeat step1 to step3 to check
-save
# virsh save rhel6 /tmp/rhel6.save
error: Failed to save domain rhel6 to /tmp/rhel6.save
error: operation failed: domain save job: canceled by client
-managedsave
virsh managedsave rhel6
error: Failed to save domain rhel6 state
error: operation failed: domain save job: canceled by client
Verified.
Test environment:
libvirt-0.8.7-3.el6
qemu-kvm-0.12.1.2-2.129.el6
kernel-2.6.32-94.el6
Steps:
1.Start up a domain
# virsh start rhel6
2.Dump a core file of the domain
# virsh dump rhel6 /tmp/aa.dump
3.About the core dump just after the above step2.
#virsh domjobabort rhel6
error: Failed to core dump domain rhel6 to /tmp/aa.dump
error: operation failed: domain core dump job: canceled by client
4.Repeat step1 to step3 to check
-save
# virsh save rhel6 /tmp/rhel6.save
error: Failed to save domain rhel6 to /tmp/rhel6.save
error: operation failed: domain save job: canceled by client
-managedsave
virsh managedsave rhel6
error: Failed to save domain rhel6 state
error: operation failed: domain save job: canceled by client
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
http://rhn.redhat.com/errata/RHBA-2011-0596.html