Ceilometer client instantiation fixup
A problem was found during manual integration tests which were failing because we couldn't instantiate the ceilometer client when trying to execute an action plan using the 'basic_consolidation' strategy. This patchset fixes the problem with an update of the related tests Change-Id: I2b1f1dcc16fd8dfbf508c4d5661c1fce194254e4 Closes-Bug: #1544652
This commit is contained in:
@@ -141,8 +141,8 @@ class OpenStackClients(object):
|
||||
|
||||
ceilometerclient_version = self._get_client_option('ceilometer',
|
||||
'api_version')
|
||||
self._ceilometer = ceclient.Client(ceilometerclient_version,
|
||||
session=self.session)
|
||||
self._ceilometer = ceclient.get_client(ceilometerclient_version,
|
||||
session=self.session)
|
||||
return self._ceilometer
|
||||
|
||||
@exception.wrap_keystone_exception
|
||||
|
||||
Reference in New Issue
Block a user