The osapi_glance_link_prefix and osapi_compute_link_prefix configuration parameters have their path's 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
The osapi_glance_ link_prefix and osapi_compute_ link_prefix configuration parameters have their path's 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/ 673ecaea3935b6a 50294f24f8a9645 90ca07a959/ nova/api/ openstack/ common. py#L568- L582