Ceph Puppet Module
Go to file
Brandon Weeks a9f20b38f9 Fixes circular argument reference in Ruby >=2.2
Change-Id: I114611a228b8499a86dff48726fba32b8ad06e99
2016-02-09 12:50:58 -08:00
examples Fix example and test values for journal disks 2015-10-08 10:08:12 +02:00
lib/puppet Add ceph_config ini helper 2013-10-25 10:22:01 -07:00
manifests Merge "Split the Rados GW tests into parts" 2016-02-08 18:19:15 +00:00
spec Fixes circular argument reference in Ruby >=2.2 2016-02-09 12:50:58 -08:00
.fixtures.yml Add EL7 Support, Fix unit and integration tests 2015-06-30 16:29:26 -04:00
.gitignore Drop deprecated rspec-system tests and releases 2016-02-06 17:52:04 +01:00
.gitreview Update .gitreview for new namespace 2015-11-05 17:15:13 -05:00
.nodeset.yml Update CI boxes to latest versions 2015-02-28 11:18:06 +00:00
.prefabs.yml Update CI boxes to latest versions 2015-02-28 11:18:06 +00:00
Gemfile drop mock dependency 2016-01-22 09:31:57 -05:00
LICENSE Add project files 2013-10-20 22:45:54 -07:00
metadata.json Replace all StackForge names to OpenStack 2015-11-09 21:22:24 +03:00
Puppetfile Drop deprecated rspec-system tests and releases 2016-02-06 17:52:04 +01:00
Rakefile Remove class_parameter_defaults puppet-lint check 2015-11-12 12:30:39 +01:00
README.md Drop deprecated rspec-system tests and releases 2016-02-06 17:52:04 +01:00
USECASES.md Fix to allow for arbitrary interface naming 2015-02-19 00:08:16 +01:00

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 restults
  9. Contributors - Those with commits
  10. Release Notes - Notes on the most recent updates to 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

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

Contributors

Release Notes