These scripts install+setup OpenStack (an all in one server, or all bar compute + compute nodes).
This only suports VLAN networking where each server has 2x network cards
It could be changed for others, but out of the box, thats what it does.
NOTE: These scripts do NOT secure your setup. Every service connects to MySQL as root, The default RabbitMQ 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.
- Install ubuntu 11.10
- Setup /etc/network/interfaces (See sample below)
- Login as root
- Install git (apt-get install git)
- Clone scripts (git clone https://github.com/managedit/openstack-setup.git)
- Edit "settings" to suit.. (or create settings.local with overrides)
- Run: ./all-in-one.sh
- ...
- Profit!
auto eth0
iface eth0 inet static
address 192.0.2.2
netmask 255.255.255.0
network 192.0.2.0
broadcast 192.0.2.255
gateway 192.0.2.1
# 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
Edit "settings" to suit.. (or create settings.local with overrides)
Install this PPA https://launchpad.net/~managedit/+archive/openstack
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)
Install MySQL, RabbitMQ and ntp
apt-get install -y python-mysqldb mysql-server rabbitmq-server
sed -i 's/server ntp.ubuntu.com/server ntp.ubuntu.com\nserver 127.127.1.0\nfudge 127.127.1.0 stratum 10/g' /etc/ntp.conf
service ntp restart
sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf
service mysql restart
Grant root remote access to MySQL
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '$PASSWORD' WITH GRANT OPTION; FLUSH PRIVILEGES;
Run this:
./keystone.sh
then test with:
./keystone-test.sh
Run this:
./glance.sh
then test with:
./glance-test.sh
Run this:
./nova-controller.sh
Run this:
./nova-compute.sh
Then test with:
./nova-test.sh
Run this:
./dashboard.sh
then test by visiting http://$HOST_IP/