Reconnect after running chef task.

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>
This commit is contained in:
Sandon Van Ness 2013-07-30 17:26:59 -07:00
parent 00c2ac5b2c
commit 74b344e980

View 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