yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #21489
[Bug 1286527] Re: Quota usages update should check all usage in tenant not only per user
** Changed in: nova
Status: Incomplete => Invalid
--
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/1286527
Title:
Quota usages update should check all usage in tenant not only per user
Status in OpenStack Compute (Nova):
Invalid
Bug description:
After Grizzly -> Havana upgrade the quota_usages table was
wiped out due to bug #1245746
Quota_usages is then updated after a user creates/delete an instance.
The problem is that quota_usages is updated per user in a tenant.
For tenants that are shared by different users this means that users that
didn't have created instances previous are able to use the full quota for the tenant.
Example:
instance quota for tenant_X = 10
user_a and user_b can create instances in tenant_X
- user_a creates 8 instances;
- user_b didn't have instances;
- grizzly -> havana upgrade (usage_quotas wipe)
- user_b is able to create 10 instances
Problematic for clouds that rely in tenant quotas and not billing directly users.
Even if previous example is associated with bug #1245746
this can happen if a user quota usage for a tenant gets out of sync.
Quota usages should be updated and sync considering all resources in the tenant and
not only the resources of the user that is doing the request.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1286527/+subscriptions
References