OpenStack / DevStack Install

OpenStack / DevStack Install

  • Install a version of supported linux distros with two NICs – http://devstack.org/
  • Prepare the OS

sudo passwd root
su
apt-get update; apt-get upgrade

apt-get purge network-manager

  • Configure Networking
Edit your networking to reflect what is below.

#nano /etc/network/interfaces
(beginning)
#Primary interface NAT interface
auto eth0
iface eth0 inet dhcp

#public interface – The API village
auto eth1
iface eth1 inet static
address 172.16.0.1
netmask 255.255.0.0
network 172.16.0.0
broadcast 172.16.255.255

  • Install Openstack using Devstack script

apt-get install git
git clone https://github.com/openstack-dev/devstack.git
cd devstack; ./stack.sh
  • Set Permission to the directory
sudo chown -R username:username devstack/

  • Run the installer

sudo ./devstack/stack.sh

  • Enter passwords for hashing
  • Access the UI

Horizon is now available at http://10.1.1.16/
Keystone is serving at http://10.1.1.16:5000/v2.0/
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: password
This is your host ip: 10.1.1.16
stack.sh completed in 345 seconds.

NB:
I got allot of errors and after looking at the errors closely it was due to low memory, give the test VM more RAM fixed the problem and the stack script completed.

  • Create Instance
  • Setup Compute Node
  • Setup Storage Node
  • Download some images from Rackspace
  • Setup Windows 2012 R2 Image

Research