nova: links in versions response do not work

Bug #1313119 reported by Diane Fleming
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Andreas Jaeger

Bug Description

The links in the GET /v2 response do not work and should be removed. Replace the PDF link with a link to docs.openstack.org.

{
   "version":{
      "status":"CURRENT",
      "updated":"2011-01-21T11:33:21Z",
      "media-types":[
         {
            "base":"application/xml",
            "type":"application/vnd.openstack.compute+xml;version=2"
         },
         {
            "base":"application/json",
            "type":"application/vnd.openstack.compute+json;version=2"
         }
      ],
      "id":"v2.0",
      "links":[
         {
            "href":"http://23.253.228.211:8774/v2/",
            "rel":"self"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf",
            "type":"application/pdf",
            "rel":"describedby"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl",
            "type":"application/vnd.sun.wadl+xml",
            "rel":"describedby"
         }
      ]
   }
}

The links in the GET /v3 response do not work either:

{
   "version":{
      "status":"EXPERIMENTAL",
      "updated":"2013-07-23T11:33:21Z",
      "media-types":[
         {
            "base":"application/json",
            "type":"application/vnd.openstack.compute+json;version=3"
         }
      ],
      "id":"v3.0",
      "links":[
         {
            "href":"http://23.253.228.211:8774/v3/",
            "rel":"self"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-compute/3/os-compute-devguide-3.pdf",
            "type":"application/pdf",
            "rel":"describedby"
         },
         {
            "href":"http://docs.openstack.org/api/openstack-compute/3/wadl/os-compute-3.wadl",
            "type":"application/vnd.sun.wadl+xml",
            "rel":"describedby"
         }
      ]
   }
}

affects: cinder → nova-project
affects: nova-project → nova
description: updated
Revision history for this message
Andreas Jaeger (jaegerandi) wrote :
Revision history for this message
Andreas Jaeger (jaegerandi) wrote :
Changed in nova:
assignee: nobody → Andreas Jaeger (jaegerandi)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/91146
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3903090a60ecb0170c070a68e2f1df4a01b0aca1
Submitter: Jenkins
Branch: master

commit 3903090a60ecb0170c070a68e2f1df4a01b0aca1
Author: Andreas Jaeger <email address hidden>
Date: Tue Apr 29 21:30:14 2014 +0200

    Fix broken version responses

    The version responses link to non-existing PDF and WADL files.
    Remove the WADL link and replace the PDF link with a HTML link to
    docs.openstack.org.

    Change-Id: I200e0fa268c4357403ca6c158fbbe682080c13d1
    Closes-Bug: #1313119

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-1 → 2014.2
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.