quota-class - more cli commands are needed

Bug #1262884 reported by Dafna Ron
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Invalid
Undecided
Unassigned

Bug Description

from what I read on quota-class we should be able to create a class for a tenant (with name) and than set a quota for a specific user if we want something different.

1. there is no quota-class-create command, only update.
2. there is no quota-class-list command in which I can see the
3. after reading the below wiki for QuotaClass, quota-class-show should list the name of the quota-class.

https://wiki.openstack.org/wiki/QuotaClass

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

openstack-cinder-2013.1.2-3.el6ost.noarch

How reproducible:

100%

Steps to Reproduce:
1. create a tenant
2. run: cinder quota-class-show <tenant>
3. run: cinder quota-show
4. run: cinder help |grep class

Actual results:

results for quota-class-show and quota-show seem the same because they are created from default.
grep on commands only show 2 commands which are show and update

Expected results:

1. we should be able to create a quota-class manually
2. quota-class-show should have the quota-class name
3. we should have a list command to show all quota-class in the cloud with tenant and class names/id's

Mike Perez (thingee)
no longer affects: cinder
Revision history for this message
Huang Zhiteng (zhiteng-huang) wrote :

Happened to read the history about 'quota-class' here: https://bugs.launchpad.net/nova/+bug/969537. The code in Cinder was directly copied from Nova (by the time it was nova-volume). So 'quota-class' is really an extension that no one is using (and be able to use) . I understand this bug is filed for the sake of API completion, but do we really want to fix an extension that no one uses (and can use)?

Revision history for this message
Dafna Ron (dron-3) wrote :

I would say that if no one uses or will use it should be removed completely and not fixed :)

Revision history for this message
Liyingjun (liyingjun) wrote :

The quota class is currently used for updating the default quota, so i don't think it's a good idea to remove it completely.
Updating the default quota:
# cinder quota-class-update default <key> <value>

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Cleanup

Closing stale bug. If this is still an issue please reopen.

Changed in python-cinderclient:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.