Files
my-rook-config/deploy/examples
sp98 639b1ae25a osd: make osd pod to sleep when osds are flapping
When OSDs flap, ceph stops the OSD daemon if its marked down greater than
5 times in 600 seconds. But OSD pod restarts and marks the OSD `up` again.
This causes the PGs mapped to these OSDs to peer. While the PGs are peering,
IO to these PGs are blocked.

So we need to ensure that if ceph is marking OSD `down` due to flapping, OSD pod
should not restart to mark the OSDs `up` again.

This PR adds a sleep to the OSD pod if the container returned with a 0 exit code
Default behavior is to sleep for 6 hrs. But user can configure it from the
ceph cluster spec.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 4eb9f62205)
2023-09-15 18:24:50 +00:00
..
2021-11-30 09:12:53 +01:00
2021-11-30 09:12:53 +01:00
2021-11-30 09:12:53 +01:00
2021-11-30 09:12:53 +01:00
2022-04-05 10:10:04 +05:30
2021-11-30 09:12:53 +01:00

For documentation on running Rook in your Kubernetes cluster see the Kubernetes Quickstart Guide