Configuring Ceph with Custom Config Settings

This guide assumes that your undercloud is already installed and ready to deploy an overcloud.

Customizing ceph.conf

Ceph demands for more careful configuration when deployed at scale.

It is possible to override any of the configuration parameters supported by puppet-ceph at deployment time via Heat environment files. For example:

    ceph::profile::params::osd_journal_size: 2048

will customize the default osd_journal_size overriding any default provided in the ceph.yaml static hieradata.

Remember to add such an environment file to the deploy commandline:

openstack overcloud deploy --templates --ceph-storage-scale <number of nodes> -e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml -e ~/my-ceph-settings.yaml

It is also possible to provide arbitrary stanza/key/value lines for ceph.conf using the special ceph::conf configuration class. For example by using:

        value: 131072
        value: my_value

the resulting ceph.conf file should be populated with the following:

max_open_files: 131072
my_setting: my_value


The Node customization and Third-Party Integration doc has a more details on the usage of the different ExtraConfig interfaces.

Table Of Contents

Previous topic

Configuring Cinder with a NetApp Backend

Next topic

Use an external Ceph cluster with the Overcloud

This Page

Limit Environment Specific Content
Operating Systems
RHEL Registration Types
Additional Overcloud Roles
Development options
Upgrade Version
TripleO: OpenStack Deployment   Documentation | Code Reviews | CI Status | CI Extended | Planet