quota-class doesn't show default class limits

Bug #1684082 reported by Goutham Pratapa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kingbird
Fix Released
Undecided
Goutham Pratapa

Bug Description

Kingbird does not display the default limits for a random class
eg:

kingbird quota-class show vgf

+-------+-------+
| Quota | Limit |
+-------+-------+
| id | vgf |
+-------+-------+

This is not an expected behavior.

-When a user wants to view the quota-class limits of a class it must display all the default resources along with their default limits supported by that service.

eg:

nova quota-class-show bgh

+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 10 |
| cores | 20 |
| ram | 51200 |
| floating_ips | 10 |
| fixed_ips | -1 |
| metadata_items | 128 |
| injected_files | 5 |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes | 255 |
| key_pairs | 100 |
| security_groups | 10 |
| security_group_rules | 20 |
+-----------------------------+-------+

Expected Behavior:

kingbird has to display the default resources and default limits.

eg:

kingbird quota-class show vfg

+---------------------+-------+
| Quota | Limit |
+---------------------+-------+
| metadata_items | 128 |
| subnet | 10 |
| instances | 10 |
| network | 10 |
| floatingip | 50 |
| class_name | vfg |
| backup_gigabytes | 1000 |
| ram | 51200 |
| floating_ips | 10 |
| snapshots | 10 |
| security_group_rule | 100 |
| gigabytes | 1000 |
| key_pairs | 100 |
| volumes | 10 |
| router | 10 |
| security_group | 10 |
| cores | 20 |
| backups | 10 |
| fixed_ips | -1 |
| port | 50 |
| security_groups | 10 |
+---------------------+-------+

Changed in kingbird:
status: New → Confirmed
Changed in kingbird:
assignee: nobody → Goutham Pratapa (pratapagoutham)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kingbird (master)

Fix proposed to branch: master
Review: https://review.openstack.org/458030

Changed in kingbird:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kingbird (master)

Reviewed: https://review.openstack.org/458030
Committed: https://git.openstack.org/cgit/openstack/kingbird/commit/?id=0010e8d2b6af474444b94659ded328ec057e0a61
Submitter: Jenkins
Branch: master

commit 0010e8d2b6af474444b94659ded328ec057e0a61
Author: Goutham Pratapa <email address hidden>
Date: Wed Apr 19 16:51:33 2017 +0530

    Fix to show default class limits for a quota class

    Currently, Kingbird does not display the default limits
    for a random class which is not an expected behavior.
    This fix displays default resources and default limits
    for any quota-class of kingbird.
    Closes-Bug: #1684082

    Change-Id: I1b8e3f1db79fd92531e05807547fcf7310be78f2

Changed in kingbird:
status: In Progress → Fix Released
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.