Friday, February 12, 2016

PackStack, Foreman/Staypuft, Triple-O: Installation Tools for OpenStack

-----------------------------------

PackStack

-----------------------------------

 

Packstack is a utility that uses Puppet modules to deploy various parts of OpenStack on multiple pre-installed servers over SSH automatically. Currently only Fedora, Red Hat Enterprise Linux (RHEL) and compatible derivatives of both are supported.

Example Usage
All in One
$ packstack --allinone
 
Shorthand for:
$ packstack --install-hosts=<local ipaddr> \
            --novanetwork-pubif=<dev>  \
            --novacompute-privif=lo \
            --novanetwork-privif=lo \
            --os-swift-install=y  \ 
            --nagios-install=y
 
This option can be used to install an all in one OpenStack on this host.

-----------------------------------

Foreman

-----------------------------------

 What is Foreman?

Foreman is an open source project that helps system administrators manage servers throughout their lifecycle, from provisioning and configuration to orchestration and monitoring. Using Puppet, Chef, Salt, and Foreman's smart proxy architecture, you can easily automate repetitive tasks, quickly deploy applications, and proactively manage change, both on-premise with VMs and bare-metal or in the cloud.
Foreman provides comprehensive, interaction facilities including a web frontend, CLI and RESTful API which enables you to build higher level business logic on top of a solid foundation.
Foreman is 5+ years old, and deployed in many organizations, managing from 10s to 10,000s of servers.
It is used in distributions such as RDO and RHOS (Red Hat OpenStack distribution) and has an extensive library of plugins.
With Foreman you can:
  • Discover, provision and upgrade your entire bare-metal infrastructure
  • Create and manage instances across private and public clouds
  • Group your hosts and manage them in bulk, regardless of location
  • Review historical changes for auditing or troubleshooting
  • Extend as needed via a robust plugin architecture
  • Automatically build images (on each platform) per system definition to optimize deployment

-----------------------------------

Staypuft

-----------------------------------

 

This is a plugin for foreman-installer to help with Staypuft installation. Staypuft is a Foreman plugin which allows user to install OpenStack.

How do I use it?

First you must install RPM package named foreman-installer-staypuft. It can be downloaded from foreman plugin repositores, currently only from nightlies. You should add the whole repository because of other dependencies. You easily do this by installing repo rpm by running
yum install http://yum.theforeman.org/releases/latest/el6/x86_64/foreman-release.rpm
yum install foreman-installer-staypuft
Now you can run staypuft-installer. It will automatically run the wizard that asks few questions specific to your environment. The result is Foreman with provisioning correctly configured and Staypuft plugin enabled. Without any further effort you should be able to create your OpenStack deployment.
To provision on baremetals we use foreman_discovery plugin which requires you to download images used to discover all machines. If you want installer to download images for you (recommended), you can run it like this
staypuft-installer --foreman-plugin-discovery-install-images=true
Note that downloading will take some time, images are ~200MB. You can download images manually from here, but you have to copy and name them correctly yourself.


-----------------------------------

Triple-O

-----------------------------------

 

TripleO - OpenStack on OpenStack

TripleO is a program aimed at installing, upgrading and operating OpenStack clouds using OpenStack's own cloud facilities as the foundations - building on nova, neutron and heat to automate fleet management at datacentre scale (and scaling down to as few as 2 machines).
We gave a presentation at the Portland 2013 summit about TripleO.
TripleO is raw but usable today - see our tripleo-incubator for deployment instructions.

No comments:

Post a Comment