← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1304099] [NEW] link prefixes are truncated

 

Public bug reported:

The osapi_glance_link_prefix and osapi_compute_link_prefix configuration
parameters have their paths removed. For instance, if nova.conf contains

osapi_compute_link_prefix = http:/127.0.0.1/compute/

the values displayed in the API response exclude the "compute/"
component. Other services, such as keystone, retain the path.

This bit of code is where the bug occurs:

https://github.com/openstack/nova/blob/673ecaea3935b6a50294f24f8a964590ca07a959/nova/api/openstack/common.py#L568-L582

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  The osapi_glance_link_prefix and osapi_compute_link_prefix configuration
- parameters have their path's removed. For instance, if nova.conf
- contains
+ parameters have their paths removed. For instance, if nova.conf contains
  
  osapi_compute_link_prefix = http:/127.0.01/compute/
  
  the values displayed in the API response exclude the "compute/"
  component. Other services, such as keystone, retain the path.
  
  This bit of code is where the bug occurs:
  
  https://github.com/openstack/nova/blob/673ecaea3935b6a50294f24f8a964590ca07a959/nova/api/openstack/common.py#L568-L582

** Description changed:

  The osapi_glance_link_prefix and osapi_compute_link_prefix configuration
  parameters have their paths removed. For instance, if nova.conf contains
  
- osapi_compute_link_prefix = http:/127.0.01/compute/
+ osapi_compute_link_prefix = http:/127.0.0.1/compute/
  
  the values displayed in the API response exclude the "compute/"
  component. Other services, such as keystone, retain the path.
  
  This bit of code is where the bug occurs:
  
  https://github.com/openstack/nova/blob/673ecaea3935b6a50294f24f8a964590ca07a959/nova/api/openstack/common.py#L568-L582

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

Title:
  link prefixes are truncated

Status in OpenStack Compute (Nova):
  New

Bug description:
  The osapi_glance_link_prefix and osapi_compute_link_prefix
  configuration parameters have their paths removed. For instance, if
  nova.conf contains

  osapi_compute_link_prefix = http:/127.0.0.1/compute/

  the values displayed in the API response exclude the "compute/"
  component. Other services, such as keystone, retain the path.

  This bit of code is where the bug occurs:

  https://github.com/openstack/nova/blob/673ecaea3935b6a50294f24f8a964590ca07a959/nova/api/openstack/common.py#L568-L582

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


Follow ups

References