yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06930
[Bug 1118066] Re: Request of quota sets for nonexistent tenant returns 200 with defaults
Switched this to affecting nova itself. I can confirm that it is
possible to insert quotas into the database for non-existent projects.
Steps to replicate:
$ keystone tenant-list | grep foobar # this is empty, indicating no 'foobar' tenant
$ nova quota-update foobar --cores 200
$ nova quota-show --tenant foobar
# Prints out the quotas
When I reported the issue it was affecting our Essex distribution. At
that point the novaclient had programmatic support for quotas but no
command line. Now, on Havana the command line has the same behavior as
the API.
** Project changed: python-novaclient => nova
** Summary changed:
- Request of quota sets for nonexistent tenant returns 200 with defaults
+ Possible to get and update quotas for nonexistant tenant
** Changed in: nova
Status: Incomplete => Confirmed
--
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/1118066
Title:
Possible to get and update quotas for nonexistant tenant
Status in OpenStack Compute (Nova):
Confirmed
Bug description:
GET /v2/:tenant/os-quota-sets/:this_tenant_does_not_exist
returns 200 with the default quotas.
Moreover
POST /v2/:tenant/os-quota-sets/:this_tenant_does_not_exist
with updated quotas succeeds and that metadata is saved!
I'm not sure if this is a bug or not. I cannot find any documentation
on this interface.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1118066/+subscriptions