]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Add Remote.ensure_online()
authorZack Cerza <zack@cerza.org>
Wed, 7 May 2014 17:36:06 +0000 (12:36 -0500)
committerZack Cerza <zack@cerza.org>
Sat, 10 May 2014 14:10:22 +0000 (09:10 -0500)
commitd0f7a47bf93fefa8ab088176d2d3699d80550c7f
treee3db317613aee2239fde14fc582588323301705b
parent3adb7d4629fc5136f819bfb90bfa5e7bf4dd50a7
Add Remote.ensure_online()

If the connection is alive, do nothing. If not, reconnect. Allow any
exceptions to bubble up to the caller. This is intended to fix unhelpful
'Bad File Descriptor' errors we were seeing when VMs go down.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/orchestra/remote.py