Install OpenStack Private Cloud

01. Installing Virtualbox

In this Lab, we are going to install Openstack free open standard cloud computing platform on Ununtu OS. for that, it is required to install virtual box computer emulation software on local windows PC.

Create a Host Only Network in VirtualBox to allow communication between the host and guest (Ubuntu OS). Also configure DHCP server over host adapter to serve automatic IP assignment to the guest OS.

Creating a VM named Openstack with 4096MB RAM and 30GB virtual hard disk space

Below command will enable nested hardware virtualization for the Openstack guest VM

“C:\Program Files\Oracle\VirtualBox\VBoxManage” modifyvm Openstack –nested-hw-virt on

NAT option is assigned to the Adapter1 in order to provide internet connectivity for the guest VM and Adapter2 select the Host-Only mode, in that way, Guest VM will be able to get the IP address via Virtualbox DHCP server.

Summery of Guest VM specification

02. Installing Ubuntu on Virtualbox

sudo -i
apt update -y && apt upgrade -y

03.Installing Openstack from DevStack scripts

sudo useradd -s /bin/bash -d /opt/stack -m stack
echo “stack ALL=(ALL) NOPASSWD: ALL” | sudo tee /etc/sudoers.d/stack
sudo su – stack

git clone https://opendev.org/openstack/devstack
cd devstack

Create a local.conf file with four passwords preset at the root of the devstack git repo.
as well as assigned host IP address manually which also the IP address assigned by virtualbox DHCP server to the guest VM.

username: admin / Password : secret

Leave a comment