Files
puppet-ceph/manifests/profile/base.pp
Giulio Fidente 658dc50aed Adding object name[space] parameters
With Jewel the ceph-osd daemon will refuse to start if the configured
rados max object name length cannot be safely stored [1],[2].

Adding options for osd_max_object_name_len and osd_max_object_namespace_len,

1. http://tracker.ceph.com/issues/16187
2: http://docs.ceph.com/docs/jewel/rados/configuration/filesystem-recommendations/#filesystems

Change-Id: Id487d6d656e88dfe29eac80c378058551c92dfd9
2016-09-07 17:04:36 -06:00

56 lines
2.6 KiB
Puppet

#
# Copyright (C) 2014 Nine Internet Solutions AG
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Author: David Gurtner <aldavud@crimson.ch>
#
# == Class: ceph::profile::base
#
# Base profile to install ceph and configure /etc/ceph/ceph.conf
#
class ceph::profile::base {
include ::ceph::profile::params
if ( $ceph::profile::params::manage_repo ) {
Class['ceph::repo'] -> Class['ceph']
class { '::ceph::repo':
release => $ceph::profile::params::release,
}
}
class { '::ceph':
fsid => $ceph::profile::params::fsid,
authentication_type => $ceph::profile::params::authentication_type,
osd_journal_size => $ceph::profile::params::osd_journal_size,
osd_max_object_name_len => $ceph::profile::params::osd_max_object_name_len,
osd_max_object_namespace_len => $ceph::profile::params::osd_max_object_namespace_len,
osd_pool_default_pg_num => $ceph::profile::params::osd_pool_default_pg_num,
osd_pool_default_pgp_num => $ceph::profile::params::osd_pool_default_pgp_num,
osd_pool_default_size => $ceph::profile::params::osd_pool_default_size,
osd_pool_default_min_size => $ceph::profile::params::osd_pool_default_min_size,
mon_initial_members => $ceph::profile::params::mon_initial_members,
mon_host => $ceph::profile::params::mon_host,
ms_bind_ipv6 => $ceph::profile::params::ms_bind_ipv6,
cluster_network => $ceph::profile::params::cluster_network,
public_network => $ceph::profile::params::public_network,
osd_max_backfills => $ceph::profile::params::osd_max_backfills,
osd_recovery_max_active => $ceph::profile::params::osd_recovery_max_active,
osd_recovery_op_priority => $ceph::profile::params::osd_recovery_op_priority,
osd_recovery_max_single_start => $ceph::profile::params::osd_recovery_max_single_start,
osd_max_scrubs => $ceph::profile::params::osd_max_scrubs,
osd_op_threads => $ceph::profile::params::osd_op_threads,
}
}