Bug 1383976

Summary: [RFE] Online resize of IN_USE cinder volume
Product: Red Hat OpenStack Reporter: VIKRANT <vaggarwa>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED DUPLICATE QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0 (Liberty)CC: eharney, srevivo
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-12 12:56:58 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:

Description VIKRANT 2016-10-12 09:34:48 UTC
Description of problem:

Currently we are not able to resize the IN_USE  volume. Can we have this feature in OSP ?

Version-Release number of selected component (if applicable):
RHEL OSP 8
RHEL OSP 9

How reproducible:
Everytime. 

Steps to Reproduce:
1. Create a cinder volume. 
2. Attached the volume to instance.
3. Try to resize the volume ending while following error :  
~~~
# cinder extend 7dfafcf0-fd64-441d-9cf8-35332020b29f 2
ERROR: Invalid volume: Volume 7dfafcf0-fd64-441d-9cf8-35332020b29f status must be available to extend, but current status is: in-use. (HTTP 400) (Request-ID: req-7c874669-da03-4d14-9798-06821e78f478)
~~~

Actual results:
Resize of cinder volume is getting failed. 

Expected results:
It should get successfully completed. 

Additional info:

Resize is getting successfully completed in AVAILABLE state.

Comment 1 Eric Harney 2016-10-12 12:56:58 UTC
This RFE is currently being tracked under bug 1315799.

*** This bug has been marked as a duplicate of bug 1315799 ***