Ask Your Question
0

Need clarity on why quota-update is throwing 403 even for admin account

asked 2013-07-01 11:57:45 -0500

rajalakshmi-ganesan gravatar image

quantum quota-update is throwing 403 (Forbidden: {"QuantumError": "Access was denied to this resource."}) though the credentials used for updation are of admin user. Request you to confirm if this response is a bug.

Following is the curl request and response for updation of port quota:

ubuntu@devstack1:~/pavan_quantum/tempest/tempest/tests/network$ quantum --debug quota-update --port 100

REQ: curl -i http://10.5.28.253:5000/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-quantumclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "Openstack1"}}}'

RESP:{'date': 'Mon, 01 Jul 2013 11:45:24 GMT', 'vary': 'X-Auth-Token', 'content-length': '6445', 'status': '200', 'content-type': 'application/json'} {"access": {"token": {"issued_at": "2013-07-01T11:45:24.625360", "expires": "2013-07-02T11:45:24Z", "id": "MIILUgYJKoZIhvcNAQcCoIILQzCCCz8CAQExCTAHBgUrDgMCGjCCCisGCSqGSIb3DQEHAaCCChwEggoYeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMVQxMTo0NToyNC42MjUzNjAiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAyVDExOjQ1OjI0WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNzBlNzVjMjRiZDhiNGY3ODg0ZjA3M2RkNDUxMGE5ZmEiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjUuMjguMjUzOjg3NzQvdjIvNzBlNzVjMjRiZDhiNGY3ODg0ZjA3M2RkNDUxMGE5ZmEiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJ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cMh7CuSkweHfSlam8alk0lSbh-C1Mag6bAU8o7eA5axgjQFKwQkzfusS-9yskBUUMYltxIeEV41zCqcyzA5rS8Yf4h59S9dO2KFf6C2G1row==", "tenant": {"description": null, "enabled": true, "id": "70e75c24bd8b4f7884f073dd4510a9fa", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.5.28.253:8774/v2/70e75c24bd8b4f7884f073dd4510a9fa", "region": "RegionOne", "internalURL": "http://10.5.28.253:8774/v2/70e75c24bd8b4f7884f073dd4510a9fa", "id": "0267c48f4bfc44d1800277207c7d2ba2", "publicURL": "http://10.5.28.253:8774/v2/70e75c24bd8b4f7884f073dd4510a9fa"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://10.5.28.253:9696/", "region": "RegionOne", "internalURL": "http://10.5.28.253:9696/", "id": "27bbc93d4d344d2887213daee67a3933", "publicURL": "http://10.5.28.253:9696/"}], "endpoints_links": [], "type": "network", "name": "quantum"}, {"endpoints": [{"adminURL": "http://10.5.28.253:3333", "region": "RegionOne", "internalURL": "http://10.5.28.253:3333", "id": "7345ba87493a4bc8944dc4a725f461db", "publicURL": "http://10.5.28.253:3333"}], "endpoints_links": [], "type": "s3", "name": "s3"}, {"endpoints": [{"adminURL": "http://10.5.28.253:9292", "region": "RegionOne", "internalURL": "http://10.5.28.253:9292", "id": "a1783c63a0604e478c837bfcf8636343", "publicURL": "http://10.5.28.253:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://10.5.28.253:8776/v1/70e75c24bd8b4f7884f073dd4510a9fa", "region": "RegionOne", "internalURL": "http://10.5.28.253:8776/v1/70e75c24bd8b4f7884f073dd4510a9fa", "id": "56ccc4fada104392b8cc8c14dbfd0f48", "publicURL": "http://10.5.28.253:8776/v1/70e75c24bd8b4f7884f073dd4510a9fa"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://10.5.28.253:8773/services/Admin", "region": "RegionOne", "internalURL": "http://10.5.28.253:8773/services/Cloud", "id": "13d6c5dffb3646d18ae891af6b27cc9f", "publicURL": "http://10.5.28.253:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://10.5.28.253:35357/v2.0", "region": "RegionOne", "internalURL": "http://10.5.28.253:5000/v2.0", "id": "37c3be7f17824ea29d9777a1843c1118", "publicURL": "http://10.5.28.253:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "494e15f2fd6843ddbfac7502dc316337", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["b73ae2ff29be4fd183faa3f677780bc4"]}}}

REQ: curl -i http://10.5.28.253:9696/v2.0/quotas/tenant.json (http://10.5.28.253:9696/v2.0/quotas/t...) -X GET -H "X-Auth-Token: MIILUgYJKoZIhvcNAQcCoIILQzCCCz8CAQExCTAHBgUrDgMCGjCCCisGCSqGSIb3DQEHAaCCChwEggoYeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMVQxMTo0NToyNC42MjUzNjAiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAyVDExOjQ1OjI0WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNzBlNzVjMjRiZDhiNGY3ODg0ZjA3M2RkNDUxMGE5ZmEiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjUuMjguMjUzOjg3NzQvdjIvNzBlNzVjMjRiZDhiNGY3ODg0ZjA3M2RkNDUxMGE5ZmEiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRl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uSkweHfSlam8alk0lSbh-C1Mag6bAU8o7eA5axgjQFKwQkzfusS-9yskBUUMYltxIeEV41zCqcyzA5rS8Yf4h59S9dO2KFf6C2G1row==" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-quantumclient"

RESP:{'date': 'Mon, 01 Jul 2013 11:45:24 GMT', 'status': '200', 'content-length': '61', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://10.5.28.253:9696/v2.0/quotas/tenant.json'} {"tenant": {"tenant_id": "70e75c24bd8b4f7884f073dd4510a9fa"}}

REQ: curl -i http://10.5.28.253:9696/v2.0/quotas/70e75c24bd8b4f7884f073dd4510a9fa.json (http://10.5.28.253:9696/v2.0/quotas/7...) -X PUT -H "X-Auth-Token: MIILUgYJKoZIhvcNAQcCoIILQzCCCz8CAQExCTAHBgUrDgMCGjCCCisGCSqGSIb3DQEHAaCCChwEggoYeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMVQxMTo0NToyNC42MjUzNjAiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAyVDExOjQ1OjI0WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNzBlNzVjMjRiZDhiNGY3ODg0ZjA3M2RkNDUxMGE5ZmEiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjUuMjguMjUzOjg3NzQvdjIvNzBlNzVjMjRiZDhiNGY3ODg0ZjA3M2RkNDUxMGE5ZmEiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTAuNS4yOC4yNTM6ODc3NC92Mi83MGU3NWMyNGJkOGI0Zjc4ODRmMDczZGQ0N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KFf6C2G1row==" -H ... (more)

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2013-07-02 07:11:58 -0500

rajalakshmi-ganesan gravatar image

Thanks yong sheng gong, that solved my question.

edit flag offensive delete link more
0

answered 2013-07-01 14:21:43 -0500

gongysh gravatar image

$ quantum ext-show quotas +-------------+------------------------------------------------------------+ | Field | Value | +-------------+------------------------------------------------------------+ | alias | quotas | | description | Expose functions for quotas management | | links | | | name | Quota management support | | namespace | http://docs.openstack.org/network/ext/quotas-sets/api/v2.0 (http://docs.openstack.org/network/ext...) | | updated | 2012-07-29T10:00:00-00:00 | +-------------+------------------------------------------------------------+

when the quotas is named as 'Expose functions for quotas management', it means u cannot update quota even with admin.

$ quantum ext-show quotas +-------------+------------------------------------------------------------+ | Field | Value | +-------------+------------------------------------------------------------+ | alias | quotas | | description | Expose functions for quotas management per tenant | | links | | | name | Quota management support | | namespace | http://docs.openstack.org/network/ext/quotas-sets/api/v2.0 (http://docs.openstack.org/network/ext...) | | updated | 2012-07-29T10:00:00-00:00 | +-------------+------------------------------------------------------------+ when the quotas is named as 'Expose functions for quotas management per tenant', it means u update quota with admin.

edit flag offensive delete link more
0

answered 2013-07-01 14:22:27 -0500

gongysh gravatar image

to enable quota per tenant, use quota_driver = quantum.db.quota_db.DbQuotaDriver in quantum.conf

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-01 11:57:45 -0500

Seen: 200 times

Last updated: Jul 02 '13