]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Report health error if OSD public address is not within subnet
authorPrashant D <pdhange@redhat.com>
Wed, 15 Jun 2022 07:16:35 +0000 (03:16 -0400)
committerPrashant D <pdhange@redhat.com>
Mon, 10 Jul 2023 21:32:59 +0000 (17:32 -0400)
commit1332cc428b3f73a0f7eb8ca715aa4bb5d34bbeb5
tree8b1e9178990387b04460b798c47d48c88c607a91
parent1811b69f0a0a510450d1693f684fac2d9d7e9cb7
osd: Report health error if OSD public address is not within subnet

In a containerized environment after a OSD node reboot, due to
some race condition in systemd some OSDs registered their
v1/v2 public addresses on cluster network instead on
defined public_network. Report this inconsistency as a health
error as RADOS clients fail to connect to the cluster.

Fixes: https://tracker.ceph.com/issues/56057
Signed-off-by: Prashant D <pdhange@redhat.com>
doc/rados/operations/health-checks.rst
src/common/pick_address.cc
src/common/pick_address.h
src/osd/OSDMap.cc
src/osd/OSDMap.h