2013-07-05 12:34:46 |
Rajalakshmi Ganesan |
description |
We are unable to update/reset quota after installation of devstack. We are required to add an entry "quota_driver = quantum.db.quota_db.DbQuotaDriver" and restart quantum service so as to enable editing of quantum values.
As the permission is any how given only to "admin" it would be appropriate to enable editing by default when devstack is up and running.
ubuntu@devstack-havana1:/opt/stack$ env | grep OS
OS_PASSWORD=Openstack1
OS_AUTH_URL=http://10.4.48.14:5000/v2.0
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_CACERT=/opt/stack/data/CA/int-ca/ca-chain.pem
OS_NO_CACHE=1
LESSCLOSE=/usr/bin/lesspipe %s %s
ubuntu@devstack-havana1:/opt/stack$ quantum quota-show
+---------------------+-------+
| Field | Value |
+---------------------+-------+
| floatingip | 50 |
| network | 10 |
| port | 50 |
| router | 10 |
| security_group | 10 |
| security_group_rule | 100 |
| subnet | 10 |
+---------------------+-------+
ubuntu@devstack-havana1:/opt/stack$ quantum quota-update --port 55
{"QuantumError": "Access was denied to this resource."}
ubuntu@devstack-havana1:/opt/stack$
It is dificult to add the entry and re-run quantum service alone again lonely for this sake. |
We are unable to update/reset quota after installation of devstack. We are required to add an entry "quota_driver = quantum.db.quota_db.DbQuotaDriver" and restart quantum service so as to enable editing of quantum values.
As the permission is any how given only to "admin" it would be appropriate to enable editing by default when devstack is up and running.
ubuntu@devstack-havana1:/opt/stack$ env | grep OS
OS_PASSWORD=Openstack1
OS_AUTH_URL=http://10.4.48.14:5000/v2.0
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_CACERT=/opt/stack/data/CA/int-ca/ca-chain.pem
OS_NO_CACHE=1
LESSCLOSE=/usr/bin/lesspipe %s %s
ubuntu@devstack-havana1:/opt/stack$ quantum quota-show
+---------------------+-------+
| Field | Value |
+---------------------+-------+
| floatingip | 50 |
| network | 10 |
| port | 50 |
| router | 10 |
| security_group | 10 |
| security_group_rule | 100 |
| subnet | 10 |
+---------------------+-------+
ubuntu@devstack-havana1:/opt/stack$ quantum quota-update --port 55
{"QuantumError": "Access was denied to this resource."}
ubuntu@devstack-havana1:/opt/stack$
It is difficult to add the entry and re-run quantum service alone again lonely for this sake. |
|