Revision history [back]

click to hide/show revision 1
initial version

User-level quota doesn't work

In Openstack newton, I try to set user-level quota to limit the number of instances the demo user can launch. But the user still can launch more than 3 instances. Any suggestions?

$nova quota-update --user demo --instances 3 demo
$nova quota-show --user demo --tenant demo

    +-----------------------------+-------+
    | Quota                       | Limit |
    +-----------------------------+-------+
    | instances                   | 3     |
    | cores                       | 20    |
    | ram                         | 51200 |
    | metadata_items              | 128   |
    | injected_files              | 5     |
    | injected_file_content_bytes | 10240 |
    | injected_file_path_bytes    | 255   |
    | key_pairs                   | 100   |
    | server_groups               | 10    |
    | server_group_members        | 10    |
    +-----------------------------+-------+