RETIRED, OpenStack Puppet Dev Environment
Go to file
Dan Bode b1f3959f5b update db params for compute
This commit updates the db params for the compute
role b/c the param names changed in:

  https://review.openstack.org/#/c/30782/

This patch is required to fix the test run by this module.

Change-Id: I8926422ffe7381323d08404a9267741fbd02d873
2013-05-29 13:56:40 -07:00
hiera_data update default version to grizzly 2013-05-29 01:32:17 +00:00
lib/puppetlabs add task to get all testable pull requests 2013-02-28 10:48:06 -08:00
manifests update db params for compute 2013-05-29 13:56:40 -07:00
spec add support for running all unit tests 2013-04-07 20:26:53 -07:00
test_scripts fix test failures 2013-04-26 16:06:37 -07:00
.gitignore Add ability to configure installed openstack version 2013-03-13 09:39:42 -07:00
.gitreview add gitreview 2013-04-10 13:50:00 -07:00
Gemfile add support for running all unit tests 2013-04-07 20:26:53 -07:00
Puppetfile Do not install anything form the forge 2013-05-29 13:54:21 -07:00
README.md update README 2013-04-25 17:28:34 -07:00
Rakefile fix bug in unit test code 2013-04-07 20:26:53 -07:00
Vagrantfile remove commented out lines 2013-04-25 13:13:03 -07:00
config.yaml fix gui_mode 2013-04-23 13:21:29 -07:00

README.md

sharable openstack puppet dev environment

This project contains everything that you need to rebuild the same development environment that I built initilaly for the folsom implementation of the openstack puppet modules.

prereqs

  1. Ensure that you have rake and rubygems installed

  2. install vagrant and dependencies:

vagrant should be installed (the latest version of vagrant is generally available as a package)

> gem install vagrant

virtualbox should be installed

  1. Install librarian-puppet.

    gem install librarian-puppet

  2. it is strongly recommended that you set up a proxy (like squid!) to speed up perforance of package installation. If you do not use a proxy, you need to change some settings in your site manifest.

project contents

This project contains the following files

Vagrantfile - used to specify the virtual machines that vagrant can use to spin up test openstack environments.

Rakefile - stores tasks that can be used to build out openstack environments

Puppetfile - used by librarian puppet to install the required modules

manifests/setup/hosts.pp

stores basic host setup (ip addresses for vagrant targets)

manifests/setup/percise64.pp

stores apt setup, configured to use a proxy, and folsom package pointer(s)

manifests/setup/centos.pp

stores yum setup, configuration for a local yum repo machine, and folsom package pointer(s)

manifests/site.pp

just what you'd expect it to be.

installing module deps

# cd in to the project directory
> librarian-puppet install

getting started

Configure the precise64.pp file to point to your apt cache (or comment out the proxy host and port from the following resource) (similar for centos.pp)

class { 'apt':
  proxy_host => '172.16.0.1',
  proxy_port => '3128',
}

Too see a list of the virtual machines that are managed by vagrant, run

> vagrant status
devstack                 not created
openstack_controller     not created
compute1                 not created
nova_controller          not created
glance                   not created
keystone                 not created
mysql                    not created

To see a list of all available rake tasks, run: (rake tasks have not yet been defined)

> rake -T

Deploy a controller and a compute node:

> vagrant up openstack_controller
# wait until this finishes
> vagrant up compute1
# wait until this finishes

Once these finish successfully, login to the controller:

> vagrant ssh openstack_controller

Run the following test script:

[controller]# bash /tmp/test_nova.sh