[rhos-list] Introducing Packstack
Alvaro Lopez Ortega
alvaro at redhat.com
Mon Feb 18 16:09:15 UTC 2013
Hi everybody,
Packstack is a utility that can be used to setup a OpenStack
deployment on a distributed environment.
Packstack is part of the RHOS, EPEL and Fodora 18 repositories. Our
current target distributions are RHEL 6.4 and Fedora 18.
Using Packstack you define remote hosts on which you would like to
install various OpenStack components. Packstack should be first run
to generate an answerfile, the user then edits this answerfile and
reruns packstack with this answerfile.
Below is brief outline of how a user can use PackStack to install a
single OpenStack controller with 2 compute nodes:
$ yum install -y openstack-packstack
$ packstack --gen-answer-file=ans.txt
The file ans.txt has been created and some of the default values
should be edited to represent the deployment you want to install, in
most cases the values you will want to edit are:
- These should be set to match the public and private interfaces for
nova-network (flatdhcp):
CONFIG_NOVA_NETWORK_PUBIF=eth0
CONFIG_NOVA_COMPUTE_PRIVIF=eth1
CONFIG_NOVA_NETWORK_PRIVIF=eth1
- If your hosts have not been subscribed to Red Hat with
subscription-manager then packstack can do this, simply provide
you credentials here:
CONFIG_RH_USERNAME=
CONFIG_RH_PASSWORD=
- All of the hostname by default are set to the current host, in our
case this will be the openstack controller, but we need to edit
the IP address for the nova-compute nodes:
CONFIG_NOVA_COMPUTE_HOSTS=1.2.3.4,1.2.3.5
Then, the deployment would be launched by executing:
$ packstack --answer-file=ans.txt
Packstack will now ssh to each host and install openstack by applying
a series of Puppet manifests, depending on your setup this process can
take a little time.
There are a lot more options that can be changed in the answerfile,
all of which are documented in the answerfile. It is also possible to
enable / disable some modules in order to install just what's needed.
Please, find more information about Packstack at:
https://wiki.openstack.org/wiki/Packstack
Kind regards,
Alvaro
More information about the rhos-list
mailing list