Bug 1195848

Summary: Rebuild libvirt python bindings for COPY_DEV flag
Product: Red Hat Enterprise Linux 7 Reporter: Eric Blake <eblake>
Component: libvirt-pythonAssignee: Jiri Denemark <jdenemar>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.1CC: alitke, amureini, bazulay, bhamrick, cmestreg, cww, dyuan, eblake, ecohen, fromani, gklein, honzhang, iheim, jdenemar, jherrman, kgoldbla, lpeer, lsurette, michele, mjenner, mkalinin, mzhan, nsoffer, ogofen, pkrempa, rbalakri, rlocke, scohen, shyu, vanhoof, virt-bugs, yeylon, ylavi
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-python-1.2.13-1.el7 Doc Type: Bug Fix
Doc Text:
The block copy operation has previously been adjusted to change the disk type of the copied disk to "file". However, using block copy for moving block-based storage thus converted the new target to an incorrect type. Consequently, if a virtual disk was backed by a block device rather than a file, libvirt did not report the allocation information necessary to track a thin-provisioned volume. This update introduces a libvirt flag that makes it possible to specify that the target will be treated as a block device. As a result, users can now perform a block copy to a block target correctly.
Story Points: ---
Clone Of: 1195461
: 1196067 (view as bug list) Environment:
Last Closed: 2015-11-19 05:33:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1195461    
Bug Blocks: 1035038, 1082754, 1133060, 1196067, 1198128    

Comment 2 Jiri Denemark 2015-02-25 07:39:44 UTC
Testing instructions:

python -c "import libvirt; print libvirt.VIR_DOMAIN_BLOCK_REBASE_COPY_DEV"

Expected result: 32

Comment 5 hongming 2015-05-15 07:34:57 UTC
Verfy it as follows. The result is expected. Waiting for the dependent libvirt bug1195461 to be verified

[root@localhost ~]# rpm -q libvirt 
libvirt-1.2.15-2.el7.x86_64
[root@localhost ~]# python -c "import libvirt; print libvirt.VIR_DOMAIN_BLOCK_REBASE_COPY_DEV"
32

Comment 7 errata-xmlrpc 2015-11-19 05:33:53 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-2015-2203.html