[Docs] Admin API Quotas not working in designate (kilo & liberty)

Bug #1557576 reported by Penchal Reddy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Designate
Fix Released
High
Venkata Mahesh Jonnalagadda

Bug Description

Verified admin quota APIs as per below link

http://docs.openstack.org/developer/designate/rest/admin/quotas.html

below line has been added to the designate.conf file:

enabled_extensions_admin = quotas

Still i am getting 404 with below curl command

curl -i -X GET -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:9001/admin/quotas/70a4596c9974429db5fb6fe240ab87b9
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=UTF-8
X-Openstack-Request-Id: req-7b340681-7314-45bf-b682-608ca92a8848
Content-Length: 0
Date: Tue, 15 Mar 2016 13:03:29 GMT

below are designate-api log

2016-03-15 09:58:54.281 14107 INFO eventlet.wsgi [-] (14107) accepted ('127.0.0.1', 56455)
2016-03-15 09:58:54.284 14107 INFO eventlet.wsgi [req-b03b8554-ba78-4b89-8fa7-c5a036df27d3 noauth-user noauth-project - - -] 127.0.0.1 - - [15/Mar/2016 09:58:54] "GET /admin/quotas/70a4596c9974429db5fb6fe240ab87b9 HTTP/1.1" 404 188 0.001583

V1 API works fine as per doc

Please provide the solution is it deprecated or disabled

Thanks

Tags: docs
Penchal Reddy (pr8721)
information type: Private Security → Public Security
Revision history for this message
Penchal Reddy (pr8721) wrote :

This is working as expected but there is a issue or discrepancy in wiki page - http://docs.openstack.org/developer/designate/rest/admin/quotas.html as below -

1) configuration parameter "enable_api_admin" has to be enabled under "[service:api]" category
2) configuration parameter "enabled_extensions_admin" has to be added under "[service:api] category

Due to above lack of information in admin quotas wiki page, I observed the issues.

information type: Public Security → Public
tags: added: docs
Tim Simmons (timsim)
summary: - Admin API Quotas not working in designate (kilo & liberty)
+ [Docs] Admin API Quotas not working in designate (kilo & liberty)
Changed in designate:
milestone: none → mitaka-rc1
status: New → Triaged
importance: Undecided → High
Changed in designate:
assignee: nobody → Venkata Jonnalagadda (vj884x)
Revision history for this message
Venkata Mahesh Jonnalagadda (vj884x) wrote :

I will be fixing this documentation in Quotas for Admin API's.

Changed in designate:
status: Triaged → In Progress
Changed in designate:
status: In Progress → Fix Committed
Changed in designate:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.