]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Add more debug information to Dashboard RGW backend 34399/head
authorVolker Theile <vtheile@suse.com>
Thu, 2 Apr 2020 14:01:53 +0000 (16:01 +0200)
committerVolker Theile <vtheile@suse.com>
Thu, 16 Apr 2020 08:39:18 +0000 (10:39 +0200)
Fixes: https://tracker.ceph.com/issues/44914
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 4febdd6ddaddebd2a8d07f44c8d0f79524305766)

src/pybind/mgr/dashboard/services/rgw_client.py

index 1351c62592292f99a3c590bdfdb3d0c89472fe9d..70997092fd31d6797a8b454b78df3b183f196af5 100644 (file)
@@ -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):