Description of problem: I updated the quota for services tenant form 10 to 12 volumes and ran quota-show with tenant name - the change is not updated. when I ran quota-show with UUID the change is listed. Version-Release number of selected component (if applicable): openstack-cinder-2013.1.2-3.el6ost.noarch How reproducible: 100% Steps to Reproduce: 1. update services tenant quota from 10 volumes to 12 2. run cinder quota-show services 3. run cinder quota-show <UUID of tenant> Actual results: we can see the update using tenant uuid but cannot see the update when using the tenant name Expected results: we should see the update with both uuid and name Additional info: +----------------------------------+----------+---------+ | id | name | enabled | +----------------------------------+----------+---------+ | f372ca53f0484f589413148b6c9ad39c | admin | True | | 1562db18fbb3450e93614f72664928ce | services | True | +----------------------------------+----------+---------+ [root@opens-vdsb ~(keystone_admin)]# cinder quota-show 1562db18fbb3450e93614f72664928ce +-----------+-------+ | Property | Value | +-----------+-------+ | gigabytes | 1000 | | snapshots | 10 | | volumes | 12 | +-----------+-------+ [root@opens-vdsb ~(keystone_admin)]# cinder quota-show services +-----------+-------+ | Property | Value | +-----------+-------+ | gigabytes | 1000 | | snapshots | 10 | | volumes | 10 | +-----------+-------+
What command did you run to update the services tenant quota? Could you also run $ mysql cinder -e "select * from quotas" ? One thing that may cause confusion here is that it appears to be possible to update quotas for tenants/projects that don't exist...
Looking a little further, this happens because Cinder expects you to provide project IDs and not names, but it does no verification that the IDs are valid, so you can input anything. The quota entry for "admin" will never be used. Definitely problematic from a usability point of view.
This is actually a Nova bug too: $ nova quota-update asdfasdf --cores 999
This bug requires adding the knowledge of tenants to Cinder. I started working on a fix for it already. I'll try to get it done asap.
*** Bug 1095730 has been marked as a duplicate of this bug. ***