5631 Commits

Author SHA1 Message Date
Jaume Devesa
9826093202 Improve MidoNet integration
Since midonet has become open source, we can build it from
external plugin scripts. The way to enable it is using the devstack
plugin approach:

    disable_service n-net
    enable_service q-svc
    enable_service q-dhcp
    enable_service q-meta
    enable_plugin networking-midonet \
        http://github.com/stackforge/networking-midonet
    Q_PLUGIN=midonet

and should download and build the last master branch of midonet.

Change-Id: I795f92f9d3c97b2c35bac712c6edfc032eff345a
2015-02-25 08:40:44 +00:00
Jenkins
7cffc6c992 Merge "Remove duplicated isset function" 2015-02-25 01:33:31 +00:00
Jenkins
5c053a6c56 Merge "Add debtcollector to lib/oslo and stackrc" 2015-02-25 00:19:13 +00:00
Jenkins
a2be5e3a2d Merge "msgpack-python requires g++" 2015-02-24 22:42:00 +00:00
Joshua Harlow
ee9064b762 Add debtcollector to lib/oslo and stackrc
Ensure that the debtcollector library is pulled in
like the other oslo libraries so that devstack can
use it where appropriate.

Also fixes 'test_libs_from_pypi.sh' to not have a huge
single line of libraries; and splits it into multiple
lines so the diffs and code can be easily looked at.

Change-Id: I35ab0ed0e20b6092a41ecb3b6f1aaf0a05f5180e
2015-02-24 12:55:13 -08:00
Jenkins
231a3e5587 Merge "Changed the log format for horizon's apache configuration" 2015-02-24 20:09:18 +00:00
Jenkins
6239919ea4 Merge "Create service definition for nova-serialproxy" 2015-02-24 19:18:33 +00:00
Jenkins
2960ea1dea Merge "Install python-redis from pip" 2015-02-24 12:54:33 +00:00
Attila Fazekas
b8cf38c05d Remove duplicated isset function
stackrc defines the isset function, but this function is already
declared in functions-common.

The stackrc sources the `functions` which sources the `functions-common`.

Change-Id: I0772c42d049833334107c2e6da3700e544ce094f
2015-02-24 13:02:39 +01:00
Tony Breeds
a339efcd67 Create service definition for nova-serialproxy
Nova has the ability to do remote interactive consoles but there is no
easy way to enable this in devstack.  This change defines a service
called n-serial to enable the service.  Documentation is added to a
new guide on nova, describing how to set further options in local.conf

Change-Id: I401d94b2413c62bfae9b90d2214d77bd4cfc15d5
2015-02-24 18:36:36 +11:00
Jenkins
b5d1de0a93 Merge "Install openstackclient after other services" 2015-02-24 04:14:54 +00:00
Jenkins
e2b95ff2a2 Merge "F21 requires redhat-rpm-config for mariadb-devel" 2015-02-24 01:08:06 +00:00
Jenkins
beeef93013 Merge "mysql: disable query logging by default" 2015-02-23 21:30:19 +00:00
Jenkins
4e17005359 Merge "Add oslo.policy to lib/oslo and stackrc" 2015-02-23 21:28:04 +00:00
Jenkins
95f9a7febd Merge "Ensure lvm2-lvmetad service running on Fedora" 2015-02-23 21:27:22 +00:00
George Peristerakis
e7b51362fd Changed the log format for horizon's apache configuration
The default apache log format is noisy. Added a custom log format
that matches the other apache log format of projects like keystone

Closes-Bug: #1222900
Change-Id: Id9a8c3a4413c778e009c56ffde6b646b8a120c8b
2015-02-23 19:10:51 +00:00
Attila Fazekas
0fda343c18 msgpack-python requires g++
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
2015-02-23 14:33:52 +01:00
Attila Fazekas
d5004a3802 F21 requires redhat-rpm-config for mariadb-devel
As you can see in the f21 job, the python-MYSQL compilation
fails without this library.

At the first look it seams like packaging issue, so
I created bug related to this. [1]
Until the issue is addressed, the redhat-rpm-config will be
considered as build time dev dependency for f21.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1195207

