From: Sage Weil Date: Thu, 12 Mar 2020 12:42:43 +0000 (-0500) Subject: cephadm: log when we infer the image X-Git-Tag: v15.1.1~23^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=97c7dcf60c226b8aa67a4de93697a85af3ed3a44;p=ceph.git cephadm: log when we infer the image This is similar to how we log when we infer the fsid. Signed-off-by: Sage Weil --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index a25e8bdcd4899..b7678b91b5c6a 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -772,7 +772,9 @@ def get_last_local_ceph_image(): out_lines = out.splitlines() if len(out_lines) > 0: repository, tag = out_lines[0].split() - return '{}:{}'.format(repository, tag) + r = '{}:{}'.format(repository, tag) + logger.info('Using recent ceph image %s' % r) + return r return None def write_tmp(s, uid, gid):