Single Node OpenStack installation on Linux



OpenStack is a free and open-source software platform for cloud computing, mostly deployed as an infrastructure-as-a-service .The software platform consists of interrelated components that control diverse, multi-vendor hardware pools of processing, storage, and networking resources throughout a data center. Users either manage it through a web-based dashboard, through command-line tools, or through a RESTful API.

OpenStack is available in both single Node and Multi-Node. In MultiNode Environment different OpenStack services run on different Nodes. But in single Node Environment, all opensrtackServices runs on a single machine.

In this article, We will be known about the Installation of single Node OpenstackOn Linux.

Before we going to start the installation of OpenStack, we should check the system name, IP address and disable Firewall and SELinux.

First, We set the FQDN name by using hostnamectl command as follows


Now disable the SELinux by using the following command and also edit the file /etc/selinux/config then change  SELINUX line from enforcing to disabled.

[root@localhost ~]# setenforce 0
[root@localhost ~]# vi /etc/selinux/config


Now Disable the firewall service by using the following command.


Use the following command to enable rdo repositories.

 [root@localhost ~]# yum install -y rpm


Now install OpenStack package as follows

[root@localhost ~]#yum install -y openstack-packstack

Now generate the answer file by using the following command

[root@localhost ~]# packstack --gen-answer-file=/root/answerfile.txt
Packstack changed given value  to required value /root/.ssh/
[root@localhost ~]#

Edit the answer file /root/answerfile.txt then set the following field values

CONFIG_NTP_SERVERS = IP address of NTP server
CONFIG_KEYSTONE_ADMIN_PW= Password for admin

Now run the following command to complete the OpenStack installation.

[root@localhost ~]# packstack --answer-file /root/answerfile.txt 
[root@localhost ~]#

Sample Output:


Once the installation is completed, We can access the OpenStack Dashboard by using URL address as follows

https://localhost/dashboard or https://ip-address/dashboard


Once you logged in we get the overview window as follows


Now enjoy OpenStack in your machine.