[Bug 1313935] Re: tenant is required for quota-update but not for quota-show
Thang Pham
thang.g.pham at gmail.com
Tue Apr 29 02:27:36 UTC 2014
The problem is nova quota-update uses value of <tenant-id> to save the
quota in the database. If you use "demo" as the tenant-id, nova will
use project_id="demo" when setting the project_user_quotas table. If
you use a <uuid> as the tenant-id, nova will use project_id=<uuid> when
setting the project_user_quotas table. You can see this by logging into
MySQL (or whatever DB you are using) and querying the
project_user_quotas table (e.g. select project_id,resource,hard_limit
from project_user_quotas).
In order to obtain the correct values, you have to pass the correct
<tenant-id> in nova quota-show. The solution to this bug is to:
translate the tenant name into its <uuid> before saving it into the DB
or querying from the database.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1313935
Title:
tenant is required for quota-update but not for quota-show
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1313935/+subscriptions
More information about the Ubuntu-server-bugs
mailing list