Ceph suggests defaulting pg_num to 128 when using < 5 OSDs

Bug #1718756 reported by Giulio Fidente
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Giulio Fidente

Bug Description

Currently tripleo-heat-templates defaults to pg_num: 32 while best practices suggest setting it to 128 for less then 5 OSDs [1].

This value could be set using derived parameters workflow but we need to use a better default anyway.

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

Revision history for this message
Giulio Fidente (gfidente) wrote :

This was fixed in the ceph-ansible profiles by https://review.openstack.org/#/c/505153/ but not in the puppet profiles.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/506330

Changed in tripleo:
assignee: nobody → Giulio Fidente (gfidente)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/506330
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=e17ae7620e03790da0d29092ab42e8089b2e8d11
Submitter: Jenkins
Branch: master

commit e17ae7620e03790da0d29092ab42e8089b2e8d11
Author: Giulio Fidente <email address hidden>
Date: Thu Sep 21 21:18:01 2017 +0200

    Default Ceph pg_num and pgp_num to 128

    As per Ceph docs [1] we should default pg_num and pgp_num to 128 when
    using less than 5 OSDs.

    This same change was applied to the ceph-ansible profiles with [2].

    Also updates the CI environment files to continue using 32 where we
    deploy a single OSD.

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

    Change-Id: I1920bc8f5251f362af38ad3bd6f46dda42c6ee93
    Closes-Bug: #1718756

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/507777

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/507778

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/507779

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/pike)

Reviewed: https://review.openstack.org/507777
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=6faca15437bf0c8b88aa424b4bc9e3a0b870e863
Submitter: Jenkins
Branch: stable/pike

commit 6faca15437bf0c8b88aa424b4bc9e3a0b870e863
Author: Giulio Fidente <email address hidden>
Date: Thu Sep 21 21:18:01 2017 +0200

    Default Ceph pg_num and pgp_num to 128

    As per Ceph docs [1] we should default pg_num and pgp_num to 128 when
    using less than 5 OSDs.

    This same change was applied to the ceph-ansible profiles with [2].

    Also updates the CI environment files to continue using 32 where we
    deploy a single OSD.

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

    Change-Id: I1920bc8f5251f362af38ad3bd6f46dda42c6ee93
    Closes-Bug: #1718756
    (cherry picked from commit e17ae7620e03790da0d29092ab42e8089b2e8d11)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/507779
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=27ec78be9d128ac9be67e688533bd755ce49b7ee
Submitter: Jenkins
Branch: stable/newton

commit 27ec78be9d128ac9be67e688533bd755ce49b7ee
Author: Giulio Fidente <email address hidden>
Date: Thu Sep 21 21:18:01 2017 +0200

    Default Ceph pg_num and pgp_num to 128

    As per Ceph docs [1] we should default pg_num and pgp_num to 128 when
    using less than 5 OSDs.

    This same change was applied to the ceph-ansible profiles with [2].

    Also updates the CI environment files to continue using 32 where we
    deploy a single OSD.

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

    Change-Id: I1920bc8f5251f362af38ad3bd6f46dda42c6ee93
    Closes-Bug: #1718756
    (cherry picked from commit e17ae7620e03790da0d29092ab42e8089b2e8d11)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.2

This issue was fixed in the openstack/tripleo-heat-templates 7.0.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.3.3

This issue was fixed in the openstack/tripleo-heat-templates 5.3.3 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/ocata)

Reviewed: https://review.openstack.org/507778
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=8ff1b79f5d2accf7ab5c5b70c72408b420bcb621
Submitter: Zuul
Branch: stable/ocata

commit 8ff1b79f5d2accf7ab5c5b70c72408b420bcb621
Author: Giulio Fidente <email address hidden>
Date: Thu Sep 21 21:18:01 2017 +0200

    Default Ceph pg_num and pgp_num to 128

    As per Ceph docs [1] we should default pg_num and pgp_num to 128 when
    using less than 5 OSDs.

    This same change was applied to the ceph-ansible profiles with [2].

    Also updates the CI environment files to continue using 32 where we
    deploy a single OSD.

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

    Change-Id: I1920bc8f5251f362af38ad3bd6f46dda42c6ee93
    Closes-Bug: #1718756
    (cherry picked from commit e17ae7620e03790da0d29092ab42e8089b2e8d11)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.2.5

This issue was fixed in the openstack/tripleo-heat-templates 6.2.5 release.

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.