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 https://pastebin.com/raw/tmTf8XTS -O packstack-install.sh chmod u+x packstack-install.sh ./packstack-install.sh
Contents of the packstack install script:
#!/bin/bash read -p "Have you run packstack before? (y/n) " -e reply if [[ "$reply" == 'n' ]]; then echo "Adding rdoproject repository" yum install -y https://rdoproject.org/repos/rdo-release.rpm &> /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' ]]; then read -p "Please specify the packstack answer file" -e packFile packstack --answer-file $packFile else echo "Skipping install..." fi
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.