Bug 1197615

Summary: [Rhel7.1] After live storage migration on block storage vdsm extends migrated drive using all free space in the vg
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: vdsmAssignee: Nir Soffer <nsoffer>
Status: CLOSED ERRATA QA Contact: Aharon Canan <acanan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.5.0CC: acanan, alitke, amureini, bazulay, bhamrick, bkorren, cmestreg, cww, ebenahar, eblake, ecohen, fromani, gklein, iheim, lpeer, lsurette, michele, mkalinin, nsoffer, ogofen, rlocke, scohen, vanhoof, yeylon, ylavi
Target Milestone: ---Keywords: AutomationBlocker, ZStream
Target Release: 3.5.0-2   
Hardware: Unspecified   
OS: Linux   
Whiteboard: storage
Fixed In Version: vt13.12 Doc Type: Known Issue
Doc Text:
Libvirt 1.2.8 introduced a regression where disk type is converted from "block" to "file" after live storage migration. This breaks the disk extension logic, leading to unwanted extension using all free space in the storage domain. libvirt-daemon-1.2.8-16.el7_1.1 and libvirt-python-1.2.8-6.el7_1.1 fixed this issue by adding a new flag. RHEV-3.5.0-2 is using the new flag when available, fixing this issue. However, the fix in RHEV-3.5.0-2 is effective only when using fixed versions of libvirt-daemon and libvirt-python. Do not perform live storage migration on block storage in RHEL 7.1 unless unless you have the fixed version of libvirt-daemon (libvirt-daemon-1.2.8-16.el7_1.1) and libvirt-python (libvirt-python-1.2.8-6.el7_1.1). These versions should be available as a zero-day async release with RHEL 7.1.
Story Points: ---
Clone Of: 1176673 Environment:
Last Closed: 2015-03-06 20:24:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1176673, 1198128    
Bug Blocks: 1197443    

Comment 1 Allon Mureinik 2015-03-02 08:53:25 UTC
This clone is to tack the async 3.5.0-2 fix.

Comment 3 Elad 2015-03-05 13:05:10 UTC
Live storage migration during IO to the VM disk is finished without extra lvextend calls.

Tested using the following:
rhev 3.5.0-2 - vt13.12
RHEVM - 3.5.0-0.33.el6ev
RHEL 7.1
vdsm-4.16.8.1-7.el7ev.x86_64
libvirt-daemon-1.2.8-16.el7_1.1.x86_64
libvirt-client-1.2.8-16.el7_1.1.x86_64
libvirt-python-1.2.8-7.el7_1.1.x86_64

Tested also with RHEL6.6 and RHEL7.0 hosts.

Comment 5 errata-xmlrpc 2015-03-06 20:24:40 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-0649.html