Request to show details of versions "v1/" API returns 404 ResourceNotFound

Bug #1685145 reported by Dinesh Bhor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
masakari
Fix Released
Medium
Unassigned
Train
Fix Committed
Undecided
Unassigned
Ussuri
Fix Committed
Undecided
Unassigned
Victoria
Fix Committed
Undecided
Unassigned
Wallaby
Fix Released
Medium
Unassigned

Bug Description

If you request to show details of versions "v1/" API it returns 404 ResourceNotFound.

Steps to reproduce:

Command:
$ curl -g -i -X GET http://10.232.48.201:15868/v1/ -H "Accept: application/json" -H "X-Auth-Token: <auth-token>"

HTTP/1.1 404 Not Found
Openstack-Api-Version: masakari 1.0
Vary: OpenStack-API-Version
Content-Type: application/json; charset=UTF-8
Content-Length: 78
X-Openstack-Request-Id: req-b311b8f2-8099-472f-81fa-5a944e55a684
Date: Thu, 20 Apr 2017 13:56:53 GMT

{"itemNotFound": {"message": "The resource could not be found.", "code": 404}}

Expected result:
It should return the details of v1 API.

Changed in masakari:
assignee: nobody → Dinesh Bhor (dinesh-bhor)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to masakari (master)

Fix proposed to branch: master
Review: https://review.openstack.org/458793

Changed in masakari:
status: New → In Progress
Changed in masakari:
assignee: Dinesh Bhor (dinesh-bhor) → Jegor van Opdorp (jopdorp)
Revision history for this message
Radosław Piliszek (yoctozepto) wrote : Re: Resuest to show details of versions "v1/" API returns 404 ResourceNotFound

Summary:
/ works
v1 redirects to v1/
v1/ breaks

Related-Bug: https://bugs.launchpad.net/masakari/+bug/1882516

Changed in masakari:
importance: Undecided → Medium
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Similarly, /v1/$(tenant_id)s and /v1/$(project_id)s break too (OSDK strips the variable part).

Changed in masakari:
assignee: Jegor van Opdorp (jopdorp) → nobody
summary: - Resuest to show details of versions "v1/" API returns 404
+ Request to show details of versions "v1/" API returns 404
ResourceNotFound
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/masakari 11.0.0.0rc1

This issue was fixed in the openstack/masakari 11.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/masakari 8.1.2

This issue was fixed in the openstack/masakari 8.1.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/masakari 9.1.2

This issue was fixed in the openstack/masakari 9.1.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/masakari 10.0.2

This issue was fixed in the openstack/masakari 10.0.2 release.

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.