How to do it...

Before you begin troubleshooting PG states, validate that the Ceph monitors are all up and in quorum and that any available OSDs are also in the up/in state:

  1. How to handle stale placement groups:
    • A PG is labeled stale by the Ceph monitor when it does not receive a status update of the PG from the primary OSD or if a peer OSD reports the primary OSD as down.
    • The stale PG state is commonly seen after recently bringing the Ceph cluster up and when the PGs have not completed peering.
    • If the PG is stuck in a stale state, then validate with ceph health detail about which OSDs are currently down in the PG's acting set and attempt to bring that OSD online. If you're unable to bring it online, refer to the previous section on Troubleshooting ...

Get Ceph Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.