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 1300159 - virsh cmd will hang when remove blockcopy file
Summary: virsh cmd will hang when remove blockcopy file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.8
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Erik Skultety
QA Contact: Han Han
URL:
Whiteboard:
Depends On: 1139567
Blocks: 1359965
TreeView+ depends on / blocked
 
Reported: 2016-01-20 05:07 UTC by Han Han
Modified: 2017-03-21 10:38 UTC (History)
10 users (show)

Fixed In Version: libvirt-0.10.2-62.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1139567
Environment:
Last Closed: 2017-03-21 10:38:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0682 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2017-03-21 12:37:01 UTC

Comment 4 Han Han 2016-11-22 02:53:12 UTC
Verify it on libvirt-0.10.2-62.el6.x86_64:
1. Prepare a running transient VM
# virsh list --transient 
 Id    Name                           State
----------------------------------------------------
 7     copy-rm                        running

2. Do blockcopy
# virsh blockcopy copy-rm hda /var/lib/libvirt/images/copy-rm-bak1 --wait --verbose
Block Copy: [100 %]
Now in mirroring phase

3. Remove the dest file after blockcopy
# rm /var/lib/libvirt/images/copy-rm-bak1

4. Do blockjob --pivot
# virsh blockjob copy-rm hda --pivot
error: Failed to open file '/var/lib/libvirt/images/copy-rm-bak1': No such file or directory

Libvirtd doesn't hang. Bug fixed.

Comment 6 errata-xmlrpc 2017-03-21 10:38:34 UTC
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://rhn.redhat.com/errata/RHBA-2017-0682.html


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