Change-Id: I731828cac912d1b11eaf2269364411c77a57d76c
2015-02-23 13:50:36 +01:00
Flavio Percoco
b592454e51 Install python-redis from pip
Following the leads of  I47b7e787771683c2fc4404e586f11c1a19aac15c and as
an attempt to fix a bug blocking Zaqar's gate, this patch installs
python-redis from pypi instead of using the distro package.

Change-Id: Idfef2fe1b41b44c4cba6b6948b621bc44e77659b
2015-02-23 09:23:55 +00:00
Jenkins
889f604642 Merge "Recent virtualenv review cleanups" 2015-02-23 01:26:30 +00:00
Jenkins
07a0109fae Merge "clean.sh needs to call "run_phase clean" for external plugins" 2015-02-23 01:25:52 +00:00
Jenkins
d070ad22fd Merge "Ensure we install tempest-lib from git in tempest's tox venv" 2015-02-20 21:04:09 +00:00
Jenkins
7ac35fc110 Merge "purge all pure python libraries" 2015-02-20 16:45:21 +00:00
Al Miller
a1701fabcf clean.sh needs to call "run_phase clean" for external plugins
Change-Id: I67b970992479e50dc054f8c4a77a20e724e3e305
2015-02-20 08:22:25 -08:00
Ihar Hrachyshka
1ffa33210d Install openstackclient after other services
Let's see whether openstackclient will trigger unneeded version bump for
clients if its installation is put below all other services that are
expected to intall client libraries on proper versions on their own.

Change-Id: Ifa774219b7057112fc794a5e3d93bc963c55ba90
2015-02-20 17:12:46 +01:00
Dean Troyer
99c463d56d Recent virtualenv review cleanups
This is a follow-on to comments in https://review.openstack.org/156356
and https://review.openstack.org/#/c/151513/

* Remove work-around for /var/cache/pip
* Remove WHEELHOUSE setting in tools/build_wheels.sh and use the pip
  default directory '<cwd>/wheelhouse'
* Remove bogus MySQL-python install
* Removed unused bits and clean up pip commands in from tools/build_venvs.sh

Closes-Bug: #1423720
Change-Id: I0283b0dff9146b1b63bd821358505a93566270c6
2015-02-20 08:56:53 -06:00
Matthew Treinish
83e166b707 Ensure we install tempest-lib from git in tempest's tox venv
This commit adds installing tempest-lib from git to the tempest full
job's tox venv. Since by default tempest isn't being installed
globally anymore and when we do run tempest it is normally within a
tox venv that means previously the install from git flag isn't being
taken into account.

Change-Id: I98b0754c4a91690c9402fa2ae2c3e9ba9195d444
2015-02-20 09:50:34 -05:00
Sean Dague
aa8d31ac8b fix missing TOP_DIR which can break sourcing
There were a couple of places where TOP_DIR is missing when we do a
source of content in tools. Given that working directory can change
quite often during devstack, we need to always be explicit here.

Change-Id: I14b5699637d7f5db745bccf116f440cdcbaa8d91
2015-02-20 06:10:48 -05:00
Jenkins
86b3a920e9 Merge "Virtual environment groundwork" 2015-02-20 06:45:09 +00:00
Mikhail S Medvedev
69741a99c7 Fix package names that cause f20/f21 breakage
Closes-Bug: #1423720
Change-Id: I8fdea7d24d1ec09885d2a395d4ba656f4194d39f
2015-02-19 19:05:28 -06:00
Jenkins
37e03c906b Merge "Build wheel cache for venvs" 2015-02-19 17:20:45 +00:00
Attila Fazekas
380d92cc7a Ensure lvm2-lvmetad service running on Fedora
When the lvm package gets installed the meta service does
not gets started automatically, but it becomes enabled so it would be
running on the next reboot.

The lvm commands are configured to use this service.
In the past this issue just causes warnings in the cinder log,
but now it can lead to a real issue.

It is better to ensure it is really running,
because it speeds up the lvm related commands.

Change-Id: I17fe2c3bcf77a6505ed2b6c824c5b20807beb725
2015-02-19 07:55:26 +01:00
Steve Martinelli
20b027b79c Add oslo.policy to lib/oslo and stackrc
As per the graduation work items, any new libraries should be
added to lib/oslo and stackrc

partially implements bp graduate-policy

