Install Devstack on Ubuntu 22.04

DevStack is an easy way to quickly bring up a complete OpenStack environment based on the latest versions of everything from git master. Devstack installation is suitable on baremetal as well as inside virtual machine. The source is available at

Quick steps to install Devstack on Ubuntu 22.04 (Jammy)

1. Create stack user, change permission and add sudo privileges
sudo useradd -s /bin/bash -d /opt/stack -m stack
sudo chmod +x /opt/stack
echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
sudo -u stack -i
2. Download Devstack
git clone
cd devstack
3. Create a local.conf file. Add below content in local.conf file and save it.
4. Start the install

This will take approx 15-20 minutes to install devstack. At the end, installation script will display the login URL for horizon dashboard. e.g. sample output will be similar to pasted below.

This is your host IP address:
This is your host IPv6 address: fe80::96bf:137a:c0d0:9bdc
Horizon is now available at
Keystone is serving at
The default users are: admin and demo
The password: ******

Services are running under systemd unit files.
For more information see:

DevStack Version: yoga
OS Version: Ubuntu 22.04 jammy

2021-01-01 01:10:11.110 | completed in 1140 seconds.

Click on Horizon link from output. Enter user either “admin” or “demo”. Use password stored in local.conf file. 

Congratulations !!!  Devstack installed successfully and ready to use.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top