How To Install Openstack On Ubuntu 18.04 With Devstack - Journaldev
How To Install Openstack On Ubuntu 18.04 With Devstack - Journaldev
How to Install OpenStack on Ubuntu 18.04 with DevStack Filed Under: Ubuntu
Pankaj - 7 Comments
Home » UNIX/Linux » Ubuntu » How to Install OpenStack on Ubuntu 18.04 with DevStack
Openstack is a free and opensource IaaS cloud platform that handles cloud compute, storage and network resources. It comes with an intuitive dashboard that
enables systems administrators to provide and monitor these resources.
You can seamlessly install OpenStack locally on your Ubuntu 18.04 instance for learning and testing purposes using Devstack.
Devstack is a set of extensible scripts that facilitate OpenStack deployment. In this guide, you will learn how to deploy OpenStack on Ubuntu 18.04 with
devstack.
1 Minimum Requirements
Minimum Requirements
Before we begin, ensure you have the following minimum prerequisites
Sample Output
sudo reboot
OR
init 6
With that in mind, we are going to add a new user called “stack” and assign sudo privileges.
Next, run the command below to assign sudo privileges to the user
Sample Output
su - stack
In most Ubuntu 18.04 systems, git comes already installed. If by any chance git is missing, install it by running the following command.
Sample output
Using git, clone devstack’s git repository as shown.
Sample output
cd devstack
vim local.conf
[[local|localrc]]
NOTE:
1. The ADMIN_PASSWORD is the password that you will use to log in to the OpenStack login page. The default username is admin.
2. The HOST_IP is your system’s IP address that is obtained by running ifconfig or ip addr commands.
./stack.sh
The deployment takes about 10 to 15 minutes depending on the speed of your system and internet connection. In our case, it took roughly 12 minutes.
At the very end, you should see output similar to what we have below.
This confirms that all went well and that we can proceed to access OpenStack via a web browser.
https://server-ip/dashboard
You should be able to see the Management console dashboard as shown below.
For more on Devstack’s customization, check out their system configuration guide.
Follow Author
Pankaj
I love Open Source technologies and writing about my experience about them is my passion.
Comments
I got this error in installation time Ubutnu 18.04, please help me anybody
env http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite
/opt/stack/requirements/.venv/bin/pip install -c /opt/stack/requirements/upper-constraints.txt -U pbr
env: ‘/opt/stack/requirements/.venv/bin/pip’: No such file or directory
+inc/python:pip_install:1 exit_trap
+./stack.sh:exit_trap:535 local r=127
++./stack.sh:exit_trap:536 jobs -p
+./stack.sh:exit_trap:536 jobs=
+./stack.sh:exit_trap:539 [[ -n ” ]]
+./stack.sh:exit_trap:545 ‘[‘ -f ” ‘]’
+./stack.sh:exit_trap:550 kill_spinner
+./stack.sh:kill_spinner:445 ‘[‘ ‘!’ -z ” ‘]’
+./stack.sh:exit_trap:552 [[ 127 -ne 0 ]]
+./stack.sh:exit_trap:553 echo ‘Error on exit’
Error on exit
+./stack.sh:exit_trap:555 type -p generate-subunit
+./stack.sh:exit_trap:556 generate-subunit 1581765591 41 fail
+./stack.sh:exit_trap:558 [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:561 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping… see /opt/stack/logs/worlddump-2020-02-15-112032.txt for details
+./stack.sh:exit_trap:570 exit 127 Reply
Error on exit
World dumping… see /opt/stack/logs/worlddump-2020-02-06-154209.txt for details
ebtables v1.8.3 (nf_tables): table `broute’ is incompatible, use ‘nft’ tool.
—
stack@HP-Z210-Workstation:~/devstack/tools$ cat /opt/stack/logs/worlddump-2020-02-06-154209.txt|grep broute
sudo ebtables -t broute -L
*** Failed to run ‘sudo ebtables -t broute -L’: Command ‘sudo ebtables -t broute -L’ returned non-zero exit status 1
Reply
hello,
Distro ubuntu 19.10
problem is :
ack.sh failed
Error on exit
World dumping… see /opt/stack/logs/worlddump-2020-02-06-154209.txt for details
ebtables v1.8.3 (nf_tables): table `broute’ is incompatible, use ‘nft’ tool.
—
stack@HP-Z210-Workstation:~/devstack/tools$ cat /opt/stack/logs/worlddump-2020-02-06-154209.txt|grep broute
sudo ebtables -t broute -L
sudo ebtables -t broute -L
*** Failed to run ‘sudo ebtables -t broute -L’: Command ‘sudo ebtables -t broute -L’ returned non-zero exit status 1
help me ?
NB: apt update -y && apt upgrade -y : executed upgrade , i start directely ubuntu 19.10 desktop Reply
Hello, I am installing openstack on ubuntu 18.04 and this command that su recommend do not work — sudo adduser -s /bin/bash -d /opt/stack -
m stack Reply
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Post Comment
JournalDev is one of the most popular websites for Java, Python, Android, and related
Java / Java EE Tutorials Java SE
technical articles. Our tutorials are regularly updated, error-free, and complete. Every
month millions of developers like you visit JournalDev to read our tutorials.
Core Java Tutorial Spring.io
JournalDev was founded by Pankaj Kumar in 2010 to share his experience and learnings
with the whole world. He loves Open source technologies and writing on JournalDev has
Python Tutorials Python.org
become his passion.
GoLang Docs
© 2020 · Privacy Policy · Contact Us · About Me · Part of JournalDev IT Services Private Limited