OpenStack packagesDistributions might release OpenStack packages as part of
their distribution or through other methods because the
OpenStack and distribution release times are independent of each
other.This section describes the configuration you must
complete after you configure machines to install the latest
OpenStack packages.The examples in this guide use the
OpenStack packages from the RDO repository. These packages work
on Red Hat Enterprise Linux 6, compatible versions of CentOS,
and Fedora 20. To enable the RDO repository, download and
install the rdo-release-icehouse
package:#yum install http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-3.noarch.rpmThe EPEL package includes GPG keys
for package signing and repository information. This should only
be installed on Red Hat Enterprise Linux and CentOS, not Fedora.
Install the latest epel-release package (see
http://download.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html).
For example:#yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmThe
openstack-utils package contains utility
programs that make installation and configuration easier. These
programs are used throughout this guide. Install
openstack-utils. This verifies that you can
access the RDO repository:#yum install openstack-utilsUse the Open Build Service repositories
for Icehouse based on your openSUSE or
SUSE Linux Enterprise Server version.For openSUSE 13.1 use:#zypper addrepo -f obs://Cloud:OpenStack:Icehouse/openSUSE_13.1 IcehouseIf you use SUSE Linux Enterprise Server 11 SP3,
use:#zypper addrepo -f obs://Cloud:OpenStack:Icehouse/SLE_11_SP3 IcehouseThe openstack-utils
package contains utility programs that make installation and
configuration easier. These programs are used throughout this
guide. Install openstack-utils. This verifies
that you can access the Open Build Service repository:#zypper install openstack-utilsThe openstack-config program
in the openstack-utils package uses
crudini to manipulate configuration
files. However, crudini version 0.3
does not support multi valued options. See
https://bugs.launchpad.net/openstack-manuals/+bug/1269271.
As a work around, you must manually set any multi valued
options or the new value overwrites the previous value instead
of creating a new option.The
openstack-selinux package includes the
policy files that are required to configure SELinux during
OpenStack installation on RHEL and CentOS. This step is not required during
OpenStack installation on Fedora.
Install openstack-selinux:#yum install openstack-selinuxUpgrade your system packages:#yum upgrade#zypper refresh#zypper updateIf the upgrade included a new
kernel package, reboot the system to ensure the new kernel is running:#rebootTo use the Ubuntu Cloud Archive for IcehouseThe Ubuntu Cloud Archive is a special repository that
allows you to install newer releases of OpenStack on the
stable supported version of Ubuntu.Icehouse is in the main repository for 14.04 -
this step is not required.Install the Ubuntu Cloud Archive for
Icehouse:
#apt-get install python-software-properties#add-apt-repository cloud-archive:icehouseUpdate the package database and upgrade your system:#apt-get update#apt-get dist-upgradeIf you intend to use OpenStack Networking with Ubuntu 12.04,
you should install a backported Linux kernel to improve the
stability of your system. This installation is not needed if you
intend to use the legacy networking service.Install the Ubuntu 13.10 backported kernel:#apt-get install linux-image-generic-lts-saucy linux-headers-generic-lts-saucyReboot the system for all changes to take effect:#rebootTo use the Debian Wheezy backports archive for
IcehouseThe Icehouse release is available
only in Debian Sid
(otherwise called Unstable). However, the Debian maintainers
of OpenStack also maintain a non-official Debian repository
for OpenStack containing Wheezy backports.Install the Debian Wheezy backport repository
Icehouse:#echo "deb http://archive.gplhost.com/debian icehouse-backports main" >>/etc/apt/sources.listInstall the Debian Wheezy OpenStack repository for
Icehouse:#echo "deb http://archive.gplhost.com/debian icehouse main" >>/etc/apt/sources.listUpdate the repository database and install the key:#apt-get update && apt-get install gplhost-archive-keyringUpdate the package database, upgrade your system, and reboot
for all changes to take effect:#apt-get update && apt-get dist-upgrade#rebootNumerous archive.gplhost.com mirrors are
available around the world. All are available with both FTP and
HTTP protocols (you should use the closest mirror). The list of
mirrors is available at http://archive.gplhost.com/readme.mirrors.Manually install python-argparseThe Debian OpenStack packages are maintained on Debian Sid
(also known as Debian Unstable) - the current development
version. Backported packages run correctly on Debian Wheezy with
one caveat:All OpenStack packages are written in Python. Wheezy uses
Python 2.6 and 2.7, with Python 2.6 as the default interpreter;
Sid has only Python 2.7. There is one packaging change between
these two. In Python 2.6, you installed the
python-argparse package separately. In
Python 2.7, this package is installed by default. Unfortunately,
in Python 2.7, this package does not include Provides:
python-argparse directive.Because the packages are maintained in Sid where the
Provides: python-argparse directive causes an
error, and the Debian OpenStack maintainer wants to maintain one
version of the OpenStack packages, you must manually install the
python-argparse on each OpenStack system
that runs Debian Wheezy before you install the other OpenStack
packages. Use the following command to install the
package:#apt-get install python-argparseThis caveat applies to most OpenStack packages in
Wheezy.