Fix ignored [nova] service_name
The [nova] service_name parameter is supposed to be used to find the nova endpoint from keystone catalog but in fact the parameter is not used and has had no effect. This change fixes the ignored parameter. Change-Id: I00c3083d7dbcf4473af3386d114c4af9e07751a0
This commit is contained in:
parent
81134bdfec
commit
6d8fc69f94
@ -39,6 +39,7 @@ class VirtualMachineManager(compute_base.ComputeBase):
|
||||
super().__init__()
|
||||
# Must initialize nova api
|
||||
self._nova_client = clients.NovaAuth.get_nova_client(
|
||||
service_name=CONF.nova.service_name,
|
||||
endpoint=CONF.nova.endpoint,
|
||||
region=CONF.nova.region_name,
|
||||
endpoint_type=CONF.nova.endpoint_type,
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Now the ``[nova] service_name`` parameter is effectively used to find
|
||||
the nova endpoint in keystone catalog. The parameter had no effect before
|
||||
it was fixed.
|
Loading…
Reference in New Issue
Block a user