yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04660
[Bug 1205582] Re: user quota not properly work with project quota
** 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/1205582
Title:
user quota not properly work with project quota
Status in OpenStack Compute (Nova):
Fix Released
Status in Oslo - a Library of Common OpenStack Code:
Fix Released
Bug description:
When user quota is not set, it's not restricted by the project quota.
Reproduce:
1. Set project quota:
# nova-manage project quota --project 846576498dc24660943784e25e2b5b1a --key instances --value 3
Quota Limit In Use Reserved
metadata_items 128 0 0
injected_file_content_bytes 10240 0 0
ram 51200 0 0
floating_ips 10 0 0
security_group_rules 20 0 0
instances 3 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
2. get the users for project.
# keystone user-list --tenant-id 846576498dc24660943784e25e2b5b1a
+----------------------------------+--------+---------+-----------------+
| id | name | enabled | email |
+----------------------------------+--------+---------+-----------------+
| 6a120d1a6034481fa7e905d422dceb76 | test | True | test@xxxxxxxx |
+----------------------------------+--------+---------+-----------------+
3. get user quota.
# nova-manage project quota --project 846576498dc24660943784e25e2b5b1a --user 6a120d1a6034481fa7e905d422dceb76
metadata_items 128 0 0
injected_file_content_bytes 10240 0 0
ram 51200 0 0
floating_ips 10 0 0
security_group_rules 20 0 0
instances 2 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
Instances quota for user should be 3, but in fact it's 2, and 2 is the
default quota i have set in the config file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1205582/+subscriptions