SovereignCloudStack / rookify

Enable Ceph-Cluster migrations to Rook
https://scs.community/
Apache License 2.0
2 stars 1 forks source link

NOTE: testbed has keyfiles with "<<EOT" in it, paramiko in python does not like that #69

Open boekhorstb1 opened 1 month ago

boekhorstb1 commented 1 month ago

NOTE: testbed has keyfiles with "<<EOT" in it, paramiko in python does not like that

So before using that key, first check it!

Following Error:

  File "/home/user/dev/scs/rookify-enhance-ceph-pools/src/rookify/modules/migrate_mons/main.py", line 37, in _migrate_mon
    result = self.ssh.command(
             ^^^^^^^^^^^^^^^^^
  File "/home/user/dev/scs/rookify-enhance-ceph-pools/src/rookify/modules/ssh.py", line 42, in command
    raise ModuleException(f"SSH command failed: {e}")
rookify.modules.exception.ModuleException: SSH command failed: Authentication failed.

NOTE: I am sure that login per ssh works as i tried it manually like so (that works):

ssh -i .ssh/.id_rsa.regio-fast dragon@192.168.16.10
NotTheEvilOne commented 3 weeks ago

This is not really considered a bug. We may want to add it to the documentation :)