1
0
mirror of https://github.com/ceph/ceph synced 2024-12-18 01:16:55 +00:00

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 <sage@inktank.com>
This commit is contained in:
Sage Weil 2013-03-29 17:30:28 -07:00
parent 9e7ddf677f
commit e9b3f2e6e9

View File

@ -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: