Set Ceph pgp_num after pg_num
authorGiulio Fidente <gfidente@redhat.com>
Tue, 19 Sep 2017 10:23:17 +0000 (12:23 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Fri, 22 Sep 2017 09:41:42 +0000 (11:41 +0200)
commita3bb7a5b4e6964e156a6c141cfb8e9cd115a5cef
treeaf4c63d08e8eaaacec68ab376960fc973be8115a
parent0602e95351f3b402fa4fc17478061a000ecde5bd
Set Ceph pgp_num after pg_num

We missed to set the pgp_num default in ceph.conf, causing WARNING
messages like:

  pool default.rgw.buckets.data pg_num 32 > pgp_num 8

Also increases the default pg_num to 128 which is the recommended
value for less than 5 OSDs [1].

1. http://docs.ceph.com/docs/master/rados/operations/placement-groups/

Change-Id: Ibd9fb23e04576e95e24af58f856663397886a947
Closes-Bug: #1718173
(cherry picked from commit 58e6f6533a04eddd2dc897d890737bbccde4ea7b)
docker/services/ceph-ansible/ceph-base.yaml