How to Install Openstack using Devstack on Ubuntu 16.04

Loading ...
DevStack is a series of extensible scripts used to quickly bring up a complete OpenStack environment based on the latest versions of everything from git master. It is used interactively as a development environment and as the basis for much of the OpenStack project’s functional testing.

Devstack attempts to support Ubuntu 16.04/17.04, Fedora 24/25, CentOS/RHEL 7, as well as Debian and OpenSUSE.If you do not have a preference, Ubuntu 16.04 is the most tested, and will probably go the smoothest. In the Below Tutorial we are using Ubuntu 16.04.

Step 1 - Create a Ubuntu VM locally on your computer (for example, using VMware Workstation).
Hardware Requirements of a virtual machine -
VM needs at least 4 GB of memory, 
100 GB Hard Disk, 
and access to the Internet.

Step 2 - First we will update our Ubuntu Machine using apt. Type the below command to update your packages from the Repository.
$ sudo apt-get update

Step 3 -You can quickly create a separate stack user to run DevStack .
$ sudo useradd -s /bin/bash -d /opt/stack -m stack

Step 4 -  Since this user will be making many changes to your system, it should have sudo privileges .Now we have to give sudo privileges to user "stack" which we have created in previous step.To do so open the stack file using gedit from this location /etc/suoders.d/stack and enter below line in the file.
$ sudo gedit /etc/sudoers.d/stack
Step 5 -  Now you need to switch over to use the user stack:
$ sudo su - stack
Step 6 - Download Devstack Directory in your System from github using git .
$ git clone -b stable/pike

Step 7 -Change to the devstack directory:
$ cd devstack
Step 8 -You should create a local.conf file in the root of the devstack directory and enter the below lines in the local.conf file. You can use a different password if you prefer and make sure that you use your own IP ADDRESS:
$ sudo gedit local.conf

This is the minimum required config to get started with DevStack.

Step 9 - Now run the stack script using below command.This process will take 1-2 hours to setup openstack depending on your Internet connection.
$ ./
Step 10 - At the end of the process you should see output something like this -

Now go to Browser and type IP_ADDRESS and hit enter you can see Openstack Daskboard like this 

Username for the Dashborad is admin and password is which you write in the local.conf file.


  1. Bookmarked!!, I love your site! Click to read more: How To Lock Files

  2. someone to write your essay is a great way of relieving your academic stress. Homeworks Online Despite this fact, many students are still skeptical about hiring someone to do their assignment and homework.


Post a Comment