Ceph provides a script to generate a graph for the peering state machine, which is super helpful to study the state transitions of placement groups. To generate the graph, here are the commands: This is the latest SVG file I generated from the source as of this writing: There would be a lot to learn