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
This commit is contained in:
parent
259cf512b3
commit
e17ae7620e
@ -71,6 +71,9 @@ parameter_defaults:
|
|||||||
#http://docs.ceph.com/docs/jewel/rados/configuration/filesystem-recommendations/
|
#http://docs.ceph.com/docs/jewel/rados/configuration/filesystem-recommendations/
|
||||||
ceph::profile::params::osd_max_object_name_len: 256
|
ceph::profile::params::osd_max_object_name_len: 256
|
||||||
ceph::profile::params::osd_max_object_namespace_len: 64
|
ceph::profile::params::osd_max_object_namespace_len: 64
|
||||||
|
#NOTE(gfidente): necessary when deploying a single OSD
|
||||||
|
ceph::profile::params::osd_pool_default_pg_num: 32
|
||||||
|
ceph::profile::params::osd_pool_default_pgp_num: 32
|
||||||
SwiftCeilometerPipelineEnabled: False
|
SwiftCeilometerPipelineEnabled: False
|
||||||
Debug: True
|
Debug: True
|
||||||
NotificationDriver: 'noop'
|
NotificationDriver: 'noop'
|
||||||
|
@ -67,6 +67,9 @@ parameter_defaults:
|
|||||||
#http://docs.ceph.com/docs/jewel/rados/configuration/filesystem-recommendations/
|
#http://docs.ceph.com/docs/jewel/rados/configuration/filesystem-recommendations/
|
||||||
ceph::profile::params::osd_max_object_name_len: 256
|
ceph::profile::params::osd_max_object_name_len: 256
|
||||||
ceph::profile::params::osd_max_object_namespace_len: 64
|
ceph::profile::params::osd_max_object_namespace_len: 64
|
||||||
|
#NOTE(gfidente): necessary when deploying a single OSD
|
||||||
|
ceph::profile::params::osd_pool_default_pg_num: 32
|
||||||
|
ceph::profile::params::osd_pool_default_pgp_num: 32
|
||||||
SwiftCeilometerPipelineEnabled: False
|
SwiftCeilometerPipelineEnabled: False
|
||||||
Debug: True
|
Debug: True
|
||||||
NotificationDriver: 'noop'
|
NotificationDriver: 'noop'
|
||||||
|
@ -103,6 +103,9 @@ parameter_defaults:
|
|||||||
ExtraConfig:
|
ExtraConfig:
|
||||||
ceph::profile::params::osd_max_object_name_len: 256
|
ceph::profile::params::osd_max_object_name_len: 256
|
||||||
ceph::profile::params::osd_max_object_namespace_len: 64
|
ceph::profile::params::osd_max_object_namespace_len: 64
|
||||||
|
#NOTE(gfidente): necessary when deploying a single OSD
|
||||||
|
ceph::profile::params::osd_pool_default_pg_num: 32
|
||||||
|
ceph::profile::params::osd_pool_default_pgp_num: 32
|
||||||
#NOTE: These ID's and keys should be regenerated for
|
#NOTE: These ID's and keys should be regenerated for
|
||||||
# a production deployment. What is here is suitable for
|
# a production deployment. What is here is suitable for
|
||||||
# developer and CI testing only.
|
# developer and CI testing only.
|
||||||
|
@ -89,6 +89,9 @@ parameter_defaults:
|
|||||||
ExtraConfig:
|
ExtraConfig:
|
||||||
ceph::profile::params::osd_max_object_name_len: 256
|
ceph::profile::params::osd_max_object_name_len: 256
|
||||||
ceph::profile::params::osd_max_object_namespace_len: 64
|
ceph::profile::params::osd_max_object_namespace_len: 64
|
||||||
|
#NOTE(gfidente): necessary when deploying a single OSD
|
||||||
|
ceph::profile::params::osd_pool_default_pg_num: 32
|
||||||
|
ceph::profile::params::osd_pool_default_pgp_num: 32
|
||||||
#NOTE: These ID's and keys should be regenerated for
|
#NOTE: These ID's and keys should be regenerated for
|
||||||
# a production deployment. What is here is suitable for
|
# a production deployment. What is here is suitable for
|
||||||
# developer and CI testing only.
|
# developer and CI testing only.
|
||||||
|
@ -89,6 +89,9 @@ parameter_defaults:
|
|||||||
ExtraConfig:
|
ExtraConfig:
|
||||||
ceph::profile::params::osd_max_object_name_len: 256
|
ceph::profile::params::osd_max_object_name_len: 256
|
||||||
ceph::profile::params::osd_max_object_namespace_len: 64
|
ceph::profile::params::osd_max_object_namespace_len: 64
|
||||||
|
#NOTE(gfidente): necessary when deploying a single OSD
|
||||||
|
ceph::profile::params::osd_pool_default_pg_num: 32
|
||||||
|
ceph::profile::params::osd_pool_default_pgp_num: 32
|
||||||
#NOTE: These ID's and keys should be regenerated for
|
#NOTE: These ID's and keys should be regenerated for
|
||||||
# a production deployment. What is here is suitable for
|
# a production deployment. What is here is suitable for
|
||||||
# developer and CI testing only.
|
# developer and CI testing only.
|
||||||
|
@ -109,8 +109,8 @@ outputs:
|
|||||||
- get_attr: [CephBase, role_data, config_settings]
|
- get_attr: [CephBase, role_data, config_settings]
|
||||||
- ceph::profile::params::ms_bind_ipv6: {get_param: CephIPv6}
|
- ceph::profile::params::ms_bind_ipv6: {get_param: CephIPv6}
|
||||||
ceph::profile::params::mon_key: {get_param: CephMonKey}
|
ceph::profile::params::mon_key: {get_param: CephMonKey}
|
||||||
ceph::profile::params::osd_pool_default_pg_num: 32
|
ceph::profile::params::osd_pool_default_pg_num: 128
|
||||||
ceph::profile::params::osd_pool_default_pgp_num: 32
|
ceph::profile::params::osd_pool_default_pgp_num: 128
|
||||||
ceph::profile::params::osd_pool_default_size: {get_param: CephPoolDefaultSize}
|
ceph::profile::params::osd_pool_default_size: {get_param: CephPoolDefaultSize}
|
||||||
# repeat returns items in a list, so we need to map_merge twice
|
# repeat returns items in a list, so we need to map_merge twice
|
||||||
tripleo::profile::base::ceph::mon::ceph_pools:
|
tripleo::profile::base::ceph::mon::ceph_pools:
|
||||||
|
Loading…
Reference in New Issue
Block a user