← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1373741] [NEW] The v2.1 API links of "list versions" API doesn't show v2.1

 

Public bug reported:

Now v2.1 API is provided on /v2.1 URL as the default but the links does
not show v2.1 like the following:

$ curl -i 'http://192.168.11.62:8774/' -X GET -H "Accept: application/json" -H "X-Auth-Project-Id: demo" -H "X-Auth-Token: {SHA1}a478a30ec8bdadbdb5b8f98d97bf99ac83a8a1ea" 
[..]
{"versions": [
  {
    "status": "CURRENT", "updated": "2011-01-21T11:33:21Z", "id": "v2.0",
    "links": [{"href": "http://192.168.11.62:8774/v2/";, "rel": "self"}]
  },
  {
    "status": "EXPERIMENTAL", "updated": "2013-07-23T11:33:21Z", "id": "v2.1",
    "links": [{"href": "http://192.168.11.62:8774/v2/";, "rel": "self"}]
  }
]}

The links is the same as v2 now, but the links should be
    "links": [{"href": "http://192.168.11.62:8774/v2.1/";, "rel": "self"}]
ideally.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1373741

Title:
  The v2.1 API links of "list versions" API doesn't show v2.1

Status in OpenStack Compute (Nova):
  New

Bug description:
  Now v2.1 API is provided on /v2.1 URL as the default but the links
  does not show v2.1 like the following:

  $ curl -i 'http://192.168.11.62:8774/' -X GET -H "Accept: application/json" -H "X-Auth-Project-Id: demo" -H "X-Auth-Token: {SHA1}a478a30ec8bdadbdb5b8f98d97bf99ac83a8a1ea" 
  [..]
  {"versions": [
    {
      "status": "CURRENT", "updated": "2011-01-21T11:33:21Z", "id": "v2.0",
      "links": [{"href": "http://192.168.11.62:8774/v2/";, "rel": "self"}]
    },
    {
      "status": "EXPERIMENTAL", "updated": "2013-07-23T11:33:21Z", "id": "v2.1",
      "links": [{"href": "http://192.168.11.62:8774/v2/";, "rel": "self"}]
    }
  ]}

  The links is the same as v2 now, but the links should be
      "links": [{"href": "http://192.168.11.62:8774/v2.1/";, "rel": "self"}]
  ideally.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1373741/+subscriptions


Follow ups

References