summaryrefslogtreecommitdiffstats
path: root/puppet/hieradata/ceph.yaml
AgeCommit message (Collapse)AuthorFilesLines
2016-07-29move hieradata/ceph into ceph-base serviceEmilien Macchi1-8/+1
Part of composable roles work, move hieradata/ceph into the ceph-base profile directly. Also add a comment in all hieradata files to stop adding more data and use composable services. Change-Id: I97cc22a253b547be6b99312b6072f53b428aae2c
2016-06-29Don't set selinux in 'permissive' mode on CephStorage nodesGiulio Fidente1-2/+0
Change-Id: I469f2bd429eba23b2010b7380e794c67b18e7a47 Depends-On: I1aa46086f69e7c3efd2782da62fd18ade8343fde Partial-Bug: 1595518
2016-05-31Don't overwrite ceph osd_journal_sizeErno Kuvaja1-1/+0
The default journal size is 5 gigs. This change stops us overwriting it with 1 gig that is too small for production. The config value is used by ceph only when it creates the journal so this does not affect upgrades. Change-Id: I4bfd2ab47e131d8fcdd5dc75a5a56cfae8b22d5a
2015-11-13Pass ceph::pool arguments when calling classGiulio Fidente1-2/+2
Pass the ceph::pool properties as arguments to the class call instead of setting them as class defaults. Ceph recommends max 32 PGs and min 4 PGs per OSD so this change also lowers the defaults to 32 which works with 1 OSD, suits well a scenario with 3 OSDs and is easy to customize in the static hiera if more than 8 OSDs are deployed. More info at: https://bugzilla.redhat.com/show_bug.cgi?id=1252546 Change-Id: Ifed11d1857900b2251dfdf69d6b6f168150e6330
2015-11-05Allow customization of the Ceph pool namesGiulio Fidente1-5/+0
This is useful in those scenarios were we want to use an external Ceph deployment with multiple overclouds. Change-Id: I1749d2a6547f6ce25843709e46a1447e8d42cfff
2015-07-13Ensure SELinux is permissive on Ceph OSDsJiri Stransky1-1/+3
Currently we build the overcloud image with selinux-permissive element in CI. However, even in environments where selinux-permissive element is not used, it should be ensured that SELinux is set to permissive mode on nodes with Ceph OSD [1]. We have no nice way to manage SELinux status via Puppet at the moment, so i'm resorting to execs, but with proper "onlyif" guards. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1241422 Change-Id: I31bd685ad4800261fd317eef759bcfd285f2ba80
2015-07-06Allow customization of included classes via hieradataGiulio Fidente1-0/+2
Allows inclusion of additional arbitrary puppet classes by the manifests if defined in the *_classes hieradata. Example: to specify the Nova RAM allocation ratio there is a param in nova::scheduler::filter but we do not include it by default; if needed one can use: nova::scheduler::filter::ram_allocation_ratio: 1.8 controller_classes: - nova::scheduler::filter Change-Id: I61d64d2498bed5c49376dee917d106598392db51
2015-05-05Merge "Move Ceph OSD data path configuration into static ceph.yaml file"Jenkins1-0/+1
2015-05-04Add support for Glance RBD backendDan Prince1-0/+1
This patch adds support for a new GlanceBackend setting which can be set to one of swift, rbd, or file to control which Glance backend is configured for use by default. Change-Id: Id6a3fbc3477e85e8e2446e3dc13d424f9535d0ff
2015-04-24Move Ceph OSD data path configuration into static ceph.yaml fileGiulio Fidente1-0/+1
Change-Id: I577dc98cdf3648c9eb77bd084ae18273a52b22f9
2015-03-27Restructure Ceph/Puppet params to reflect changes in puppet-cephGiulio Fidente1-2/+0
A change [1] in puppet-ceph offers more flexibility but breaks backwards so we had to update our composition layer as well; we gain control of the cephx keyring in the template though. 1. Ie6adbd601388ab52c37037004bd0ceef9fc41942 Change-Id: Ia8196849afce2969daa608828cec81ebe3ac96e1
2015-03-18Add support for Ceph as a Cinder and Nova backendYanis Guenane1-0/+6
This commit aims to add support for Ceph as a cinder and a nova backend. * Allows creation of Ceph pools from heat (Default: volumes, vms) * Creates the proper ceph user and inject the keys * Applies the proper configuration in cinder.conf and nova.conf * Enable the backend out of the box Co-Authored-By: Giulio Fidente <gfidente@redhat.com> Change-Id: Ic17d7a665de81a8bab5e34035abe90eda4bc889f
2015-03-05Puppet: First support CephEmilien Macchi1-0/+7
This is a first implementation of Ceph support in TripleO with Puppet: * Install ceph-mon on controller node * Install ceph-osd on cephstorage node Co-Authored-By: Giulio Fidente <gfidente@redhat.com> Change-Id: I48488cbe950047fae5e746e458106d6edb9a6183