I try to use lago.ssh for ssh connection to non-host vm in ovirt-system-tests.And I have login/password (not root) for vm, but have not ssh-key.I try to use lago.ssh.get_ssh_client() to get connection but there is next code there:if ssh_key:
breakBut if I can't use key file, client should try to connect using login/password.
And according this code I have to create empty file for this function and delete it after.
(if ssh key != None but in is not existed file, client.connect )Example is there:
ovirt-system-tests/commit/ 855dbdf379730d55daf51851052d71 daa45d9a09Is it a bug? Or is there some reasons for implementing this logic?
Sincerely, Valentina Makarova
lago-devel mailing list