account the number of osds when setting pg_num/pgp_num

Bug #1323164 reported by Ricardo Rocha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-ceph
Triaged
Wishlist
Unassigned

Bug Description

If not given explicitly as a param, we currently set the pg_num to a default (64) which does not take into account the number of OSDs in the cluster.

As described in:
http://ceph.com/docs/master/rados/operations/placement-groups/

there's a recommendation of setting this value to (OSDs * 100) / replicas.

We should look at a way to put this recommendation in practice, which requires keeping track of the number of available OSDs in puppet (not there now).

Changed in puppet-ceph:
assignee: nobody → Romain Lenormand (romain-lenormand)
Changed in puppet-ceph:
status: New → In Progress
Changed in puppet-ceph:
assignee: Romain Lenormand (romain-lenormand) → nobody
status: In Progress → New
David Gurtner (aldavud)
Changed in puppet-ceph:
importance: Undecided → Wishlist
Changed in puppet-ceph:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.