Skip to content
OpenStack Setup scripts, for use with .deb's rather than git clones :)
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Switch to smoser's loader kernel for lucid image Nov 21, 2011 Update Feb 1, 2012 Update Nov 23, 2011
api-paste-keystone.ini.tmpl Initial commit Nov 6, 2011 Fixup settings.local import, keystone-data mistake, and add Nov 20, 2011 Switch to smoser's loader kernel for lucid image Nov 21, 2011 Hopefully fixed for real this time.. Nov 23, 2011
glance-api.conf.tmpl Fixup glance uploads.. Jan 22, 2012
glance-registry.conf.tmpl Update glance-registry.conf.tmpl to match upstream. Dec 2, 2011 Fixup glance uploads.. Jan 22, 2012 Switch to smoser's loader kernel for lucid image Nov 21, 2011 Use followed by… Jan 4, 2012 Switch to using the qcow2 oneiric image Nov 20, 2011 Add Ubuntu Precise upload script Mar 2, 2012 Add script Nov 20, 2011 Fixup glance uploads.. Jan 22, 2012 Initial commit Nov 6, 2011
keystone.conf.tmpl Revert "Lowercase all roles." Jan 22, 2012 Revert "Lowercase all roles." Jan 22, 2012 Setup per service MySQL accounts Nov 23, 2011 Split into controller + compute scripts Nov 17, 2011 Update Nov 14, 2011 Move KVM check to settings Jan 22, 2012 Initial commit Nov 6, 2011
nova.conf.tmpl Remove --ec2_dmz_host from nova.conf, It's not needed. Feb 8, 2012 Call ./ during glance setup Nov 20, 2011
openrc.tmpl Insert replacement markers into openrc template Dec 15, 2011
settings Remove warning output from settings, it messes with Jan 22, 2012

OpenStack Setup Scripts

These scripts install+setup OpenStack (an all in one server, or all bar compute + compute nodes).


  1. You want to use the VLAN network manager. (NOTE: The requires VLAN capable switches!)
  2. You want to use multi-node networking (NOTE: This is very different to simply having multiple compute nodes. Read up on it.)
  3. You want to use 2 network cards in every server (1 for public traffic, 1 for nova's internal traffic)
  4. You are installing on 100% clean Ubuntu 11.10 servers (i.e. you have never attempted to install OpenStack on these servers since the last time they were wiped)

If these assumptions are not valid for your setup, these scripts will not work and have not been tested. They could be changed for others, but out of the box, that is simply what they do.

NOTE: These scripts do NOT secure your setup. eg the default RabbitMQ "guest" account is used etc. Is is your job to handle that kind of stuff after you have a quick and dirty, but working install done.

All in one server (You can add more later...)


  1. Install ubuntu 11.10
  2. Setup /etc/network/interfaces (See sample below)
  3. Login as root
  4. Install git (apt-get install git)
  5. Clone scripts (git clone
  6. Edit "settings" to suit.. (or better yet, create settings.local and copy the settings you want to change in there.)
  7. Run: ./
  8. ...
  9. Profit!

Sample /etc/network/interfaces

auto eth0
iface eth0 inet static

# Bring up eth1 without an IP address (You can have one if you want, but the point here is its not needed)
auto eth1
iface eth1 inet manual
        up ifconfig eth1 up 

Multiple Servers

Do this on all servers

Edit "settings" to suit.. (or create settings.local with overrides)

Install this PPA

apt-get install -y python-software-properties  
apt-add-repository -y ppa:managedit/openstack  
apt-get update  
apt-get install -y managedit-openstack-pin  

Install and configure NTP

apt-get install -y ntp

(Todo: Configure nodes to use controller as NTP source)

Do this on On the MySQL / RabbitMQ / NTP Servers (Probably your controller node)

Install MySQL, RabbitMQ and ntp

apt-get install -y python-mysqldb mysql-server rabbitmq-server  
sed -i 's/server\nserver\nfudge stratum 10/g' /etc/ntp.conf  
service ntp restart  
sed -i 's/' /etc/mysql/my.cnf  
service mysql restart  

Grant root remote access to MySQL


Install Keystone

Run this:


then test with:


Install Glance

Run this:


then test with:


Install Nova

Controller Node

Run this:


Compute Node(s)

Run this:


Then test with:


Install Dashboard

Run this:


then test by visiting http://$HOST_IP/

You can’t perform that action at this time.