diff options
author | Sage Weil <sage@inktank.com> | 2013-03-29 17:30:28 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-04-26 13:40:07 -0700 |
commit | 7406981aa5515a3be8af0b9a0abef83a40c432b2 (patch) | |
tree | b72941763a2065b11362d8cf6ce604cdfa0cbeef | |
parent | 0182973b66d449552d17248e27cd12c470137ea9 (diff) | |
download | ceph-7406981aa5515a3be8af0b9a0abef83a40c432b2.tar.gz |
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>
(cherry picked from commit e9b3f2e6e93426d631d4f8101fb431a523b0d88a)
-rwxr-xr-x | src/ceph-disk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ceph-disk b/src/ceph-disk index 71c3a75b54d..b65d848dbdc 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: |