Installing OpenStack with PackStack

by Forrest Taylor (Red Hat)

To install Red Hat Enterprise Linux OpenStack Platform manually can be an odious task, but packstack can assist in making the installation much easier and consistent. Normally, packstack is run from the controller node, which can either be a physical machine or a virtual machine.

Start by installing the machine with the latest Red Hat Enterprise Linux. Subscribe to the Red Hat OpenStack channel, as well as any other channels desired.

Next, install the openstack-packstack package using yum:
~]$ sudo yum install openstack-packstack

As root, use packstack to generate an answer file:
~]# packstack –gen-answer-file ~/answers.txt

Packstack assumes an all-in-one installation where everything is installed on the current system, but this can be changed in the ~/answers.txt file. The ~/answers.txt file contains KEY=value pairs. Each pair is fairly self-explanitory, but the file also includes comments describing the key. The ~/answers.txt file has default values that may need to be changed. For instance, Nagios is not installed by default, but it can be installed by changing the CONFIG_NAGIOS_INSTALL value:


Once changes are made to the ~/answers.txt file, packstack can be used to read in that file and configure Red Hat OpenStack:

~]# packstack –answer-file ~/answers.txt

Red Hat OpenStack should then be configured according to the settings in the ~/answers.txt file.

In the Red Hat OpenStack Administration (CL210) course, students are introduced to packstack and other commands used to install, administer and manage Red Hat OpenStack.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.