Ceph Puppet Module
Go to file
Andreas Jaeger 3b8ab1f369 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I8e29f5bcf3a4a32d691bb2d2f1b83907cbb71c0f
2020-06-02 14:33:49 +02:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-02 14:33:49 +02:00
examples Change default version to Ceph Nautilus 2019-04-04 14:40:37 +02:00
lib/puppet Set lowercase for ceph_config values 2017-06-12 14:57:05 -03:00
manifests Fix CentOS Storage SIG mirror URL 2020-05-12 13:00:28 +00:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-02 14:33:49 +02:00
spec Merge "Fix CentOS Storage SIG mirror URL" 2020-05-13 08:10:59 +00:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:39:23 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:31:41 +00:00
.zuul.yaml Make p-o-i jobs voting again for puppet-ceph 2019-04-24 10:42:26 +02:00
CONTRIBUTING.rst [ussuri][goal] Add CONTRIBUTING.rst 2020-05-10 22:32:11 +02:00
Gemfile Move to opendev 2019-04-21 14:44:48 +08:00
LICENSE Add project files 2013-10-20 22:45:54 -07:00
README.md Fix Repository 2019-04-21 13:13:48 +08:00
Rakefile Re-boostrap beaker tests 2016-07-07 16:27:14 -04:00
USECASES.md Remove Puppetfile in favor of metadata.json 2016-04-12 14:34:29 +00:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-30 23:50:26 +00:00
metadata.json Update Puppet requirement to >= 6.0.0 2020-05-30 10:01:05 +02:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-04 09:45:03 +08:00
setup.py Prepare puppet-ceph for 1.0.0 2016-05-06 17:54:13 -04:00
tox.ini [ussuri][goal] Cleanup for python 2.7 drop 2020-02-15 18:42:57 -06:00

README.md

Team and repository tags

Team and repository tags

ceph

Table of Contents

  1. Overview - What is the ceph module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with ceph
  4. Implementation - An under-the-hood peek at what the module is doing
  5. Limitations - OS compatibility, etc.
  6. Use Cases - Examples of how to use this module
  7. Development - Guide for contributing to the module
  8. Beaker Integration Tests - Apply the module and test results
  9. Contributors - Those with commits
  10. Release Notes - Notes on the most recent updates to the module
  11. Repository - Repository for the module

Overview

The ceph module is intended to leverage all Ceph has to offer and allow for a wide range of use case. Although hosted on the OpenStack infrastructure, it does not require to sign a CLA nor is it restricted to OpenStack users. It benefits from a structured development process that helps federate the development effort. Each feature is tested with integration tests involving virtual machines to show that it performs as expected when used with a realistic scenario.

Module Description

The ceph module deploys a Ceph cluster ( MON, OSD ), the Cephfs file system and the RadosGW object store. It provides integration with various environments ( OpenStack ... ) and components to be used by third party puppet modules that depend on a Ceph cluster.

Setup

Implementation

A blueprint contains an inventory of what is desirable. It was decided to start from scratch and implement one module at a time.

Limitations

We follow the OS compatibility of Ceph. With the release of infernalis this is currently:

  • CentOS 7 or later
  • Debian Jessie 8.x or later
  • Ubuntu Trusty 14.04 or later
  • Fedora 22 or later

Use Cases

Development

git clone https://github.com/openstack/puppet-ceph.git
cd puppet-ceph
sudo gem install bundler
bundle install

The developer documentation of the puppet-openstack project is the reference:

Mailing lists:

IRC channels:

  • irc.freenode.net#puppet-openstack
  • irc.oftc.net#ceph-devel

Beaker Integration Tests

Relies on rspec-beaker and tests are in spec/acceptance. It also requires Vagrant and Virtualbox .

bundle install
bundle exec rspec spec/acceptance

The BEAKER_set environment variable contains the resource set of linux distribution configurations for which integration tests are going to be run. Available values are

  • two-centos-70-x64
  • centos-70-x64
  • two-ubuntu-server-1404-x64
  • ubuntu-server-1404-x64

The default is

BEAKER_set=two-ubuntu-server-1404-x64 \
bundle exec rspec spec/acceptance

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes

Repository