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().