From 877812650c0c518848f7e1f5c49e8e21c096327e Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 25 Aug 2014 13:31:25 -0600 Subject: [PATCH] Canonicalize hostnames in yet another place Signed-off-by: Zack Cerza --- teuthology/task/internal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/task/internal.py b/teuthology/task/internal.py index 6cbf66c03a..d8d247bac8 100644 --- a/teuthology/task/internal.py +++ b/teuthology/task/internal.py @@ -192,6 +192,7 @@ def timer(ctx, config): log.info('Duration was %f seconds', duration) ctx.summary['duration'] = duration + def connect(ctx, config): """ Open a connection to a remote host. @@ -202,6 +203,7 @@ def connect(ctx, config): for name in ctx.config['targets'].iterkeys(): machs.append(name) for t, key in ctx.config['targets'].iteritems(): + t = teuthology.canonicalize_hostname(t) log.debug('connecting to %s', t) try: if ctx.config['sshkeys'] == 'ignore': -- 2.39.5