RETIRED, Flexible Puppet implementation capable of configuring a scalable OpenStack Cloud
Go to file
Dimitri Savineau 1b6bd9247f Allow to override the max connections for MySQL
In large deployment when we want to launch more than 100 vms at the same time
we reach the maximum of connections in haproxy and MySQL.
This patch increase the default value from 1000 to 4096 and allow to override
this value with Hiera.

Change-Id: I1f0d02c3125ce27266ac1198e32e39b1a34ce670
2015-06-15 13:04:07 -04:00
files/qemu ceilometer-central-agent: Remove dependency from pacemaker 2015-03-03 10:13:02 +01:00
lib/facter Do not recreate Galera cluster 2015-04-08 21:24:15 +02:00
manifests Allow to override the max connections for MySQL 2015-06-15 13:04:07 -04:00
scripts PuppetDB: change PEM certificate location 2015-02-09 11:41:06 -05:00
spec Allow to override the max connections for MySQL 2015-06-15 13:04:07 -04:00
templates Allow to override the max connections for MySQL 2015-06-15 13:04:07 -04:00
.forgeignore (forgeignore) Ignore generated html documentation for puppetforge module 2014-11-03 00:32:08 +01:00
.gitignore (fixtures): Fix cloud module reference (need to be a symlink) 2014-11-16 21:30:09 +01:00
.gitreview Add missing .gitreview file 2014-11-20 16:10:42 -05:00
.travis.yml (travis) Speed-up travis, and use same puppet version than stackforge 2014-11-11 17:31:29 +01:00
CHANGELOG.md CHANGELOG: Add Horizon vhost_extra_params feature 2014-10-23 16:46:39 -04:00
Gemfile gemfile: Clean gemfile (fall-back to released version for rspec-puppet) 2015-02-03 18:12:03 +01:00
LICENSE Cleanup module 2013-12-30 10:12:25 +01:00
Puppetfile Validate MongoDB is running before Ceilometer DB config 2015-06-09 10:19:12 -04:00
README.md Fix bug and changelog URLs in the README file 2015-03-16 14:47:56 +01:00
Rakefile Puppetfile: come back again 2015-03-10 11:22:59 -04:00
metadata.json Change Openstack/openstack to OpenStack 2015-03-13 18:36:12 +01:00

README.md

puppet-openstack-cloud

Build Status Puppet Forge License

Table of Contents

  1. Overview - What is the cloud module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with puppet-openstack-cloud
  4. Implementation - An under-the-hood peek at what the module is doing
  5. Limitations - OS compatibility, etc.
  6. Getting Involved - How to go deeper
  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

Overview

The puppet-openstack-cloud module is a flexible Puppet composition layer capable of configuring the core OpenStack services:

Cinder, Glance and Nova can use Ceph as backend storage, using puppet-ceph.

Only KVM and QEMU are supported as hypervisors, for now.

Neutron use ML2 plugin with GRE and Open-vSwitch drivers.

Cinder has multi-backend support:

  • RBD (default)
  • NetAPP
  • iSCSI
  • EMC VNX direct
  • NFS

Glance supports different backends:

  • RBD (default)
  • file
  • NFS (mount a NFS share by using file backend)
  • Swift

Neutron supports:

  • ML2 plugin with OVS agent (GRE + VXLAN supported)
  • Cisco plugin with N1KV agent (non-ML2)

Trove support is now experimental.

Puppet Modules are a collection of related contents that can be used to model the configuration of a discrete service.

These Puppet modules are based on the openstack documentation.

Module Description

There are a lot of moving pieces in OpenStack, consequently there are several Puppet modules needed to cover all these pieces. Each module is then made up of several class definitions, resource declarations, defined resources, and custom types/providers. A common pattern to reduce this complexity in Puppet is to create a composite module that bundles all these component type modules into a common set of configurations. The cloud module is doing this compositing and exposing a set of variables needed to be successful in getting a functional stack up and running.

Pre-module Dependencies

  • Puppet 3 or greater
  • Facter 1.6.1 or greater (versions that support the osfamily fact)

Notes about Puppet3

Puppet 3.x isn't yet available on Debian/RedHat stable osfamily, but hopefully puppet provides a Official repository, please see this page for the setup.

Platforms

These modules have been fully tested on Ubuntu Precise and Debian Wheezy and RHEL 6.

Setup

What the cloud module affects

  • The entirety of OpenStack!

Installing Puppet

Puppet Labs provides two tools for getting started with managing configuration modeling with Puppet, Puppet Enterprise or its underlying opensource projects, i.e. Puppet and MCollective.

  • Puppet Enterprise is a complete configuration management platform, with an optimized set of components proven to work well together. Is free up to 10 nodes so if you're just using Puppet for OpenStack management this might just work perfectly. It will come configured with a handful of extra components that make for a richer experience, like a web interface for managing the orchestration of Puppet and certificate management.
  • Puppet manages your servers: you describe machine configurations in an easy-to-read declarative language, and Puppet will bring your systems into the desired state and keep them there. This is the opensource version of Puppet and should be available in your operating system's package repositories but it is generally suggested you use the yum or apt repositories from Puppet Labs if possible.

Consult the documentation linked above to help you make your decision but don't fret about the choice to much, opensource Puppet agents are compatible with Puppet Enterprise Puppet masters.

Optional Puppet features

The swift portions of this module needs Puppet's exported resources. Exported resources leverages the PuppetDB to export and share data across other Puppet managed nodes.

Installing latest unstable cloud module from source

cd /etc/puppet/modules
git clone git@github.com:redhat-openstack/openstack-puppet-modules.git modules
cd modules
git checkout -b puppet-openstack-cloud origin/enovance
gem install --no-ri --no-rdoc r10k
# a debian package is available in jessie
PUPPETFILE=./Puppetfile PUPPETFILE_DIR=../ r10k --verbose 3 puppetfile install

Pre-puppet setup

The things that follow can be handled by Puppet but are out of scope of this document and are not included in the cloud module.

Beginning with puppet-openstack-cloud

Utilization of this module can come in many forms. It was designed to be capable of deploying all services to a single node or distributed across several. This is not an exhaustive list, we recommend you consult and understand all the manifests included in this module and the core openstack documentation.

Implementation

(more doc should be written here)

Limitations

  • Deploys only with rabbitmq and mysql RPC/data backends.
  • Not backwards compatible with pre-2.x release of the cloud modules.

Getting Involved

Need a feature? Found a bug? Let us know!

We are extremely interested in growing a community of OpenStack experts and users around these modules so they can serve as an example of consolidated best practices of how to deploy OpenStack.

The best way to get help with this set of modules is to email the group associated with this project:

dev [at] enovance [dot] com

Issues should be opened here:

https://bugs.launchpad.net/puppet-openstack-cloud/+filebug

Contributors

Release Notes

See CHANGELOG file.