Installing OpenStack on CentOS 7

A quick and very short install guide on setting up OpenStack on CentOS 7.

RDO

For the installation of OpenStack we will use the RDO repository.

RDO is the RPM Distribution of OpenStack. It’s a group of Rediculously Dedicated OpenStackers who are here to help you Rapidly Deploy OpenStack, in a way that is Really Darned Obvious. RDO is Rebuilt Daily, Regularly Delivered, OpenStack. —RDO faq

Packstack

Packstack is a utility that uses Puppet modules to deploy various parts of OpenStack over SSH automatically.

Packstack can be used to install each OpenStack service on separate servers or on a single server, or any combination of these.

One way to use packstack is with a answer file: packstack --answer-file=<file>. This answer file can be edited and used to install: packstack --gen-answer-file=<file>.

For a single node OpenStack deployment, running the command packstack --allinone suffices.

Installing

Before installing you will have to enable root login via ssh. This is required for Puppet to be able to install the different modules.

sed -i s'/^#\(PermitRootLogin yes\)$/\1/' /etc/ssh/sshd_config

On CentOS it suffices to run yum update followed by the installation of the OpenStack repository and finally the Packstack installer and run it.

yum -y update
yum -y install centos-release-openstack-mitaka
yum -y install openstack-packstack
packstack --allinone

That’s it!


© 2024. All rights reserved.