Change-Id: Ief8f28715ecff5a602d6d840d736ea07b5e7ff39
2015-02-18 23:21:20 -05:00
Jenkins
9f86ec2f4d Merge "Add qemu-utils to n-cpu debs" 2015-02-19 03:21:35 +00:00
Dean Troyer
8c2ce6ea72 Virtual environment groundwork
Introduce the tooling to build virtual environments.

* tools/build_venv.sh: build a venv
* introduce lib/stack to house functionality extracted from stack.sh that
  is needed in other places, such as Grenade; start with stack_install_service
  to wrap the venv install mechanics
* declare PROJECT_VENV array to track where project venvs should be installed
* create a venv for each project defined in PROJECT_VENV in stack_install_service()

Change-Id: I508588c0e2541b976dd94569d44b61dd2c35c01c
2015-02-18 20:19:38 -06:00
Jenkins
7591be5466 Merge "Remove is_rackspace function from functions-common" 2015-02-19 01:11:54 +00:00
Jenkins
20585f5b23 Merge "Remove no longer used definitions for Ryu" 2015-02-19 01:08:48 +00:00
Joe Gordon
b787b684f3 Add qemu-utils to n-cpu debs
Qemu-utils is needed by nova-cpu, we are hitting issues with this in
multi node testing where fewer services are installed on the second
node.

Change-Id: I4b0a217a252c7862014443230dda2bcced355c93
2015-02-18 15:20:31 -08:00
Daniel P. Berrange
20a3dbdfa1 mysql: disable query logging by default
Having DATABASE_QUERY_LOGGING enabled results in devstack turning
on verbose mysql query logging. This results in a log file
/var/log/mariadb/mariadb-slow.log that grows to 10's of GB in
size in very little time (few weeks if that). Developers never
seem to notice this exists until their host OS runs out of disk
space due to this logfile that is never truncated.

Very few people will ever look at this logged data, so a more
sensible default is False, to make the out of the box setup be
suitable for the majority. Those few people who want to debug
mysql query performance can enable it in local.conf, as will
the devstack gate setup scripts.

Depends-On: I6970d61474528f554134d0aa333cd52b7b20f309
Change-Id: Ia4a366c839ac51623bc1fbee3560dc4d848cce14
2015-02-18 22:17:20 +00:00
Jenkins
0573f3d8a0 Merge "Stop referring to grizzly" 2015-02-18 21:48:38 +00:00
Dean Troyer
b1d8e8e274 Build wheel cache for venvs
Building a bunch of virtual envs later is going to be tedious if we do not
pre-cache certain annoying-to-build packages.

* tools/build_wheels.sh: pre-build some wheels for annoying package installs
* list distro package dependencies in files/*/venv
* list packages to pre-build as wheels in files/venv-requirements.txt
* install database Python modules when setting up the database

Change-Id: Idff1ea69a5ca12ba56098e664dbf6924fe6a2e47
2015-02-18 15:13:00 -06:00
Jenkins
4a9b154f5e Merge "Fix is_keystone_enabled()" 2015-02-18 21:00:14 +00:00
Jenkins
a6de7e962c Merge "Teach pip_install() about virtual envs" 2015-02-18 20:59:20 +00:00
Joe Gordon
6b9debaa24 Stop referring to grizzly
I am pretty sure that won't even work.

Also fix tiny typo in the faq

Change-Id: Ie2e5640b8d4214a271d5af3b652b1a18db010b61
2015-02-18 11:30:23 -08:00
Jenkins
2e9d32baf2 Merge "XenAPI: Recommend using xl console rather than vncviewer" 2015-02-18 12:57:32 +00:00
Jenkins
a804c071b7 Merge "add ceilometermiddleware lib" 2015-02-18 11:32:51 +00:00
YAMAMOTO Takashi
606f3478b1 Remove no longer used definitions for Ryu
Change-Id: Ie6dcf1569aacfa8d20e905d694847594b136fed1
2015-02-18 13:56:35 +09:00
Jenkins
471a203695 Merge "define variables for Trove to be used in local.conf" 2015-02-18 01:09:09 +00:00
Jenkins
f55af826a5 Merge "Add new function get_from_global_requirements" 2015-02-17 23:47:54 +00:00
Jenkins
d5e934e23c Merge "Fix an error message in the neutron script" 2015-02-17 22:00:27 +00:00