From e9b3f2e6e93426d631d4f8101fb431a523b0d88a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 29 Mar 2013 17:30:28 -0700 Subject: [PATCH] ceph-disk list: say 'unknown cluster $UUID' when cluster is unknown This makes it clearer that an old osd is in fact old. Signed-off-by: Sage Weil --- src/ceph-disk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ceph-disk b/src/ceph-disk index c90fce0e3b1..e46a5028b64 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -1666,6 +1666,8 @@ def more_osd_info(path, uuid_map): cluster = find_cluster_by_uuid(ceph_fsid) if cluster: desc.append('cluster ' + cluster) + else: + desc.append('unknown cluster ' + ceph_fsid) who = get_oneliner(path, 'whoami') if who: