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 1299749 - improve messages when cancel blockcopy
Summary: improve messages when cancel blockcopy
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.8
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Erik Skultety
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-19 08:18 UTC by Han Han
Modified: 2016-10-06 11:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-06 11:21:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The log (178.68 KB, text/plain)
2016-01-19 08:18 UTC, Han Han
no flags Details

Description Han Han 2016-01-19 08:18:54 UTC
Created attachment 1116084 [details]
The log

Description of problem:
When canceling blockcopy, the error message is not correct. 

Version-Release number of selected component (if applicable):
libvirt-0.10.2-55.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.483.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Preparing a healthy a running transient guest, do blockcopy then cancel it via Ctrl+C or blockjob --abort 
# virsh list --state-running 
 Id    Name                           State
----------------------------------------------------
 28    haha                           running

Do blockcopy then Ctrl+C
# virsh blockcopy haha vda /var/lib/libvirt/images/ha --wait --verbose
Block Copy: [ 63 %]error: failed to query job for disk vda

Do blockcopy then blockjob --abort 
# virsh blockcopy haha vda /var/lib/libvirt/images/he --wait --verbose &;sleep 1; virsh blockjob haha vda --abort
[1] 1746
Block Copy: [ 62 %]
error: failed to query job for disk vda
[1]  + 1746 exit 1     virsh blockcopy haha vda /var/lib/libvirt/images/he --wait --verbose

Actual results:
As step1

Expected results:
error message should be: Copy aborted

Additional info:
On libvirt-1.2.17-13.el7.x86_64 it's ok.


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