From: Volker Theile Date: Thu, 2 Apr 2020 14:01:53 +0000 (+0200) Subject: mgr/dashboard: Add more debug information to Dashboard RGW backend X-Git-Tag: v14.2.10~119^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e0d189a0805856a3b53bdce05bf735994b6189cb;p=ceph.git mgr/dashboard: Add more debug information to Dashboard RGW backend Fixes: https://tracker.ceph.com/issues/44914 Signed-off-by: Volker Theile (cherry picked from commit 4febdd6ddaddebd2a8d07f44c8d0f79524305766) --- diff --git a/src/pybind/mgr/dashboard/services/rgw_client.py b/src/pybind/mgr/dashboard/services/rgw_client.py index 1351c6259229..70997092fd31 100644 --- a/src/pybind/mgr/dashboard/services/rgw_client.py +++ b/src/pybind/mgr/dashboard/services/rgw_client.py @@ -310,7 +310,8 @@ class RgwClient(RestClient): # If user ID is not set, then try to get it via the RGW Admin Ops API. self.userid = userid if userid else self._get_user_id(self.admin_path) - logger.info("Created new connection for user: %s", self.userid) + logger.info("Created new connection: user=%s, host=%s, port=%s, ssl=%d, sslverify=%d", + self.userid, host, port, ssl, ssl_verify) @RestClient.api_get('/', resp_structure='[0] > (ID & DisplayName)') def is_service_online(self, request=None):