<div dir="ltr">thanks Saverio. I checked, and project_user_quotas is an empty set.<div><br></div><div>I cannot find the project_id in the table nova.quotas too. I'm not sure where the quotas are stored than, is there anywhere else I should look for quotas stored in the DB for a tenant?</div><div><br></div><div>I'm not sure if the error message is a red herring and actually the problem is elsewhere. the problem is I cannot reproduce it from the CLI when I create a volume with 'cinder create ...' </div><div><br></div><div>thx, will</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 8, 2016 at 6:43 PM, Saverio Proto <span dir="ltr"><<a href="mailto:zioproto@gmail.com" target="_blank">zioproto@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
once I had a very weird problem with quotas. Usually the quota is per<br>
tenant/project. But somehow you can limit the quota per specific user.<br>
<br>
Please can you check in your nova database if this table is empty:<br>
<br>
project_user_quotas<br>
<br>
mysql> describe project_user_quotas;<br>
+------------+--------------+-<wbr>-----+-----+---------+--------<wbr>--------+<br>
| Field      | Type         | Null | Key | Default | Extra          |<br>
+------------+--------------+-<wbr>-----+-----+---------+--------<wbr>--------+<br>
| id         | int(11)      | NO   | PRI | NULL    | auto_increment |<br>
| created_at | datetime     | YES  |     | NULL    |                |<br>
| updated_at | datetime     | YES  |     | NULL    |                |<br>
| deleted_at | datetime     | YES  |     | NULL    |                |<br>
| deleted    | int(11)      | YES  |     | NULL    |                |<br>
| user_id    | varchar(255) | NO   | MUL | NULL    |                |<br>
| project_id | varchar(255) | NO   | MUL | NULL    |                |<br>
| resource   | varchar(255) | NO   |     | NULL    |                |<br>
| hard_limit | int(11)      | YES  |     | NULL    |                |<br>
+------------+--------------+-<wbr>-----+-----+---------+--------<wbr>--------+<br>
<br>
This introduces quota specific for a single user regardless of the<br>
quota of the project, as far as I understand.<br>
<br>
In our case we had no idea of this table. One of our operator managed<br>
to make a CLI command that entered a specific quota limit for a<br>
specific user.<br>
<br>
Maybe you are also in this corner case ?<br>
<span class="HOEnZb"><font color="#888888"><br>
Saverio<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
2016-09-08 12:11 GMT+02:00 William Josefsson <<a href="mailto:william.josefson@gmail.com">william.josefson@gmail.com</a>>:<br>
> Hi Saverio,<br>
><br>
> I've been debugging cinder api.log and there are no errors. I believe it is<br>
> a horizon (?) issue. All my components are Liberty.<br>
><br>
> $ openstack quota show <project id> shows volumes = 8.<br>
><br>
> If the user and project are created through the dashboard I do not seem the<br>
> problem. It seems like some database value are not correctly populated<br>
><br>
> Also if I create tenant+cli through CLI, and then Edit project quotas in the<br>
> Dashboard, and click Save. Then it works.<br>
><br>
> I create my project and tenant as:<br>
><br>
> $ openstack project create --domain default --description "test project"<br>
> test-project<br>
> $ openstack user create --domain default --password-prompt test-user<br>
> $ openstack role add --project test-project --user test-user user<br>
><br>
><br>
> It's really strange, but it seems to be a bug in the GUI, or some DB fields<br>
> not getting properly populated when I create my project.<br>
><br>
> please advice. thx will<br>
</div></div></blockquote></div><br></div>