Devstack installation on VMware Workstation - the easy way to get your Openstack running in 2000 seconds
While working on installing instance of Openstack for developers I thought I will share some of my notes I've put together throughout the installation. While the setup is quite trivial it required some trial and error for two days.
Installing Devstack on ubuntu 16.04
add cdrom to aptadd user stack
add 'stack' and your user to sudoers https://www.digitalocean.com/community/tutorials/how-to-create-a-sudo-user-on-ubuntu-quickstart
usermod -aG sudo stackusermod -aG sudo vittok
3.) download python-pip and fix issues with python pip
sudo apt-get install python-pipsudo pip install --upgrade pip
fix python error 503 upfront or you will run into issue as I did http://en.enisozgen.com/general-pip-problems-while-installing-devstack/
sudo python get-pip.py
sudo pip install -U os-testr
4.) Download devstack http://docs.openstack.org/developer/devstack/#create-a-local-conf
5.) Create local.conf file but you don't have to you'll be prompted by the script throughout the process
6.) Change access to devstack directory
Chmod -R 777 ./devstack/
Don't forget to mount ubuntu cdrom before you launch installationMake sure you have enough resources available (disk space and memory) you may run out of both while script is running. There are some irreversible changes done to the OS so if stack.sh crashes you may need to revert back to snapshot.
Once finished you should get http://yourhost/dashboard up and running.
Devstack creates some preconfigured instances for you to start
Two default users are created - 'admin' and 'demo' with passwords entered during the script runtime.