From 36c91472878e06e6552170c8b06a4054fbf7a4ae Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 17 Oct 2013 15:50:16 -0400 Subject: [PATCH] missing refactoring call to hosts.get Signed-off-by: Alfredo Deza --- ceph_deploy/mon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ceph_deploy/mon.py b/ceph_deploy/mon.py index f57d39f..1f1138b 100644 --- a/ceph_deploy/mon.py +++ b/ceph_deploy/mon.py @@ -134,7 +134,7 @@ def mon_create(args): try: # TODO add_bootstrap_peer_hint LOG.debug('detecting platform for host %s ...', name) - distro = hosts.get(host) + distro = hosts.get(host, username=args.username) LOG.info('distro info: %s %s %s', distro.name, distro.release, distro.codename) rlogger = logging.getLogger(name) @@ -250,7 +250,7 @@ def mon_destroy(args): try: LOG.debug('Removing mon from %s', name) - distro = hosts.get(host) + distro = hosts.get(host, username=args.username) hostname = distro.conn.remote_module.shortname() destroy_mon( -- 2.47.3