]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Wed, 2 Feb 2022 05:06:30 +0000 (10:36 +0530)
commit655a5304274d0fc700595da9bf7bfa94853f8820
tree22be35329ea2ab864da311b7aa9f4b7543c3c037
parente0aaec1e167344c5e3171dbd45219c6997c9f81d
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>
(cherry picked from commit bd815bd9d6ecdecaab3d2dd9e0f5a18aa795d749)

Conflicts:
    src/osd/OSDMap.cc
- Removed checks for non-existent ceph_release_t 'quincy' flag from
  OSDMap::pending_require_osd_release().
src/osd/OSDMap.cc
src/osd/OSDMap.h