Home General TopicsHow to Install OpenStack Using Packstack on CentOS/RHEL

How to Install OpenStack Using Packstack on CentOS/RHEL

by Bella
Deploying Openstack using Packstack

Cloud computing has transformed how businesses deploy and manage infrastructure. Instead of maintaining physical servers, organizations now rely on scalable cloud platforms that can dynamically allocate resources as demand changes.

One of the most powerful open-source solutions enabling this transformation is OpenStack.

What is OpenStack?

OpenStack is an open-source cloud computing platform used to build and manage public and private clouds. It primarily delivers Infrastructure-as-a-Service (IaaS) capabilities, allowing organizations to:

  • Deploy virtual machines instantly
  • Manage storage and networking resources
  • Automate infrastructure provisioning
  • Scale workloads horizontally with ease

With OpenStack, administrators can spin up or shut down instances on demand, making it ideal for environments that require flexibility, automation, and scalability.

Brief History of OpenStack

OpenStack was launched in 2010 as a joint initiative between Rackspace Hosting and NASA.

The project is now governed by the OpenStack Foundation (established in 2012), a non-profit organization supported by major technology companies such as:

  • Intel
  • Red Hat
  • Cisco
  • Canonical (Ubuntu)
  • Thousands of global community contributors

Today, OpenStack powers enterprise clouds, telecom infrastructures, research platforms, and large-scale hosting environments worldwide.

What is Packstack?

open_stack

Packstack is an installation utility that simplifies OpenStack deployment.

It uses Puppet modules to automatically install and configure OpenStack components across multiple servers using SSH.

Supported Operating Systems

Packstack currently supports:

  • Fedora
  • Red Hat Enterprise Linux (RHEL)
  • CentOS

Step 1: Install Packstack

Install the Packstack package:

yum install openstack-packstack -y

Step 2: Configure OpenStack Repositories

Install the RDO repository:

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

Install the OpenStack release package:

yum install centos-release-openstack-mitaka

Step 3: Generate the Answer File

Packstack allows automated deployments using an answer file, which contains all configuration parameters.

Generate the file using:

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

Step 4: Edit the Answer File

Open the configuration file:

vim /root/answer.txt

Update key parameters based on your environment:

CONFIG_HEAT_INSTALL=Y                 # Enable orchestration service
CONFIG_NTP_SERVERS=172.25.254.254 # NTP server IP
CONFIG_COMPUTE_HOSTS=192.168.0.1,192.168.0.2
CONFIG_STORAGE_HOSTS=192.168.0.1,192.168.0.2
CONFIG_KEYSTONE_ADMIN_PW=password
CONFIG_CINDER_VOLUME_CREATE=N # Disable Cinder volume creation
CONFIG_LBAAS_INSTALL=Y # Enable Load Balancer
CONFIG_NEUTRON_L3_AGENT_INSTALL=Y # Enable networking agents
CONFIG_NEUTRON_FWAAS=Y # Enable firewall service
CONFIG_HORIZON_SSL=Y # Enable SSL for dashboard
CONFIG_HEAT_CFN_INSTALL=Y # Enable Heat orchestration
CONFIG_PROVISION_DEMO=N # Disable demo environment

Step 5: Deploy OpenStack

Run Packstack with the configured answer file:

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

The installation process may take some time depending on system resources.

Important Note

OpenStack does not support NetworkManager during deployment.

Disable it before installation:

systemctl disable NetworkManager
systemctl stop NetworkManager

Step 6: Configure Network Bridging

OpenStack commonly uses Open vSwitch (OVS) bridges for networking.

Create Bridge Interface

Edit:

vim /etc/sysconfig/network-scripts/ifcfg-br-ex
DEVICE=br-ex
BOOTPROTO=static
ONBOOT=yes
TYPE=OVSBridge
DEVICETYPE=ovs
IPADDR=192.168.0.1
NETMASK=255.255.255.0
IPV6INIT=no

Configure Physical Interface

Edit:

vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=br-ex

Step 7: Restart Network Service

Apply the network configuration:

systemctl restart network

Step 8: Access the OpenStack Dashboard

Once installation completes, access the Horizon Dashboard via browser:

https://192.168.0.1

Login Credentials

  • Username: admin
  • Password: password

You can now manage instances, networks, storage, and cloud resources through the web interface.

Why Choose OpenStack?

OpenStack continues to be a preferred cloud platform because it offers:

– Open-source flexibility
– Vendor neutrality
– Enterprise-grade scalability
– Automated infrastructure management
– Strong global community support

It provides organizations full control over their cloud environment without vendor lock-in — making it a strong foundation for modern private and hybrid cloud infrastructures.

Need Help with OpenStack Deployment?

Setting up OpenStack can be complex depending on infrastructure requirements. If you require help, contact SupportPRO Server Admin

Facing issues?

Our technical support
engineers can solve it.

Contact Us today!
guy server checkup

You may also like

Leave a Comment