Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1256739

Summary: Detached volume loses its sparseness after Cinder side migration between different NetApp shares
Product: Red Hat OpenStack Reporter: Sergey Gotliv <sgotliv>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED ERRATA QA Contact: lkuchlan <lkuchlan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: ddomingo, eharney, scohen, yeylon
Target Milestone: z5Keywords: ZStream
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-cinder-2014.1.4-7.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1256740 1256744 (view as bug list) Environment:
Last Closed: 2015-09-10 11:48:52 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:    
Bug Blocks: 1256740, 1256744, 1256745    

Description Sergey Gotliv 2015-08-25 11:14:16 UTC
How reproducible:
100%

Steps to Reproduce:
1. Create a 1GB volume on the NetApp from the cirros image
2. Check that the volume size on the disk is around 20MB
3. Migrate that volume to another NetApp share
4. Check size again

Expected result:

The volume should remain the same size

Actual results:

The size is changed to 1GB which means the volume
lost the sparseness.

Additional info:

We have to backport the following patches to 5.0:

https://review.openstack.org/#/c/182473/
https://review.openstack.org/#/c/183633/

Comment 4 lkuchlan 2015-09-03 07:53:51 UTC
Tested using:
openstack-cinder-2014.1.5-1.el7ost.noarch
python-cinderclient-1.0.9-1.el7ost.noarch
python-cinder-2014.1.5-1.el7ost.noarch

Verification instructions:
1. Create a 1GB volume on the NetApp from the cirros image
2. Check that the volume size on the disk is around 20MB
3. Migrate that volume to another NetApp share
4. Check size again

Comment 7 errata-xmlrpc 2015-09-10 11:48:52 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-1758.html