← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1183870] Re: os-quota-sets should show 'in use' and 'Reserved'

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1183870

Title:
  os-quota-sets should show 'in use' and 'Reserved'

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  As https://blueprints.launchpad.net/nova/+spec/apis-for-nova-manage
  described, nova-api contains all function of nova-manage.

  nova-manage shows `in_use` and `reserved` like below.

  $  nova-manage project quota --project aa41b3c3106045b98320a0c7bb4f819f
  Quota                                Limit      In Use     Reserved
  metadata_items                       128        0          0
  injected_file_content_bytes          10240      0          0
  ram                                  51200      0          0
  floating_ips                         10         1          0
  security_group_rules                 20         0          0
  instances                            10         0          0
  key_pairs                            100        0          0
  injected_files                       5          0          0
  cores                                20         0          0
  fixed_ips                            unlimited  0          0
  injected_file_path_bytes             255        0          0
  security_groups                      10         0          0

  But nova-api only show `limit` like below.
  $ nova quota-show --tenant aa41b3c3106045b98320a0c7bb4f819f
  +-----------------------------+-------+
  | Property                    | Value |
  +-----------------------------+-------+
  | metadata_items              | 128   |
  | injected_file_content_bytes | 10240 |
  | ram                         | 51200 |
  | floating_ips                | 10    |
  | key_pairs                   | 100   |
  | instances                   | 10    |
  | security_group_rules        | 20    |
  | injected_files              | 5     |
  | cores                       | 20    |
  | fixed_ips                   | -1    |
  | injected_file_path_bytes    | 255   |
  | security_groups             | 10    |
  +-----------------------------+-------+

  I think nova-api should show `in_use` and `Reserved` as nova-manage
  do.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1183870/+subscriptions