← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1480009] [NEW] version show request does nto consider CONF.osapi_compute_link_prefix for buidling links

 

Public bug reported:

version show request for both v2 and v2.1 (/v2 and /v2.1) does not
consider the CONF.osapi_compute_link_prefix for buidling links's href.

Currently version view->build_version  use base url directly for
building the href for links -
https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/views/versions.py#L70

Above should prepare href using  CONF.osapi_compute_link_prefix as done
for other links.

This was caught in newly added functional tests fails -

http://logs.openstack.org/39/201439/4/check/gate-nova-tox-
functional/ff44cb5/testr_results.html.gz .

** Affects: nova
     Importance: Undecided
     Assignee: Ghanshyam Mann (ghanshyammann)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Ghanshyam Mann (ghanshyammann)

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

Title:
  version show request does nto consider CONF.osapi_compute_link_prefix
  for buidling links

Status in OpenStack Compute (nova):
  New

Bug description:
  version show request for both v2 and v2.1 (/v2 and /v2.1) does not
  consider the CONF.osapi_compute_link_prefix for buidling links's href.

  Currently version view->build_version  use base url directly for
  building the href for links -
  https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/views/versions.py#L70

  Above should prepare href using  CONF.osapi_compute_link_prefix as
  done for other links.

  This was caught in newly added functional tests fails -

  http://logs.openstack.org/39/201439/4/check/gate-nova-tox-
  functional/ff44cb5/testr_results.html.gz .

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


Follow ups