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

Bug 1111685

Summary: LVM volume extend does not resize iSCSI LUN
Product: Red Hat OpenStack Reporter: Scott Lewis <sclewis>
Component: openstack-cinderAssignee: Jon Bernard <jobernar>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: eharney, gfidente, jobernar, nlevinki, sclewis, scohen, sgotliv, slong, yeylon, yrabl
Target Milestone: rc   
Target Release: 5.0 (RHEL 6)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, when a user extended an existing Block Storage (cinder) volume, the export iSCSI target was not updated to reflect the new size. As a result, even though the underlying volume was extended, the instance could never see the new size since the target remained unchanged. Instead of updating the target, a change has been made to only export a volume at the time of attachment. This means that a volume create followed by an extend operation is now picked up when the instance attaches the volume, and therefore the intended size can now be realized. The extension of a volume that is already attached to an instance is a future goal.
Story Points: ---
Clone Of: 1030055 Environment:
Last Closed: 2014-07-28 18:57:47 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: 1030055, 1111690    
Bug Blocks:    

Comment 2 Yogev Rabl 2014-07-20 10:55:40 UTC
actions to verification: 
1. launch an instance
2. create 10 GB volume
3. attach the volume
4. detach the volume
5. extend the volume to 30 GB
6. check the volume size with lsblk
7. attach the volume to the instance
8. the instance's OS can see 30 GB in the volume

verified in version: 

openstack-cinder-2014.1.1-1.el6ost.noarch
python-cinderclient-1.0.9-1.el6ost.noarch
python-cinder-2014.1.1-1.el6ost.noarch
https://bugzilla.redhat.com/show_bug.cgi?id=1111685#

Comment 4 errata-xmlrpc 2014-07-28 18:57:47 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.

http://rhn.redhat.com/errata/RHEA-2014-0955.html