Starting With OpenStack

Just a quick post from our labs exploring OpenStack in class.


Openstack can be installed through the use of packstack on Centos 7.

systemctl disable NetworkManager; systemctl stop NetworkManager;
# Edit /etc/sysconfig/network-scripts/$NAME_OF_INTERFACE

Then just download the script for installation and run it

wget -O
chmod u+x

Contents of the packstack install script:


read -p "Have you run packstack before? (y/n) " -e reply

if [[ "$reply" == 'n' ]];
	echo "Adding rdoproject repository"
	yum install -y &> /dev/null

	echo "Updating system"
	yum update -y &> /dev/null

	echo "Installing Packstack Package"
	yum install -y openstack-packstack &> /dev/null

	echo "Running Packstack install"
	packstack --allinone --provision-demo=n --os-neutron-ovs-bridge-mappings=extnet:br-ex --os-neutron-ml2-type-drivers=vxlan,flat

elif [[ "$reply" == 'y' ]];
	read -p "Please specify the packstack answer file" -e packFile
	packstack --answer-file $packFile
	echo "Skipping install..."

Once OpenStack is installed you will have to visit http://YOUR_IP/dashboard And you will be greeted by a login screen. The credentials to log in are avaliable in the users home directory in a file called keystonerc_admin.

Once you log in you will be able to view a summary of many components of the OpenStack instance.


You can then download a template and setup a VM.


Once you have an instance running then you can view what is visible on the VMs console.


Lastly you can also view a summary of the network and what hosts are registered.


There is a lot more to OpenStack but this is a basic summary of what is available after an installation on a single host.

This entry was posted in Bash, Linux, Management, Monitoring and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s