::: Virtual Aleph ::: Virtualization Techniques: Installing #OpenStack? Yep! On a #VMWare Virtual Machine #VMWorld Privacy Policy

17 August, 2016

Installing #OpenStack? Yep! On a #VMWare Virtual Machine #VMWorld

Hi all,
as I'm trying to learn in depth OpenStack, I decide to use my home lab to deploy OpenStack Mitaka, in an "All-in-One" virtual machine, using VMWare Workstation Pro 12. I think that in a production environment, this should be done on a VMWare ESXi cluster, using different virtual machines, one for each component of OpenStack (multi-node installation).

I've got OpenStack Mitaka Infrastructure all in one up and running in about 1 hour and a half.

First of all, the description of the environment on which the CentOS 7 VM has been installed; it is one single VM with;

  1. 2 x 2 cores processors
  2. 24 GB RAM
  3. 1 disk sized 250 GB (better if SSD)
  4. no printer
  5. no floppy
  6. 1 bridged network nic (beware that if you use Windows 10, Bridging service is not installed by default and you have to install it manually from the network panel)
Let's do a minimal installation of CentOS 7, no matter the partitioning, just configure static IP as per your needs; I will use IPV4 addressing for the machine with:
  1. IP =
  2. NM = /24
  3. DGW =
  4. DNSs =,,
set the hostname 
hostnamectl set-hostname "somename.homelab.net"
Go ahead setting SELinux in PERMISSIVE mode and disable NetworkManager with:

setenforce 0
edit /etc/sysconfig/selinux so to have SELINUX=permissive
systemctl stop firewalld
systemctl disable firewalld
systemctl stop NetworkMananager
systemctl disable NetworkManager

Note you will get some onscreen output telling you that you are removing symlinks

As I'm working on CentOS I prefer to install Open Vm Tools, so

yum -y open-vm-tools

update the whole system and enable the RDO repository:

yum update -y
yum install -y https://www.rdoproject.org/repos/rdo-release.rpm

install packstack package

yum install -y openstack-packstack

Now we are ready to start Mitaka OpenStack installation and configuration.
let's generate the answer file that will define the All-in-One configuration

packstack --gen-answer-file=/root/answer.txt

then edit /root/answer.txt

so to change the following parameters: (you can choose your preferred NTP servers here)

# NTP Server 
# Disable Demo Version 
# Set KeyStone Admin Password or Admin user Password 
# Config Horizon over 
# Disable Nagios 

Now it's time to execute packstack and install Mitaka

packstack --answer-file /root/answer.txt

The installation of the All-in-one solution is a little longer (about 23 minutes), so I will embed a 4x time lapse vide o(best viewed full screen) to let you see what happens quicker, but the full length video can be found at this link

Then we configure the network

[root@somename ~]# cd /etc/sysconfig/network-scripts/ 
[root@somename network-scripts]# cp ifcfg-<name-of-your-nic> ifcfg-br-ex 
[root@somename network-scripts]# vi ifcfg-<name-of-your-nic>

[root@openstack network-scripts]# vi ifcfg-br-ex 
DNS2=<other-DNS-IPAddress> #if you want
DNS2=<other-DNS-IPAddress> #if you want

Just to see if all is good, do a network restart

systemctl restart network

Here's a quick video (best viewed full screen) with the procedure:

If our changes are persistent, let's do a restart and try to connect to Mitaka Openstack Dashboard, just to have a look around: shutdown -r now

Lets the All-in-One Mitaka OpenStack reboot and wait until all the services are started before trying to connect to the console (about 10 minutes with my home lab) then enjoy the embedded (short) video (best viewed full screen)

If you are so lucky to have a spare Hyperconverged Nutanix, take the opportunity to read this article.


http://creativecommons.org/licenses/by-nc/4.0/This post is published under CC attribution NonCommercial 4.0 International License
The article from I take the information is LinuxTechi that, back in January wrote an article with the
installation of Openstack Liberty. I have changed the format and added the videos