The distro packages of nose and pylint depend on python-setuptools
on some platforms, and on some of those platforms (at least CentOS
6.x) you can't resolve dependencies on python-setuptools properly if
you've forcibly removed it already (as we do on our CI workers). It
appears that any current upstream use of these tools in relation to
DevStack-based testing is now relying on tox and pip to obtain them
instead.
Change-Id: Ibd16ac550c90364115caf57fae4f5f4cb5d5f238
pyOpenSSL has done a rewrite of itself in Python. This may be good
for many reasons, but memory usage is not one of them. It just about
doubles the size of at least swift, which usually consumes about 6% of
a CI testing vm's 8gb RAM. This is enough to push centos hosts into
OOM conditions and then everything falls apart.
The distro packages of pyOpenSSL are the older C-based versions, which
doesn't bring in the kitchen sink of cffi & pycparser.
Change-Id: Icd4100da1d5cbdb82017da046b00b9397813c2f2
Install a couple of optional feature prereqs in hypervisor plugins.
rootwrap is horribly called indirectly via PATH. The choice, other than fixing
such nonsense, is to force the path in sudo.
TODO:
* python guestfs isn't in pypi, need to specifically install it to not
use the distro package
Change-Id: Iad9a66d8a937fd0b0d1874005588c702e3d75e04
devstack is a development and test environment, but by default we were
only installing the runtime dependencies. We should install all the
testing required packages as well.
Change-Id: I7c95927b9daad15766aac9d1276b10ca62efb24c
Let pip install unittest2; pip installation can conflict with the
packaged version.
Change-Id: Iec9b35174ac68ebf713cd7462d7b5a82583d6e22
Partial-Bug: #1430592
The files/rpms/general:python-virtualenv explicitly
installed this package on Fedoras.
This package is not installed on other distros by devstack
by default.
If you stack/unstack the package gets reinstalled,
and confuses the system about the installed virtual-env version.
The uninstall works in CI, but it can be problematic when you do
reinstalls on the same machine.
The uninstall introduced by
834b804d3eda9029d3c66db0ab732a76a22ed08b, this commit deos not
has any reference to the external bug what it supposed to solve.
Related RDO thread started here:
https://www.redhat.com/archives/rdo-list/2015-March/msg00015.html
Change-Id: I4a723f179bdc28d39a4910fb9e3787e9e67c354b
Fedora-21 does not have openjdk-1.7.0 it has only 1.8.0.
This change also fixing the no op statement in the configure.
Change-Id: I6012aeb17b8e8fafa37d48aa29482702fa3491fd
msgpack-python when installed from source requires a C++ compiler
installed on the system, otherwise it falls back to the python
implementation.
Change-Id: Iffe1f90f3a70780be22459c3f7a3cddfe47f01ca
Add elastic search pkg installation and start into the glance install
and start paths.
Change-Id: I53fc37225dd606f627c9f967083007613eb1f1bb
Implements: blueprint catalog-index-service
el6 is shipped with Python 2.6.x which is not expected
to be supported with the openstack kilo release.
For el6 support we need to do lot of thing differently,
which makes the code more complicated.
This change removes el6 and py26 support from devstack.
This change also removed a discontinued (1 year ago)
openSUSE 12.2 code path, which used a similar codepath as el6.
Several comment related to el6 also removed or modified.
Change-Id: Iea0b0c98a5e11fd85bb5e93c099f740fe05d2f3a
We go through a bunch of trouble to install setuptools via pip. Having
it in the distro install too is confusing.
Change-Id: I6875fe2a1ee6b7d296f7f44b4b1601794b136440
Noticed this on a freshly installed, minimal Fedora-21 (from
development repos):
$ ./stack.sh
[. . .]
2014-11-13 10:56:22.442 | + local exitcode=0
2014-11-13 10:56:22.453 | + sudo route add -net 10.1.0.0/24 gw 172.24.4.2
2014-11-13 10:56:22.479 | sudo: route: command not found
2014-11-13 10:56:22.488 | + exit_trap
[. . .]
Also added it to files/rpms-suse/general, just in case.
Change-Id: I77954d97e654e8f384a2016631df14e73be927fe
Recently compiled message catalogs (mo files) were removed
in Horizon and django_openstack_auth repositories.
We need to compile message catalogs to make translations
available for Horizon users. It is useful for developers too.
Change-Id: I0831e8308205c116d8e3bb8b43be7f0dd6fa0c0a
A few projects are now gating on docs not having warnings/errors in them
during the docs build with sphinx, so developers are going to want to be
able to run 'tox -e docs' locally and fix issues.
The graphviz package is used by sphinx when building docs but you have
to get it from the distro, so this change adds the package to the
various distro lists.
Closes-Bug: #1359749
Change-Id: I7b7dee5e5d0dce6d5020b3e711f500118be163f8
libffi-dev/libffi-devel can be requested for rebuilding the
python clients which is an un-skipable part of the devstack install.
Promoting the libffi-devel to a general dependency.
Change-Id: I1dac7fd536b94de1e49aaf335ac29ffae1bd39d1
Without libyaml-devel package installed (on Fedora-20),
running ./stack throws:
[. . .]
build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h:
No such file or directory #include <yaml.h> ^ compilation terminated.
libyaml is not found or a compiler error: forcing --without-libyaml
[. . .]
Adding this dependency to files/rpms/general resolves it. Also added to
files/apts/general.
Change-Id: If1aa23bf3fc76ea2b321c3725dd07050ddd4b825
Lot of packages explicitly requires gcc now, but almost all of
the components needs it.
Always keep gcc in hand-range.
files/rpms/general: always installs the libxlst2-devel, not just on
RHEL 6, package recompile capability always handy and these are small
packages anyway.
Change-Id: Ia7d0e1938fb2453e3c02b979f99d6d179c6a24c6
Package python-openstackclient depends on pycrypto, and pycrypto depends
on python-dev. Since python-openstackclient should be installed in any
case, python-dev should be in general requirements.
Change-Id: I2d6f5919bdc1175252c78cd203a8769d3892b923
Closes: bug 1292477
After commit def4c141 the bc is requred for devstack install on minimal
image, commit fbe12f98 fixed the issue with ubuntu, but not with other
distribution.
Adding bc to the files/rpms-suse/general and files/rpms/general.
Change-Id: Ieb2e3e2af454bca03bb3d7565ff731dc357e699f
The list of RPM packages have been updated to support the recently
released Fedora 20 distribution.
Closes-Bug: #1263291
Co-Authored: Alvaro Lopez Ortega <alvaro@gnu.org>
Change-Id: Ia66abef1a1a54e6d5ee6eebc12908cef3f1d211d
Install a known working recent version of pip that handles installation
dependencies more correctly than before. Extract to a separate script
so it can be used apart from stack.sh.
* Install distro setuptools if it not already present
* Install pip from source tarball as get-pip.py proved to be unreliable
* Remove python-distribute and python-pip from all prereq files,
move python-setuptools to 'general'
* Remove the earlier unfubar_setuptppls() call that attenpted to fix this
* Only update requirements.txt when no changes in repo
Tested on Precise, F18 and CentOS6.
* Fedora and RHEL allow pip to install packages ON TOP OF RPM-installed
packages. THIS IS BROKEN. And is one reason we have to be so picky
about order and so forth.
Change-Id: Ibb4b42119dc2e51577c77bbbbffb110863e5324d
pyOpenSSL (required by glanceclient) fails to build if openssl
header files are missing.
Change-Id: I3ebce749ee9ca88cbbecc6b7676a086d82670f4d
Fixes: bug #1188650
We have migrated to flake8 and most distros don't have the version of
pep8 that flake8 (and hacking) use. Instead of installing pep8 from
packages it should be installed from pip
Change-Id: I86e4f8316f3cdc27303bfd039a78c0d6202ce321
Install some rpms required for operation on RHEL6. Additionally,
remove some system packages that interfere with pip installs.
Change-Id: I273ce59d7bf066e73d524f61b8ad048599101dab
Nova and Keystone use openssl to setup certificates. If it's not
there then Keystone fails with "Error 2: No such file or directory",
Nova fails with "openssl: command not found" and glance fails with
"glance: error: argument --os-auth-token: expected one argument"
Basically, cascading errors everywhere. So I put the dependency
in "general" since it affects multiple packages.
Fixes bug 1152315
Change-Id: I803f91644443d7aba78c0a90384e32f6eece36ec
It's used if installed and not used if not installed, which is confusing.
So trying to install it should make things a bit less confusing.
It's available under the same name in both Fedora and Ubuntu.
Change-Id: I6785dd5e831e9cf2da2eae5b116a9f5859c68c6d
It turns out a minimal Fedora installation doesn't have tar by default.
Since we use tar when uploading the default image to glance, we need to
make sure it's installed. And since it might be useful for other very
generic tasks DevStack might do, just always install it (by putting it
in the general list of packages).
Change-Id: I4dae3b43a700d80b8752a5b846a6ce302fadb751
Highlights:
* Add files/rpms/*
* get_packages() only loads deps for services that are enabled
11Apr2012
* change mod_wsgi cwd to $HORIZON_DIR
* fix horizon apache log file name and location
Note: This superceeds https://review.openstack.org/4364
Change-Id: I95486584561e4418907a6a4feb0ffbe4f4ea1843