How to check the quota usage of a tenant in openstack grizzly

Asked by Wei Ping Huang

In folsom, I can use the command below to check the quota usage information of a tenant, but in grizzly, I found the command not work.
#nova-manage project quota $Tenant_ID

Does the command to check quota usage have been changed? If so, what's the new command? If not, is this a openstack grizzly bug?

In Folsom:
# nova-manage project quota 2d571f433da343b8aa832efae1783180
Quota Limit In Use Reserved
metadata_items 128 0 0
injected_file_content_bytes 10240 0 0
volumes 10 0 0
gigabytes 1000 0 0
ram 51200 20480 -16384
floating_ips 10 0 0
security_group_rules 20 0 0
instances 10 6 -4
key_pairs 100 0 0
injected_files 5 0 0
cores 20 10 -8
fixed_ips 10 6 0
injected_file_path_bytes 255 0 0
security_groups 50 0 0

But in Grizzly:
# nova-manage project quota 1d833ef4105443968d5c97fc87efadd6
None is not a valid quota key. Valid options are: metadata_items, injected_file_content_bytes, ram, floating_ips, security_group_rules, instances, key_pairs, injected_files, cores, fixed_ips, injected_file_path_bytes, security_groups.

# nova-manage project quota -h
usage: nova-manage project quota [-h] [--project <Project name>] [--key <key>]
                                 [--value <value>]
                                 [action_args [action_args ...]]

positional arguments:
  action_args

optional arguments:
  -h, --help show this help message and exit
  --project <Project name>
                        Project name
  --key <key> Key
  --value <value> Value
# nova-manage project quota --project admin
None is not a valid quota key. Valid options are: metadata_items, injected_file_content_bytes, ram, floating_ips, security_group_rules, instances, key_pairs, injected_files, cores, fixed_ips, injected_file_path_bytes, security_groups.

Question information

Language:
English Edit question
Status:
Open
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wei Ping Huang (huangwp1988) said :
#1

Seems this issue is fixed in havana, but the fix is not delivered into grizzly.

Can you help with this problem?

Provide an answer of your own, or ask Wei Ping Huang for more information if necessary.

To post a message you must log in.