]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/OSDMap: Add health warning if 'require-osd-release' != current release
authorSridhar Seshasayee <sseshasa@redhat.com>
Mon, 22 Nov 2021 15:16:02 +0000 (20:46 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Fri, 3 Dec 2021 09:56:02 +0000 (15:26 +0530)
commitbd815bd9d6ecdecaab3d2dd9e0f5a18aa795d749
treea87e1630661f4d78d4566808f72fa36847c143ad
parent6ea3a6b0086477ed5c67ec507d6f336ef2b85209
osd/OSDMap: Add health warning if 'require-osd-release' != current release

After all OSDs are upgraded to a new release, generate a health warning if
the 'require-osd-release' flag doesn't match the the new release version.
This will result in the cluster showing a warning in the health state until
the flag is set properly.

Fixes: https://tracker.ceph.com/issues/51984
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
src/osd/OSDMap.cc
src/osd/OSDMap.h