Fix gnocchiclient creation
Gnocchiclient uses keystoneauth1.adapter so that adapter_options need to be given. This patch fixes gnocchiclient creation. Change-Id: I6b5d8ee775929f4b3fd30be3321b378d19085547 Closes-Bug: #1714871
This commit is contained in:
@@ -110,8 +110,12 @@ class OpenStackClients(object):
|
||||
'api_version')
|
||||
gnocchiclient_interface = self._get_client_option('gnocchi',
|
||||
'endpoint_type')
|
||||
adapter_options = {
|
||||
"interface": gnocchiclient_interface
|
||||
}
|
||||
|
||||
self._gnocchi = gnclient.Client(gnocchiclient_version,
|
||||
interface=gnocchiclient_interface,
|
||||
adapter_options=adapter_options,
|
||||
session=self.session)
|
||||
return self._gnocchi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user