Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nova quota-update and defaults not working

Hi all,

I am trying to set the security-groups and security-group-rules properties to a number other than the defaults of 10 and 20.

I have tried:

  • Changing the /etc/nova/nova.conf (this did nothing even after restarting the service)
  • Updating via nova quota-update --user and/or just tenant
  • nova quota-class-update default (I did this before making the user and tenant so that they would get the new default)

Now when I perform any of the following:

nova quota-show --user U-C12GE42 --tenant b270bb09f88e4f429f057a472197c79e
nova quota-show --user U-C12GE42
nova quota-show --tenant b270bb09f88e4f429f057a472197c79e

I get the response:

+-----------------------------+-------+
| 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             | -1    |
| security_group_rules        | -1    |
+-----------------------------+-------+

Which is exactly what I want. However when I try to add security groups or rules as that user I am still stuck with the old maximum of 10. Regardless of if I perform this via CLI or horizon. If they login to horizon it says they have used 10 out of 10 of their quota.

How can I increase quotas for my users?