neoave / mrack

Multicloud use-case based multihost async provisioner for CIs and testing during development
Apache License 2.0
12 stars 14 forks source link

fix: missing error logging while checking the ssh connection #99

Closed Tiboris closed 3 years ago

Tiboris commented 3 years ago

Aims to resolve https://github.com/neoave/mrack/issues/98

After this patch:

2021-04-19 12:56:24,432 mrack.utils INFO ssh -o 'StrictHostKeyChecking=no' -o 'UserKnownHostsFile=/dev/null' -l fedora -i config/id_rsa 10.0.99.34 echo mrack
2021-04-19 12:56:24,456 mrack.providers.provider INFO OpenStack: 1 hosts were not provisioned properly, deleting.
2021-04-19 12:56:24,457 mrack.providers.provider ERROR OpenStack: Error: Could not establish ssh connection to host d0160fba-803e-4ed8-bab4-4b42c248849d with IP 10.0.99.34