← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1362058] Re: osapi_compute_link_prefix configuration option has incorrect behavior for certain urls

 

*** This bug is a duplicate of bug 1304099 ***
    https://bugs.launchpad.net/bugs/1304099

** This bug has been marked a duplicate of bug 1304099
   link prefixes are truncated

-- 
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/1362058

Title:
  osapi_compute_link_prefix  configuration option has incorrect behavior
  for certain urls

Status in OpenStack Compute (Nova):
  Confirmed

Bug description:
  I am using osapi_compute_link_prefix conf option  in nova.conf to get
  some other URL in response.

  I am using osapi_compute_link_prefix =
  https://16.125.106.106:8774/rest/compute

  output which I get is

  {
      "servers": [
          {
              "id": "c85f3e06-daef-468f-a298-e5427b6095cc",
              "links": [
                  {
                      "href": "https://16.125.106.106/v1.1/ccbea08bdd8c42dfaad04e1c27dadfc9/servers/c85f3e06-daef-468f-a298-e5427b6095cc";,
                      "rel": "self"
                  },
                  {
                      "href": "https://16.125.106.106/ccbea08bdd8c42dfaad04e1c27dadfc9/servers/c85f3e06-daef-468f-a298-e5427b6095cc";,
                      "rel": "bookmark"
                  }
              ],
              "name": "vm1"
          }
      ]
  }

  The URL in the response is incorrect . It should be
  "https://16.125.106.106/rest/compute/v1.1/ccbea08bdd8c42dfaad04e1c27dadfc9/servers/c85f3e06
  -daef-468f-a298-e5427b6095cc"

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


References