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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to