]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: log when we infer the image 33829/head
authorSage Weil <sage@redhat.com>
Thu, 12 Mar 2020 12:42:43 +0000 (07:42 -0500)
committerSage Weil <sage@redhat.com>
Thu, 12 Mar 2020 12:42:56 +0000 (07:42 -0500)
This is similar to how we log when we infer the fsid.

Signed-off-by: Sage Weil <sage@redhat.com>
src/cephadm/cephadm

index a25e8bdcd4899df9c28a9df1045aedfc54ad6941..b7678b91b5c6ac747fda72d70e80bc9d15632383 100755 (executable)
@@ -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):