]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: Fix ceph versions command
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 00:30:55 +0000 (20:30 -0400)
commit3fbebe315f25a4d1ce8cb460710ba6da23dc40f4
tree35767580482cc5218e348946e39f950e3da4bb81
parente05a42f56c5c747f9df7e7c352143321b4b2d0b3
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>
src/mon/Monitor.cc