Merge "Fix ignored [nova] service_name"

This commit is contained in:
Zuul 2022-09-02 16:51:39 +00:00 committed by Gerrit Code Review
commit 872c873b2a
2 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,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,

View File

@ -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.