]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: Fix ceph versions command 51788/head
authorPrashant D <pdhange@redhat.com>
Thu, 25 May 2023 22:09:02 +0000 (18:09 -0400)
committerPrashant D <pdhange@redhat.com>
Fri, 26 May 2023 19:09:21 +0000 (15:09 -0400)
commit6173877518eef91d34bc0cea4848b128b7a7dc26
tree779c53f264088ba40a18a873d8ca82c5f7c51669
parentca23970ff38c811f7abc23a334e2f9af896326cf
mon: Fix ceph versions command

The commit-id d3cca1d has introduced a bug where mgr/osd/mds
version information goes missing during the cluster upgrade.
Collect version information before checking the emptiness
of the map.

Fixes: https://tracker.ceph.com/issues/61453
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit 3fbebe315f25a4d1ce8cb460710ba6da23dc40f4)
src/mon/Monitor.cc