Troubleshooting placement groups
As with the Ceph daemons issues, placement group issues will usually first be seen in the ceph health detail
or status
commands. They are usually accompanied by OSDs that are in a down state or a clock skew issue on the monitors. Prior to moving forward with troubleshooting, placement groups validate that all of your Ceph monitors are up and in quorum and that all Ceph OSDs are in the up/in state. The upcoming recipes will show you how to troubleshoot some of the more common Ceph placement group issues you may come across in your Ceph cluster.
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:
- 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...