Incorrect url with metadef resource types

Bug #1470704 reported by wangxiyuan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
wangxiyuan

Bug Description

In glance api v2,according to the code:

https://github.com/openstack/glance/blob/master/glance/api/v2/router.py#L217

 the url GET the list resource types should be /v2/metadefs/resource_types, not /v2/metadefs/.

If send /v2/metadefs/, it will return:

404 Not Found
The resource could not be found.

wangxiyuan (wangxiyuan)
Changed in openstack-api-site:
assignee: nobody → wangxiyuan (wangxiyuan)
Changed in openstack-api-site:
status: New → In Progress
Revision history for this message
wangxiyuan (wangxiyuan) wrote :
description: updated
description: updated
Tom Fifield (fifieldt)
Changed in openstack-api-site:
importance: Undecided → Medium
milestone: none → liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/195917
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=2dfe5a52619660cb7e5a9da59e3d6262e5fbe4b5
Submitter: Jenkins
Branch: master

commit 2dfe5a52619660cb7e5a9da59e3d6262e5fbe4b5
Author: wangxiyuan <email address hidden>
Date: Fri Jun 26 16:31:22 2015 +0800

    Fix metadef resource types url

    The GET URL of List resource types should be /v2/metadefs/resource_types.

    Closes-bug:#1470704
    Change-Id: Ib7f882a8df1e981914c54b260794f60eba0a57ee

Changed in openstack-api-site:
status: In Progress → Fix Released
wangxiyuan (wangxiyuan)
Changed in openstack-api-site:
status: Fix Released → Fix Committed
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.