From 0365688ef72ce97ab43001611c46b136db9a2838 Mon Sep 17 00:00:00 2001 From: Andrew Woodward Date: Wed, 2 Oct 2013 14:01:19 -0700 Subject: [PATCH] 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 --- ceph_deploy/mon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.47.3