Skip to content

Instantly share code, notes, and snippets.

@bodepd
Created April 18, 2013 19:54
Show Gist options
  • Save bodepd/5415736 to your computer and use it in GitHub Desktop.
Save bodepd/5415736 to your computer and use it in GitHub Desktop.
building openstack lab:
There are a few dependencies:
- ruby, virtualbox, ubuntu precise base box, vagrant, puppet modules, librarian-puppet
find the module on stackforge:
> git clone https://github.com/stackforge/puppet-openstack_dev_env
change into the directory:
> cd puppet-openstack_dev_env
install the puppet modules:
> librarian-puppet install
it assumes a locally installed squid proxy (or something on the laptop listening on port 3128) This is recommended. If you do not want to install squid, the you need to update the proxy settings
> grep 3128 manifests/setup/*
now create the openstack_controller:
> vagrant up openstack_controller
now create the compute instance
> vagrant up compute1
login to controller:
> vagrant ssh openstack_controller
test environment/build a VM
> bash /tmp/test_nova.sh
source env file:
> source /root/openrc
checkout horizon:
172.16.0.3/horizon (username: admin, password: ChangeMe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment