From: Alfredo Deza Date: Thu, 17 Oct 2013 19:50:16 +0000 (-0400) Subject: missing refactoring call to hosts.get X-Git-Tag: v1.3~14^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=36c91472878e06e6552170c8b06a4054fbf7a4ae;p=ceph-deploy.git missing refactoring call to hosts.get Signed-off-by: Alfredo Deza --- 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(