Add a bit more debugging to the client registry
The service client registry raises an exception in case of
duplicate registration, but it logs absolutely nothing in case
of successful one, which makes life difficult when debugging
issues with plugin registrations.
Add a debug line for the success case as well, which includes
the plugin name and the configuration data that was loaded.
Change-Id: Ic2036e9e2db4b1604a397baa0cfdaee665a477f8
diff --git a/tempest/lib/services/clients.py b/tempest/lib/services/clients.py
index 445e8bd..eefac66 100644
--- a/tempest/lib/services/clients.py
+++ b/tempest/lib/services/clients.py
@@ -125,6 +125,9 @@
name=plugin_name,
detailed_error=detailed_error % plugin_name)
self._service_clients[plugin_name] = service_client_data
+ LOG.debug("Successfully registered plugin %s in the service client "
+ "registry with configuration: %s", plugin_name,
+ service_client_data)
def get_service_clients(self):
return self._service_clients