1
0
mirror of https://github.com/ceph/ceph synced 2025-02-18 16:37:41 +00:00

Merge pull request from noahdesu/osd-find-fsid

cli: dump osd-fsid as part of osd find <id>

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Noah Watkins 2019-01-18 08:26:47 -08:00 committed by GitHub
commit 9afdedc25b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4814,6 +4814,7 @@ bool OSDMonitor::preprocess_command(MonOpRequestRef op)
f->open_object_section("osd_location");
f->dump_int("osd", osd);
f->dump_object("addrs", osdmap.get_addrs(osd));
f->dump_stream("osd_fsid") << osdmap.get_uuid(osd);
// try to identify host, pod/container name, etc.
map<string,string> m;