]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Use safe_while instead of an unsafe loop
authorZack Cerza <zack@redhat.com>
Thu, 19 Mar 2015 20:32:58 +0000 (14:32 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 19 Mar 2015 20:32:58 +0000 (14:32 -0600)
commit12de29e4d13ccf0518d106f94b00be615b1df30b
tree1ce9ec8400ff9af39d370737511a22599568e0a7
parent0609fd0e3c2f346c55da4870c5bf76282748ee10
Use safe_while instead of an unsafe loop

If ssh-keyscan fails, we would hang forever. Stop that nonsense, and
give up eventually, print a warning, and move on.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/lock.py