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:


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.