<p dir="ltr">It looks like you are setting quotas for the name instead of the id. Change your list command to output the 'id' column instead. </p>
<div class="gmail_extra"><br><div class="gmail_quote">On Jul 22, 2016 16:32, "Turbo Fredriksson" <<a href="mailto:turbo@bayour.com">turbo@bayour.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm running<br>
<br>
----- s n i p -----<br>
for proj in default $(openstack project list --column Name --format csv \<br>
    --quote none | grep -v ^Name)<br>
do<br>
    openstack quota set --key-pairs 5 --fixed-ips 20 --floating-ips 50 \<br>
        --volumes 50 --snapshots 10 --ram 10240 --injected-files 10 \<br>
        --gigabytes 100 --secgroups 50 --secgroup-rules 50 --instances 30 \<br>
        "${proj}"<br>
<br>
    neutron quota-update --tenant-id "${proj}" --network 5 --subnet 10 \<br>
        --port 50 --router 2 --floatingip 200 --security-group 50 \<br>
        --security-group-rule 50 --vip 50 --health-monitor 50<br>
done<br>
----- s n i p -----<br>
<br>
Looking in the databases:<br>
<br>
----- s n i p -----<br>
bladeA01:~# mysql -uroot -psecret -hlocalhost nova -e 'select * from quotas where resource="security_groups" or resource="instances" order by project_id,resource'<br>
Warning: Using a password on the command line interface can be insecure.<br>
+-----+---------------------+---------------------+------------+----------------------------------+-----------------+------------+---------+<br>
| id  | created_at          | updated_at          | deleted_at | project_id                       | resource        | hard_limit | deleted |<br>
+-----+---------------------+---------------------+------------+----------------------------------+-----------------+------------+---------+<br>
|  85 | 2016-07-22 22:25:12 | 2016-07-22 22:38:16 | NULL       | 04ee0e71babe4fd7aa16c3f64a8fca89 | instances       |         30 |       0 ||  89 | 2016-07-22 22:25:12 | 2016-07-22 22:28:00 | NULL       | 04ee0e71babe4fd7aa16c3f64a8fca89 | security_groups |         50 |       0 || 117 | 2016-07-22 22:28:08 | NULL                | NULL       | 55de35baa6aa48ac83825a3ac2e3100e | instances       |         30 |       0 |<br>
| 121 | 2016-07-22 22:28:08 | NULL                | NULL       | 55de35baa6aa48ac83825a3ac2e3100e | security_groups |         50 |       0 || 125 | 2016-07-22 22:28:15 | NULL                | NULL       | 733bfa1cf26844778a7499a113f1ba54 | instances       |         30 |       0 || 129 | 2016-07-22 22:28:16 | NULL                | NULL       | 733bfa1cf26844778a7499a113f1ba54 | security_groups |         50 |       0 |<br>
|  45 | 2016-07-22 21:44:00 | 2016-07-22 22:27:52 | NULL       | default                          | instances       |         30 |       0 ||  41 | 2016-07-22 21:35:45 | 2016-07-22 22:27:52 | NULL       | default                          | security_groups |         50 |       0 |+-----+---------------------+---------------------+------------+----------------------------------+-----------------+------------+---------+<br>
bladeA01:~# mysql -uroot -psecret -hlocalhost neutron -e 'select * from quotas where resource="security_group" order by tenant_id'<br>
Warning: Using a password on the command line interface can be insecure.<br>
+--------------------------------------+-----------+----------------+-------+<br>
| id                                   | tenant_id | resource       | limit |<br>
+--------------------------------------+-----------+----------------+-------+<br>
| 17bb8ea8-cde0-462d-a9ff-aad6e45dad9b | admin     | security_group |    50 |<br>
| c145176c-ba76-4759-af51-e9b748700a36 | compute   | security_group |    50 |<br>
| d657b56f-3bc5-49a8-b48c-8cc40295a88e | default   | security_group |    50 |<br>
| edfc5513-44aa-49ce-b3ae-914215769112 | service   | security_group |    50 |<br>
+--------------------------------------+-----------+----------------+-------+<br>
----- s n i p -----<br>
<br>
And yet, in Horizon, "instances" is set to "10". And I can't<br>
update it from there..<br>
--<br>
If something's hard to do, then it's not worth doing.<br>
- Homer Simpson<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div></div>