Install utility to deploy OpenStack on multiple hosts.
Go to file
Gael Chamoulaud 8d1b31ee2d Add Automation for generating the packstack man page
- packstack/installer/run_setup.py: Modified a little bit the printOptions()
  function to get a better rendering (more rst file friendly).
- docs/conf.py: The code added is largely inspired by the printOptions()
  function.
- This should definitely keep the man page synchronized with code !

Change-Id: I4b899d6b78be860da1ec05341e2f7a36a4c4f71c
2014-05-22 11:22:34 +02:00
bin [Enhancement] Added --version flag 2014-01-23 16:18:36 +01:00
docs Add Automation for generating the packstack man page 2014-05-22 11:22:34 +02:00
packstack Add Automation for generating the packstack man page 2014-05-22 11:22:34 +02:00
spec No longer removing shebang from .sh files 2012-12-06 19:01:51 -05:00
tests support ssh-based live migration 2014-04-25 16:16:26 -04:00
tools Creating a single unit and pep8 test 2013-01-12 23:06:40 +00:00
.gitignore Add Automation for generating the packstack man page 2014-05-22 11:22:34 +02:00
.gitmodules Merge "Fixes nagios overwrite of apache configuration" 2014-02-03 22:25:24 +00:00
.gitreview Add .gitreview file. 2013-01-11 22:27:22 +00:00
LICENSE Initial Subset of oVirt setup script 2012-08-02 16:50:19 +01:00
MANIFEST.in cleaning up tarball and spec file 2012-11-30 10:52:44 -05:00
README Updated the README file 2014-03-20 18:49:26 +01:00
requirements.txt Correct CIDR values in case of invalid is given 2013-07-29 14:13:36 +02:00
run_tests.sh Fail when Nova API, Nova network and Swift hosts are not set as IP addresses 2013-02-08 15:39:40 +01:00
setup.py Use own command for modules 2014-02-24 20:02:11 +01:00
tox.ini Adding files to pep8 tests 2013-04-23 07:52:22 -04:00

README

Utility to install OpenStack on Red Hat based operating system.
See other branches for older openstack versions

This utility can be used to install openstack on a single or
group of hosts (over ssh)

This utility is still in the early stages, a lot of the configuration
options have yet to be added

Installation
$ yum install -y git
$ git clone --recursive git://github.com/stackforge/packstack.git
$ cd packstack

Option 1 (using answer file)
$ ./bin/packstack --gen-answer-file=ans.txt

# then edit ans.txt as appropriate e.g.
o set CONFIG_SSH_KEY to a public ssh key to be installed to remote machines
o Edit the IP address to anywhere you want to install a piece of openstack on another server
o Edit the 3 network interfaces to whatever makes sense in your setup

you'll need to use a icehouse repository for example for RHEL
CONFIG_REPO=http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/


$ ./bin/packstack --answer-file=ans.txt

Option 2 (prompts for configuration options)
$ ./bin/packstack

that's it, if everything went well you can now start using openstack
$ cd
$ . keystonerc_admin
$ nova list
$ swift list  # if you have installed swift


Config options
CONFIG_NOVA_COMPUTE_HOSTS :
        a comma seperated list of ip addresses on which to install nova compute
CONFIG_SWIFT_STORAGE_HOSTS :
        a comma seperate list of swift storage devices
        1.1.1.1  : create a testing loopback device and use this for storage
        1.1.1.1/sdb : use /dev/sdb on 1.1.1.1 as a storage device

Logging

The location of the log files and generated puppet manifests are in the
/var/tmp/packstack directory under a directory named by the date in which
packstack was run and a random string (e.g. /var/tmp/packstack/20131022-204316-Bf3Ek2).
Inside, we find a manifest directory and the openstack-setup.log file; puppet
manifests and a log file for each one are found inside the manifest directory.

Debugging

To make packstack write more detailed information into the log file you can use the -d switch:

$ packstack -d --allinone