Home General Topics Deploying Openstack using Packstack

Deploying Openstack using Packstack

by Bella

OpenStack is a set of software tools for building and managing cloud computing platforms for public and private clouds. Mostly deployed as an infrastructure-as-a-service (IaaS). Deploy virtual machines and other instances that handle different tasks for managing a cloud environment on the fly. It makes horizontal scaling easy, which means that tasks that benefit from running concurrently can easily serve more or fewer users on the fly by just spinning up more instances. So we can say OpenStack is the future of cloud computing.

OpenStack began in 2010 as a joint project of Rackspace Hosting and NASA. As of 2016, it is managed by the OpenStack Foundation, a non-profit corporate entity established in September 2012. Backed by some of the biggest companies in software development and hosting like Intel, Redhat, Cisco, Ubuntu etc, as well as thousands of individual community members.

        Packstack is a utility that uses Puppet modules to deploy various parts of OpenStack on multiple pre-installed servers over SSH automatically. Currently only Fedora, Red Hat Enterprise Linux (RHEL) and Centos are supported.

Installing package “openstack-packstack”

#yum install openstack-packstack -y

Repo files for centos :

#yum install https://rdoproject.org/repos/rdo-release.rpm

#yum install centos-release-openstack-mitaka

Generating answer file

PackStack is able to generate a generic answer file which you are then able to customize to suit your specific deployment needs. Run the packstack command with the –gen-answer-file=FILE argument to generate an answer file.

#packstack –gen-answer-file /root/answer.txt

Editing answer file

#vim /root/answer.txt

CONFIG_HEAT_INSTALL = Y                    #Enable heat installing
CONFIG_ NTP_SERVERS =            #Provide ip for ntp server
CONFIG_COMPUTE_HOSTS =,        #IP list for compute node
CONFIG_STORAGE_HOSTS =,        #IP list for storage node
CONFIG_KEYSTONE_ADMIN_PW = “password”            #Provide password for admin
CONFIG_CINDER_VOLUME_CREATE = N                #Disable to create cinder
CONFIG_LBAAS_INITIAL=Y                        #Enable load balance
CONFIG_NEUTRON_AGEN_INITIAL = Y                #Enable network agents
CONFIG_NEUTRON_FWAAS = Y                    #Enable firewall
CONFIG_HORIZON_SSL = Y                    #Enable horizon (Dashboard)
CONFIG_HEAT_CFN_INITIAL = Y                    #Enable heat (Orchestration)
CONFIG_ PROVISION_DEMO = N                    #Disable Demo config

Deploying openstack

#packstack –answerfile

Note: network manager is not supported in openstack. So disable network manager .


Modify the network files with TYPE ‘OVSBridge’ and ‘OVSPort’ as shown below :

#vim /etc/sysconfig/network-scripts/ifcfg-br-ex

DEVICE = br-ex

#vim /etc/sysconfig/network-scripts/ifcfg-etho


Restart service network

#systemctl restart network

Open dashboard      #IP address of basic node ( Here node 1)

Username : admin
Password : password



If you require help, contact SupportPRO Server Admin

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment


Sales and Support

Phone: 1-(847) 607-6123
Fax: 1-(847)-620-0626
Sales: sales@supportpro.com
Support: clients@supportpro.com
Skype ID: sales_supportpro

Postal Address

1020 Milwaukee Ave, #245,
Deerfield, IL-60015

©2022  SupportPRO.com. All Rights Reserved