From: Alfredo Deza Date: Fri, 2 Aug 2013 16:56:39 +0000 (-0400) Subject: add log statements to which_service X-Git-Tag: v1.2~11^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3dc8f9f60fb0b7393d25fc3ed4cb789eddcbd3f3;p=ceph-deploy.git add log statements to which_service Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/hosts/common.py b/ceph_deploy/hosts/common.py index d2028da..8d69072 100644 --- a/ceph_deploy/hosts/common.py +++ b/ceph_deploy/hosts/common.py @@ -16,10 +16,13 @@ def which_service(conn, logger): might not be in the path for the user executing the remote calls """ + logger.info('locating `service` executable...') locations = ['/sbin/service', '/usr/sbin/service'] for location in locations: if conn.modules.os.path.exists(location): + logger.info('found `service` executable: %s' % location) return location + logger.error('could not find `service` executable') def mon_create(distro, logger, args, monitor_keyring, hostname):