- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with iaas
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This Puppet module allows deploying a highly-available installation of OpenStack Juno on commodity servers (only one NIC and one disk).
Four types of nodes are created for the deployment :
- Endpoint nodes that host load balancers and L2/L3 (Open vSwitch) routing and DHCP services
- Controller nodes that hosts API services, databases, message queues, caches, and every
- Storage nodes that hosts volumes, image storage, objects using Ceph
- Compute nodes to run guest operating systems
This module assumes nodes running Ubuntu 14.04 (Trusty) with either Puppet Enterprise or Puppet. Puppet must have pluginsync, trusted_node_data and storeconfigs enabled.
This module depends on Hiera.
To ensure high availability, three storage nodes, three controller nodes and two endpoint nodes must be deployed, be sure to have eight available servers.
The first step to using the iaas-puppet module is to configure hiera with settings specific to your installation. In this module, the examples
directory contains sample common.yaml file with all of the settings required by this module, as well as node configuration samples to test your deployment with. These configuration options include network settings, locations of specific nodes, and passwords. If any of these settings are undefined or not properly set, your deployment may fail.
You then have to write your site.pp
according to your deployment. Below is an example :
Exec {
path => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin'
}
node /^ceph-\d+.iaas$/ {
include 'iaas::role::storage'
}
node /^endpoint-\d+.iaas$/ {
include 'iaas::role::endpoint'
}
node /^controller-\d+.iaas$/ {
include 'iaas::role::controller'
}
node /^compute-\d+.iaas$/ {
include 'iaas::role::compute'
}
The nodes should be deployed in the following order : storage nodes, endpoints, controllers and then compute nodes.
In order to balance requests across the different endpoints nodes, several solutions could be imagined but I believe that DNS Round-Robin is the easiest solution.
This module is still under development and doesn't include every feature yet.