Commit Graph

14 Commits

Author SHA1 Message Date
Tobias Urdin 54718a13ac Change default version to Ceph Nautilus
Changes the default ceph version on master to
Ceph Nautilus now that we have the stable/mimic
branch.

Change-Id: Ie357d94ab06e0e33bcf890cc83b77b25fe52ffa3
2019-04-04 14:40:37 +02:00
Tobias Urdin c65d73d64b Add Mimic support
This changes the repos to use Mimic.
Probably needs a lot of other work but it's a start.

A patch will be pushed to p-o-i to test Mimic.

Change-Id: I62bddf421f3fae6a22b1a58f42bbbf80c53fdd8d
2018-06-03 23:03:47 +02:00
Mohammed Naser 710364b405
Add Luminous support for CentOS
Change-Id: Ic4d4219892d13d7a9c1b06c1fc19d512a3996032
2017-09-27 15:39:32 -04:00
Jan Provaznik 28e8f4525f Add cephfs resource type and profile
This resource type can be used for setting up cephfs, it
expects FS name, data and metadata pool names as input
parameters. Data and metadata pools should already exist.

Change-Id: I18436a64fc991b9e697a1d79e369ac110cf8fe20
Partial-Bug: #1644784
2017-01-10 14:48:12 +01:00
cdelatte 63530d08fe Adding OSD level params
The osd parameters added will be disabled by default as to not cause duplicate declarations for
users defining this with in-house puppet modules

Closes-Bug: #1488126
Change-Id: I87fe265370adaf1c02e23ffe6ad63bdc93649438
2016-07-13 10:14:10 -04:00
Emilien Macchi 68ea744762 Bump to Jewel
This patch bumps puppet-ceph to use Jewel, the new LTS that will replace
Hammer (previous LTS).

* Change defaults repositories to download Jewel by default except on
  CentOS [1].
* Ensure mon/osd files are created as the ceph user [2] only if ceph
  user is present on the system (managed by ceph packaging since Jewel).
* Rename radosgw service to match with Jewel packaging.
* acceptance: configure Ceph to limit OSD object name lengths for ext4.
* acceptance: deploy Jewel for Ubuntu and Hammer on CentOS7, packages
  are not ready for CentOS SIG:
  http://buildlogs.centos.org/centos/7/storage/x86_64/ceph-jewel/
* acceptance: limit OSD object name lengths for ext4:
  As of the Ceph Jewel release, certain limitations apply to OSD object
  name lengths: specifically if ext4 is in use for block devices or a
  directory based OSD is configured, OSD's must be configured to limit
  object name length [3].

[1] https://bugs.centos.org/view.php?id=10803
[2] http://docs.ceph.com/docs/master/release-notes/#upgrading-from-hammer
[3] Thanks to James Page: https://review.openstack.org/#/c/318612/1

Change-Id: I2ebe0fbab10d04b21c851df64d60b834f4006d3a
2016-06-03 14:27:30 -04:00
David Gurtner bf32e98123 Fix example and test values for journal disks
* if providing an external journal disk, provide the disk and not
  the partition
* do not put things into /tmp

Change-Id: If6e4ae171d4339d06352108fcac3a27854c448b8
2015-10-08 10:08:12 +02:00
Giulio Fidente 6cb9a00898 Allow customization of OSDs journal size via class param
Customization of the journal file/dev size is recommended by the
Ceph documentation as it depends on drives speed and sync interval.

Change-Id: Iaa32aca538b0bcad544641dcd7b67448fb4cada5
2015-08-12 15:48:18 +02:00
Florian Haas 2b0ba61b46 Bump default release to hammer
Closes-Bug: 1468865

Change-Id: I4d4710e58a54ff079245bb9e811fb5e632b66553
2015-07-01 22:23:10 +02:00
David Moreau Simard 2041c1e7b5 Increase flexibility with managing client keys in profile
This commit introduces the client_keys hash parameter to
ceph::profile. This allows one to use the profile to inject
and configure any client keys with any parameter.

Backwards compatibility is *NOT* maintained for the purpose
of staying as clean and as simple as possible in the context
of drafting the first stable release of puppet-ceph.
This avoids shipping the first stable release with, already,
a deprecation that will have to be maintained throughout an
entire release cycle.

Some tests have been added and test coverage is in general
improved as part of this commit.

Change-Id: Ie6adbd601388ab52c37037004bd0ceef9fc41942
2015-03-05 18:50:23 -05:00
David Moreau Simard e147439ecd Bump default version to giant, test against giant and drop emperor
- The default version in repo should be the latest stable release
- We want to keep tests against all LTS releases as well as the
latest stable release. So drop emperor and add giant. When hammer
is released, we will drop giant and add hammer.

Change-Id: I753c0ef326c4b8585e9e9f330a64160f95edd8a8
2015-02-02 10:45:12 -05:00
David Gurtner 227241986e OSD profile for roles/profiles pattern
This provides a profile for OSD machines in the context
of a roles/profiles pattern.

The OSD profile takes a hash from hiera and creates disks accordingly.

Example hiera files are provided.

Change-Id: I2ec9616e9a899cf122bcd0e666b779ed1fd76c33
2014-07-10 17:48:36 +00:00
David Gurtner 831f144e81 Mon profile for roles/profiles pattern
This provides a profile for monitor instances in the context of a
roles/profiles pattern.

The roles/profiles pattern is a way to combine ceph manifests into
functional units:

Profiles combine multiple manifest to provide a single service. For
example a ceph monitor server needs the repository, packages,
configuration and finally the monitor service.

Roles define sets of profiles to configure a specific server. For
example an allinone role would install the monitor as well as an osd
profile.

The learn more have a look at:
http://www.slideshare.net/PuppetLabs/roles-talk

All configuration happens via hiera. Example hiera files are
provided.

Change-Id: If07d18cdb202706c8478570027e80a85c8159d31
NB: this uses hiera autoloading and will only work with Puppet >=3.0
2014-06-20 16:55:23 +02:00
David Gurtner 4ea286a15b Initial classes/tests for a roles/profiles pattern
This is a first step to providing roles/profiles manifests according
to the roles/profiles pattern.

The roles/profiles pattern is a way to combine ceph manifests into
functional units:

Profiles combine multiple manifest to provide a single service. For
example a ceph monitor server needs the repository, packages,
configuration and finally the monitor service.

Roles define sets of profiles to configure a specific server. For
example an allinone role would install the monitor as well as an osd
profile.

The learn more have a look at:
http://www.slideshare.net/PuppetLabs/roles-talk

To start with the basic configuration this provides:
* params: extracts the configuration from hiera
* base: installs ceph and configures ceph.conf

All configuration happens via hiera. Example hiera files are
provided.

NB: this uses hiera autoloading and will only work with Puppet >=3.0

Change-Id: Iba9aca7f124bd3a719dc18292b18fc0f4f386d5c
2014-05-30 18:02:01 +02:00