]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Reconnect after running chef task.
authorSandon Van Ness <sandon@inktank.com>
Wed, 31 Jul 2013 00:26:59 +0000 (17:26 -0700)
committerSandon Van Ness <sandon@inktank.com>
Wed, 31 Jul 2013 00:26:59 +0000 (17:26 -0700)
Just a simple change to reconnect to SSH after running
ceph-qa-chef to get around things like ulimit changes.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
teuthology/task/chef.py

index a63641485631de56e2925ca04399822cd3eccbd0..e32bb4b1857bc277cf8879b2a882cc2be2ca53be 100644 (file)
@@ -1,6 +1,7 @@
 import logging
 
 from ..orchestra import run
+from .. import misc
 
 log = logging.getLogger(__name__)
 
@@ -25,3 +26,7 @@ def task(ctx, config):
             wait=False,
             )
         )
+
+    log.info('Reconnecting after ceph-qa-chef run')
+    misc.reconnect(ctx, 10)     #Reconnect for ulimit and other ceph-qa-chef changes
+