Bug 2214498 - [RFE] Add support for minimum/maximum volume size on vol_type
Summary: [RFE] Add support for minimum/maximum volume size on vol_type
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 16.2 (Train)
Hardware: x86_64
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Cinder Bugs List
QA Contact: Evelina Shames
Andy Stillman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-13 07:18 UTC by Apoorv Verma
Modified: 2023-06-13 07:25 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Apoorv Verma 2023-06-13 07:18:16 UTC
Description of problem:
Inclusion of upstream commit link https://review.opendev.org/c/openstack/cinder/+/713710 along with some additional patches.

How reproducible:
Every time

Actual results:
Not able to set minimum/maximum volume size in any specific volume_type.

Expected results:
Ability to set minimum/maximum volume size in any specific volume_type.

Additional info:
With present commit, the minimum and/or maximum volume size 
for any specific `volume_type` can only be added/modified if there are no volumes present in it.
As soon as the volume will be created (irrespective of the size) within any `volume_type`, the property 'provisioning:min_vol_size'/'provisioning:max_vol_size' becomes immutable.

There is a requirement of this property to be editable even when volumes are present under `volume_type`.


Note You need to log in before you can comment on or make changes to this bug.