From 203225702ed61a38f745e47dc0a1ad7450758377 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Sun, 9 Apr 2017 19:13:13 +0200 Subject: [PATCH] Stop using self.parameters for compute clients This was a leftover from when paremetrs was replaced with configuration from the registry. Anything that is not standard configuration must be passed from CONF. Change-Id: I78fc364d10a1e56285766c57d5ec4c90be28fb18 --- tempest/clients.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tempest/clients.py b/tempest/clients.py index d21e6a7426..cceb71a354 100644 --- a/tempest/clients.py +++ b/tempest/clients.py @@ -167,11 +167,10 @@ class Manager(clients.ServiceClients): # NOTE: The following client needs special timeout values because # the API is a proxy for the other component. - params_volume = {} - for _key in ('build_interval', 'build_timeout'): - _value = self.parameters['volume'].get(_key) - if _value: - params_volume[_key] = _value + params_volume = { + 'build_interval': CONF.volume.build_interval, + 'build_timeout': CONF.volume.build_timeout + } self.volumes_extensions_client = self.compute.VolumesClient( **params_volume) self.compute_versions_client = self.compute.VersionsClient(