No nova quota-usage CLI to show how many cores are already used

Bug #1160752 reported by David Geng
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
David Geng

Bug Description

This is new feature requirement if we have no CLI to do this in novaclient.
We need a CLI which is similar with Horizon has to show how many quotas are allocated and how many are still free.

I find there is quota_usages table in database but novaclient does not provide the related CLI to show it.

Revision history for this message
David Geng (genggjh) wrote :

I think I can enhance the "nova-mange project quota" command to show the usages.
Have any comments for this?

David Geng (genggjh)
Changed in python-novaclient:
assignee: nobody → David Geng (genggjh)
David Geng (genggjh)
Changed in python-novaclient:
status: New → Opinion
David Geng (genggjh)
Changed in python-novaclient:
status: Opinion → In Progress
Revision history for this message
David Geng (genggjh) wrote :

Since the change is in bin/nova-manage, I move this bug into nova project.

affects: python-novaclient → nova
Revision history for this message
David Geng (genggjh) wrote :

Code change is pending on review:
https://review.openstack.org/#/c/25520/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/25520
Committed: http://github.com/openstack/nova/commit/1fefa254616df68fb13913c9a9272405d82b0efb
Submitter: Jenkins
Branch: master

commit 1fefa254616df68fb13913c9a9272405d82b0efb
Author: gengjh <email address hidden>
Date: Thu Mar 28 10:02:37 2013 +0800

    Show quota 'in_use' and 'reserved' info

    We need show all the quotas related info, including 'in_use' and
    'reserved'--not just the limit--when executing 'nova-manage project
    quota'.

    Fix bug 1160752

    Change-Id: I25e10e58c6af705e2189550ad762e6f39bca342e

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-1
status: Fix Committed → Fix Released
Charlie Zhou (zhouzlin)
tags: added: grizzly-backport-potential
Revision history for this message
Charlie Zhou (zhouzlin) wrote :

we need to this bug fixed in grizzly too.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/34317

Alan Pevec (apevec)
tags: removed: grizzly-backport-potential
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-1 → 2013.2
Revision history for this message
Pavel Vaylov (pvaylov) wrote :

Hi there ! Do we have working solution for Grizzly ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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