File debug-log.patch of Package crmsh

diff --git i/crmsh/ssh_key.py w/crmsh/ssh_key.py
index 21e9f240..6ddf0805 100644
--- i/crmsh/ssh_key.py
+++ w/crmsh/ssh_key.py
@@ -103,6 +103,7 @@ class InMemoryPublicKey(Key):
         if self._fingerprint:
             return self._fingerprint
         else:
+            logger.debug('ssh-keygen -l -f /dev/stdin\n%s', self.public_key())
             child = subprocess.Popen(
                 ['ssh-keygen', '-l', '-f', '/dev/stdin'],
                 stdin=subprocess.PIPE,
@@ -288,12 +289,14 @@ done
             key_type=self.DEFAULT_KEY_TYPE,
             pattern=','.join(self.KNOWN_KEY_TYPES),
         )
+        logger.debug('Executing script:\n%s', script)
         result = self.cluster_shell.subprocess_run_without_input(
             host, user,
             script,
             stdout=subprocess.PIPE,
             stderr=subprocess.PIPE,
         )
+        logger.debug('Result:\n%s', result.stdout.decode('utf-8', errors='replace'))
         if result.returncode != 0:
             print(script)
             print(result.stdout)
openSUSE Build Service is sponsored by