From: Zack Cerza Date: Mon, 25 Aug 2014 20:07:29 +0000 (-0600) Subject: Remove the 'user@' prefix before checking status X-Git-Tag: 1.1.0~1214 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ad278fdc71140dfb4be27895e747356e668e3b6c;p=teuthology.git Remove the 'user@' prefix before checking status Signed-off-by: Zack Cerza --- diff --git a/teuthology/lockstatus.py b/teuthology/lockstatus.py index 1989e048..4000b32c 100644 --- a/teuthology/lockstatus.py +++ b/teuthology/lockstatus.py @@ -1,9 +1,11 @@ import requests import os from .config import config +from .misc import canonicalize_hostname def get_status(name): + name = canonicalize_hostname(name, user=None) uri = os.path.join(config.lock_server, 'nodes', name, '') response = requests.get(uri) success = response.ok