From: Zack Cerza Date: Mon, 25 Aug 2014 20:40:40 +0000 (-0600) Subject: Revert "Canonicalize hostnames" X-Git-Tag: 1.1.0~1213 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3d4dc732bbc9e34922226faca5d360371ff36063;p=teuthology.git Revert "Canonicalize hostnames" This reverts commit 29e8deefaeef21d1e7f6c40d6fca2605324dec69. --- diff --git a/teuthology/lock.py b/teuthology/lock.py index 154bf67903..5bc9b3c810 100644 --- a/teuthology/lock.py +++ b/teuthology/lock.py @@ -235,8 +235,8 @@ def lock_many(ctx, num, machinetype, user=None, description=None): headers={'content-type': 'application/json'}, ) if response.ok: - machines = {misc.canonicalize_hostname(machine['name']): - machine['ssh_pub_key'] for machine in response.json()} + machines = {machine['name']: machine['ssh_pub_key'] + for machine in response.json()} log.debug('locked {machines}'.format( machines=', '.join(machines.keys()))) if machinetype == 'vps':