]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
misc: Close connections on reboot
authorSam Lang <sam.lang@inktank.com>
Tue, 5 Feb 2013 22:20:52 +0000 (16:20 -0600)
committerSam Lang <sam.lang@inktank.com>
Tue, 5 Feb 2013 22:20:52 +0000 (16:20 -0600)
commit100e9056edf30fea5c938988fcfdfa020e52fe61
treec55ef1d3093e744475f2fe4cb3372803ede30f7b
parentda10b58d653875bfc4501aa924853c2e4e7bc07b
misc:  Close connections on reboot

When nodes are rebooted, the connections remain open
even after calling reconnect and setting up new ssh
sessions to the rebooted nodes.  This causes ECONNRESET
errors to show up in the teuthology output.

Close the existing connections before trying to reconnect.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
teuthology/misc.py