← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1278105] [NEW] nova absolute-limit should include all system quota

 

Public bug reported:

Version
=======

IceHouse on rhel

Description
===========

There is not single place which holds entire tenant quota limits and its
usage

nova absolute-limit is not synced with neutron limits/usage as well
doesn't show the info in a table were user can see the usage/amount left
very easily ( it does in Horizon )


In the example below i have used  neutron with  1 network , 1 subnet , 6 ports ( one per VM + DHCP and Router ), 1 floating ip.

It is not easy to know the real usage .


[root@04 ~(keystone_admin_tenant1)]$nova absolute-limits 
+-------------------------+-------+
| Name                    | Value |
+-------------------------+-------+
| maxServerMeta           | 128   |
| maxPersonality          | 5     |
| maxImageMeta            | 128   |
| maxPersonalitySize      | 10240 |
| maxTotalRAMSize         | 51200 |
| maxSecurityGroupRules   | 20    |
| maxTotalKeypairs        | 100   |
| totalRAMUsed            | 8192  |
| maxSecurityGroups       | 10    |
| totalFloatingIpsUsed    | 0     | <<<<
| totalInstancesUsed      | 4     |
| totalSecurityGroupsUsed | 0     |
| maxTotalFloatingIps     | 10    | <<<  neutron report 50 , missing network ,subnet router and port limits & usage 
| maxTotalInstances       | 10    |
| totalCoresUsed          | 4     |
| maxTotalCores           | 20    |
+-------------------------+-------+
[root@04 ~(keystone_admin_tenant1)]$neutron quota-show
+---------------------+-------+
| Field               | Value |
+---------------------+-------+
| floatingip          | 50    | <<<<<<
| network             | 10    |
| port                | 50    |
| router              | 10    |
| security_group      | 10    |
| security_group_rule | 100   |
| subnet              | 10    |
+---------------------+-------+
[root@04 ~(keystone_admin_tenant1)]$neutron floatingip-list 
+--------------------------------------+------------------+---------------------+--------------------------------------+
| id                                   | fixed_ip_address | floating_ip_address | port_id                              |
+--------------------------------------+------------------+---------------------+--------------------------------------+
| 49d4a10b-c520-470f-9362-c17e61d5cb0c | 21.0.0.2         | 10.35.180.22        | 72ac73de-06db-4b10-81f3-8bc16c724d19 |
+--------------------------------------+------------------+---------------------+--------------------------------------+

root@04 ~(keystone_admin_tenant1)]$neutron port-list | grep subnet_id  | wc -l 
6

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1278105

Title:
  nova absolute-limit  should include all system quota

Status in OpenStack Compute (Nova):
  New

Bug description:
  Version
  =======

  IceHouse on rhel

  Description
  ===========

  There is not single place which holds entire tenant quota limits and
  its usage

  nova absolute-limit is not synced with neutron limits/usage as well
  doesn't show the info in a table were user can see the usage/amount
  left very easily ( it does in Horizon )

  
  In the example below i have used  neutron with  1 network , 1 subnet , 6 ports ( one per VM + DHCP and Router ), 1 floating ip.

  It is not easy to know the real usage .


  
  [root@04 ~(keystone_admin_tenant1)]$nova absolute-limits 
  +-------------------------+-------+
  | Name                    | Value |
  +-------------------------+-------+
  | maxServerMeta           | 128   |
  | maxPersonality          | 5     |
  | maxImageMeta            | 128   |
  | maxPersonalitySize      | 10240 |
  | maxTotalRAMSize         | 51200 |
  | maxSecurityGroupRules   | 20    |
  | maxTotalKeypairs        | 100   |
  | totalRAMUsed            | 8192  |
  | maxSecurityGroups       | 10    |
  | totalFloatingIpsUsed    | 0     | <<<<
  | totalInstancesUsed      | 4     |
  | totalSecurityGroupsUsed | 0     |
  | maxTotalFloatingIps     | 10    | <<<  neutron report 50 , missing network ,subnet router and port limits & usage 
  | maxTotalInstances       | 10    |
  | totalCoresUsed          | 4     |
  | maxTotalCores           | 20    |
  +-------------------------+-------+
  [root@04 ~(keystone_admin_tenant1)]$neutron quota-show
  +---------------------+-------+
  | Field               | Value |
  +---------------------+-------+
  | floatingip          | 50    | <<<<<<
  | network             | 10    |
  | port                | 50    |
  | router              | 10    |
  | security_group      | 10    |
  | security_group_rule | 100   |
  | subnet              | 10    |
  +---------------------+-------+
  [root@04 ~(keystone_admin_tenant1)]$neutron floatingip-list 
  +--------------------------------------+------------------+---------------------+--------------------------------------+
  | id                                   | fixed_ip_address | floating_ip_address | port_id                              |
  +--------------------------------------+------------------+---------------------+--------------------------------------+
  | 49d4a10b-c520-470f-9362-c17e61d5cb0c | 21.0.0.2         | 10.35.180.22        | 72ac73de-06db-4b10-81f3-8bc16c724d19 |
  +--------------------------------------+------------------+---------------------+--------------------------------------+

  root@04 ~(keystone_admin_tenant1)]$neutron port-list | grep subnet_id  | wc -l 
  6

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


Follow ups

References