yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25408
[Bug 1400945] [NEW] User quota could be set greater than tenant quota
Public bug reported:
Reproduce:
1.Create new tenant and user.
$ keystone tenant-create --name quota --description "Quota test"
$ keystone user-create --name quotauser --pass quotauser
$ keystone user-role-add --user quotauser --tenant quota --role _member_
2.Set tenant quota
$nova quota-update $tenant_id --instances 20
3.Set user quota to a value greater than tenant quota
$nova quota-update $tenant_id --user $user_id --instances 40
Result:
The user quota update succeeded. Then the user quota is greater than the tenant quota.
$ nova quota-show --tenant $tenant_id
+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 20 |
$ nova quota-show --tenant $tenant_id --user $user_id
+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 40 |
** Affects: nova
Importance: Undecided
Assignee: Hironori Shiina (shiina-hironori)
Status: New
** Changed in: nova
Assignee: (unassigned) => Hironori Shiina (shiina-hironori)
--
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/1400945
Title:
User quota could be set greater than tenant quota
Status in OpenStack Compute (Nova):
New
Bug description:
Reproduce:
1.Create new tenant and user.
$ keystone tenant-create --name quota --description "Quota test"
$ keystone user-create --name quotauser --pass quotauser
$ keystone user-role-add --user quotauser --tenant quota --role _member_
2.Set tenant quota
$nova quota-update $tenant_id --instances 20
3.Set user quota to a value greater than tenant quota
$nova quota-update $tenant_id --user $user_id --instances 40
Result:
The user quota update succeeded. Then the user quota is greater than the tenant quota.
$ nova quota-show --tenant $tenant_id
+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 20 |
$ nova quota-show --tenant $tenant_id --user $user_id
+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 40 |
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1400945/+subscriptions
Follow ups
References