Bug 1043952

Summary: Openstack Glance: support for human readable sizes in quota
Product: Red Hat OpenStack Reporter: Tzach Shefi <tshefi>
Component: openstack-glanceAssignee: hguemar
Status: CLOSED CURRENTRELEASE QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: dron, eglynn, fpercoco, nlevinki, sclewis, scohen, tshefi, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged, ZStream
Target Release: 6.0 (Juno)   
Hardware: x86_64   
OS: Linux   
Whiteboard: Storage
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-02 13:36:15 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 Tzach Shefi 2013-12-17 13:48:33 UTC
Description of problem:

When you setting user_total_quota size is in bytes, unit should be in KB\MB\GB 

Version-Release number of selected component (if applicable):
RHEL 6.5 

python-glanceclient-0.12.0-1.el6ost.noarch
openstack-glance-2013.2-5.el6ost.noarch
python-glance-2013.2-5.el6ost.noarch

Comment 3 Ayal Baron 2013-12-18 08:43:40 UTC
This should be an RFE for supporting human readable sizes.
The stored value should remain as is, but user should be able to work with numbers such as 100M 3G etc.

Comment 9 Sean Cohen 2015-04-02 13:36:15 UTC
This was already merged a year ago,
https://review.openstack.org/#/c/79582/
Sean