Ceph Puppet Module
Go to file
Takashi Kajinami 82343e1cda setuptools: Disable auto discovery
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.

~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~

Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.

To disable auto discovery, one can do below in setup.py

~~~
setuptools.setup(..,packages=[],..)
~~~

or

~~~
setuptools.setup(..,py_modules=[],..)
~~~

[1] https://github.com/pypa/setuptools/issues/3197

Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.

Change-Id: Ibc71fa7185f7883da51db8e7aa284ddf3fa6cda8
Co-Authored-By: Jiri Podivin <jpodivin@redhat.com>
2022-03-29 19:01:30 +09:00
doc Update openstackdocstheme to the latest version 2021-09-29 16:06:50 +08:00
examples Change default version to Ceph Nautilus 2019-04-04 14:40:37 +02:00
lib/puppet Hide credential strings from puppet logs 2021-11-29 13:16:58 +00:00
manifests CentOS: Allow fixing repository url for CentOS Stream 2022-02-02 19:09:31 +09:00
releasenotes remove unicode literal from code 2022-03-08 09:37:56 +09:00
spec CentOS: Allow fixing repository url for CentOS Stream 2022-02-02 19:09:31 +09: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
bindep.txt Add Puppet package to bindep, for module build 2017-10-30 23:50:26 +00:00
CONTRIBUTING.rst [ussuri][goal] Add CONTRIBUTING.rst 2020-05-10 22:32:11 +02:00
Gemfile Use openstack_spec_helper from zuul checkout 2020-08-30 22:53:44 +02:00
LICENSE Add project files 2013-10-20 22:45:54 -07:00
metadata.json Release 3.2.0 2022-02-23 01:49:25 +09:00
Rakefile Re-boostrap beaker tests 2016-07-07 16:27:14 -04:00
README.md Update IRC network to OFTC 2021-05-31 15:38:29 +00:00
setup.cfg Add information technology in the setup.cfg 2021-10-01 06:54:49 +08:00
setup.py setuptools: Disable auto discovery 2022-03-29 19:01:30 +09:00
tox.ini Stop configuring install_command in tox. 2021-09-29 18:04:32 +09:00
USECASES.md Remove Puppetfile in favor of metadata.json 2016-04-12 14:34:29 +00:00

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. Contributors - Those with commits
  9. Release Notes - Notes on the most recent updates to the module
  10. 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.oftc.net#puppet-openstack
  • irc.oftc.net#ceph-devel

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes

Repository