From: Andrew Woodward Date: Wed, 2 Oct 2013 21:01:19 +0000 (-0700) Subject: Fix bug in mon_destory X-Git-Tag: v1.2.7~3^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0365688ef72ce97ab43001611c46b136db9a2838;p=ceph-deploy.git Fix bug in mon_destory mon_destroy was using a local socket and was not resolving the remote hostname correctly Signed-off-by: Andrew Woodward --- diff --git a/ceph_deploy/mon.py b/ceph_deploy/mon.py index 6e86593..b82b9df 100644 --- a/ceph_deploy/mon.py +++ b/ceph_deploy/mon.py @@ -270,7 +270,7 @@ def mon_destroy(args): # TODO username sudo = args.pushy(get_transport(host)) - hostname = remote_shortname(socket) + hostname = remote_shortname(sudo.modules.socket) destroy_mon_r = sudo.compile(destroy_mon) destroy_mon_r(