563 Commits

Author SHA1 Message Date
Jenkins
889f604642 Merge "Recent virtualenv review cleanups" 2015-02-23 01:26:30 +00:00
Jenkins
7ac35fc110 Merge "purge all pure python libraries" 2015-02-20 16:45:21 +00: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
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
Jenkins
9f86ec2f4d Merge "Add qemu-utils to n-cpu debs" 2015-02-19 03:21:35 +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
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
YAMAMOTO Takashi
606f3478b1 Remove no longer used definitions for Ryu
Change-Id: Ie6dcf1569aacfa8d20e905d694847594b136fed1
2015-02-18 13:56:35 +09:00
Sean Dague
39282bf769 purge all pure python libraries
python libraries should be installed from upstream, not from the
distro, as much as possible. The following is a first attempt at
purging all the python libraries and making it so that they instead
should fall back to the pypi versions.

Libraries which are known to include native code are left behind.

Change-Id: I47b7e787771683c2fc4404e586f11c1a19aac15c
2015-02-17 10:26:36 -05:00
Jenkins
314723962b Merge "Make EC2 compatible with current AWS CLI." 2015-02-12 17:48:54 +00:00
Jenkins
6bcd7009b5 Merge "qpid: plain auth needs cyrus-sasl-plain package" 2015-02-11 16:11:20 +00:00
Mehdi Abaakouk
d1e3ff14b8 qpid: plain auth needs cyrus-sasl-plain package
On fedora 21, qpidd cannot authenticate user, because
cyrus-sasl-plain is no more automatically installed.

This change fixes that.

Change-Id: I74452f40723881291b8c7577e5509da1c0e4e6e5
2015-02-11 14:27:11 +01:00
Wayne Okuma
00d0da36af Adds elasticsearch support as a pre-req for the glance-index.
Add elastic search pkg installation and start into the glance install
and start paths.

Change-Id: I53fc37225dd606f627c9f967083007613eb1f1bb
Implements: blueprint catalog-index-service
2015-02-09 11:35:00 -08:00
Andrey Pavlov
0ea8b72a20 Make EC2 compatible with current AWS CLI.
Nova listens for EC2 calls now at the URL without path -
http://some.server.com:8773/
I was made in review -
https://review.openstack.org/#/c/152496/

So I suggest to change EC2 urls in keystone catalog.

Change-Id: Ia2975ce0f6a30eed6016733e12c98b5f97648307
Closes-Bug: 1417555
2015-02-06 22:51:07 +03:00
Maru Newby
cbfe93bb48 Add postgresql dev package as testonly neutron dep
The neutron functional job needs to build psycopg2 which has a
dependency on postgresql dev packages.

Change-Id: Ie5c8e2bd02e148d6638f4a4c1fbf6667c30313d5
2015-02-06 15:45:12 +00:00
Maru Newby
c4b871f613 Add q-l3 conntrack dependency for ubuntu
The conntrack binary is included with conntrackd on rpm-based
distros but needs to be explicitly installed on ubuntu.

Change-Id: I615627c85d6aa5a465355c0ea27148f24d863a01
2015-01-30 22:24:30 +00:00
Attila Fazekas
1f316beb20 Remove rhel6 and py26 support
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
2015-01-27 09:22:52 +01:00
Attila Fazekas
55383f1a9b Do not install wsgiref for glance
wsgiref is not used by glance.

Change-Id: I5085e6418ca3cea2549b1b5d8a5877445b10c4a7
Related-Bug: #1255826
2015-01-26 18:06:33 +01:00
Maru Newby
5ecf46b581 Add 'acl' package to neutron deps
The acl package has been added as a test-only dependency of neutron.
It is used by the functional job in configuring postgres.

Change-Id: Ie28da793237b51cced3bd0a9b35273d9c50472e8
2015-01-09 13:40:12 +00:00
Jenkins
da03c9dba5 Merge "uuidgen binary is needed by lib/{neutron,ceph}" 2015-01-08 02:25:06 +00:00
Monty Taylor
18a81a2058 Stop installing setuptools from distros
We go through a bunch of trouble to install setuptools via pip. Having
it in the distro install too is confusing.

Change-Id: I6875fe2a1ee6b7d296f7f44b4b1601794b136440
2014-12-26 09:53:21 -06:00
Guillaume Delacour
95d1a43f1f uuidgen binary is needed by lib/{neutron,ceph}
When using unstack.sh script on Debian Wheezy, i saw a failing call on
uuidgen binary:

    $ ./unstack.sh
    /home/stack/devstack/lib/neutron: line 83: uuidgen: command not found
    Site keystone disabled.
    [...]

Change-Id: I47e158abce9d090eb839c6e97d9191dc99ccfe55
2014-12-20 17:10:59 +01:00
Jenkins
7ed4318d15 Merge "Add WSGIPassAuthorization to the admin port too" 2014-12-18 09:47:41 +00:00
Monty Taylor
684e9e9ce2 Don't install sphinx from distro
We don't generate docs in devstack. But also, sphinx depends on babel
which has a hard depend that breaks with setuptools 8. However, pip
installed babel/sphinx should not have this problem.

Change-Id: I84a82e56f6540724d50c6201a68c480ba7645add
2014-12-17 11:48:59 -05:00
Steve Martinelli
b57f636ec8 Add WSGIPassAuthorization to the admin port too
Accidentally only added WSGIPassAuthorization to the public port,
like all the other WSGI props, it should be added for both ports.

Change-Id: I4e52e0881df464dfb7b28e22581f462e14e37bdb
2014-12-15 20:55:54 -05:00
Steve Martinelli
dc31f76a27 Add WSGIPassAuthorization to the keystone apache template
For the OS-OAUTH1 Keystone extension to fully work under Apache,
the WSGIPassAuthorization parameter must be set to On, rather
than the default of Off. This will make functional testing of
this extension much easier.

Change-Id: I5dcbdd27e7ef7a60fe3c7cb8b9c3c83b4197dfc1
2014-12-13 23:34:15 -05:00
Monty Taylor
81a016dbcd Rename apts to debs
apts aren't a thing, debs are. apt-get installs debs, like yum installs
rpms. Another option would be to rename rpms to yums, but that is even
sillier, considering then for suse we'd have to call it "zypper-suse" or
something, even though it would want to consume yums-general as a base.

Include a symlink to the old name to help out with grenade. The symlink
should go away later.

This is a long-standing annoyance of mine.

Related-to: I915f0e59c13d8cf5fb3549c6202f8aa2f8be0856
Change-Id: I0416180db5b6add996ce5b48c6966c1b68adbcb0
2014-11-24 09:51:17 -05:00
Adam Gandelman
ffd66ad77f Log early boot of Ironic VMs to serial with sgabios
This adds sgabios to the list of packages for Ironic and configures
the libvirt domain to redirect BIOS messages to serial via sgabios,
when console logging is enabled.  The sgabios package in Ubuntu
currently has an apparmor bug, so that is worked around here.

This allows visibility into early boot of Ironic nodes and should
help get to the bottom of a frequent failure we're seeing in the gate.

Change-Id: Ifd18851e2d23d198d36e67883a81afc6a92d2a58
Related-Bug: #1393099
2014-11-17 12:32:27 -08:00
Jenkins
4c6ceb56cf Merge "Initial support for Fedora 21" 2014-11-16 17:32:18 +00:00
Kashyap Chamarthy
91e4018afd Add 'net-tools' package dependency
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
2014-11-13 12:27:59 +01:00
Pavel Sedlák
6d20f09045 Initial support for Fedora 21
Initial support for Fedora 21.  Add f21 to the distribution lists for
rpms, ensure "mariadb" is used over "mysqld" and enable it in the
distro check, as we have several reports of it working.

Tested with [1]

[1] http://download.fedoraproject.org/pub/fedora/linux/releases/test/21-Beta/Cloud/Images/x86_64/Fedora-Cloud-Base-20141029-21_Beta.x86_64.qcow2

Change-Id: I97cbede806e5c00363c7174fa1e9f286de96aab6
2014-11-12 17:46:40 +01:00
Akihiro Motoki
20522e3b0e Add pcre devel package for Horizon
pyScss python module uses pcre if available for performance
and it is better to be installed.
This commit adds it for files/{apts,rpms}/horizon.

Change-Id: If711fa222d3f395efd670334c8a84f35d195dc25
2014-10-29 15:51:38 -04:00
Jenkins
18c007451a Merge "Configure an authorized user for the QPID broker" 2014-10-28 03:25:05 +00:00
Akihiro Motoki
6518c0b88e Compile Horizon message catalogs during stack.sh
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
2014-10-18 06:40:08 +09:00
Jenkins
f33e76bf9b Merge "Add Nova v2.1 API endpoint" 2014-10-07 03:51:05 +00:00
Jenkins
552459cbcc Merge "Added libvirt-dev[el] as a required system package" 2014-10-05 13:59:35 +00:00
Jenkins
608491c0f7 Merge "Add support for redis to Zaqar's lib" 2014-10-04 09:25:55 +00:00
Mike Spreitzer
3edd4540b9 Added libvirt-dev[el] as a required system package
Added libvirt-dev as a system package to install with apt-get and
libvirt-devel as a system package to install with rpm.

Early drafts qualified with "testonly" (meaning to install only if
INSTALL_TESTONLY_PACKAGES is true).  This is needed because installing
libvirt-python version 1.2.5 on Ubuntu 14.04 was observed to fail in
the building step if libvirt-dev is missing.  Later drafts removed
that qualification, because Sean Dague said he thinks libvirt-dev[el]
is always required.

Change-Id: Ie6a272f60059a1f363630f307416b32c450a1ebb
Closes-Bug: 1362948
2014-10-02 23:23:18 -04:00
Adam Gandelman
6566f21ddf Adds qemu packages to ironic's apts
Nodepool images have recently migrated to being built with DIB, resulting
in strange changes in how the package dependency chain works out.  This
explicitly adds required qemu packages to Ironic's apts to avoid some
not being pulled in by package dependencies alone.

Change-Id: I60373ee5ad7445cd54c8c013085b28d82bb0d085
Closes-bug: #1376863
2014-10-02 11:25:03 -07:00
Flavio Percoco
e29a55ade1 Add support for redis to Zaqar's lib
A new redis driver has landed in Zaqar. This patch adds support for that
driver to Zaqar's lib.

Change-Id: I97629a303c55ee098e3bfbc534bfb05ccab94649
2014-10-02 09:24:58 +02:00
Kenneth Giusti
062a3c3e70 Configure an authorized user for the QPID broker
If QPID_USERNAME is set, add the user to the QPID broker's
authentication database.  Use the value of QPID_PASSWORD as the
password for the user, prompting for a password if QPID_PASSWORD is
not set.  This requires that all clients provide this username and
password when connecting to the QPID broker, or the connection will be
rejected.

If QPID_USERNAME is not set (the default), disable QPID broker
authentication. This allows any client to connect to the QPID broker
without needing authentication.

Change-Id: Ibd79873379740930ce5f598018c1ca1fffda7c31
Closes-Bug: 1272399
2014-10-01 16:06:52 -04:00
Jenkins
44799c4987 Merge "Allow ceilometer-api to run under mod_wsgi" 2014-09-29 06:13:57 +00:00
Chris Dent
ae6fb18ff2 Allow ceilometer-api to run under mod_wsgi
If CEILOMETER_USE_MOD_WSGI is True then the API app will
run under mod wsgi. The default is false (for now).

The changes are modeled on keystone's use of apache.

Note that these changes are dependent on
https://review.openstack.org/#/c/121823/ in ceilometer.

Using mod_wsgi allows the ceilometer api to handle "concurrent"
requests. This is extremely useful when trying to benchmark
various aspects of the service.

Change-Id: I4c220c3b52804cd8d9123b47780a98e0346ca81e
2014-09-28 17:55:59 +01:00
Sean Dague
68e9f05f7c remove kombu from package lists
This is a pure python library that we should probably let pip
handle so that we don't accidentally only test whatever patched
version is in trusty instead of the upstream versions.

Change-Id: I93d2f9344b9f83d2397466b4bc29c97210919ed9
2014-09-28 10:38:29 -04:00
Jenkins
9241e36bf1 Merge "Remove Nova v3 API endpoint" 2014-09-28 02:24:26 +00:00
Jenkins
6145ed0c62 Merge "Fix pkg name for mysql-connector-python on SUSE" 2014-09-28 01:22:26 +00:00
Thomas Bechtold
293869fbac Fix pkg name for mysql-connector-python on SUSE
The correct package name on SUSE distros is python-mysql-connector-python.

Change-Id: I5250356f782f149f87f3d0ffba3380911fa437be
2014-09-25 07:55:15 +02:00
Jenkins
14f6c50b18 Merge "Use mod_version to clean-up apache version matching" 2014-09-25 03:43:29 +00:00
Ken'ichi Ohmichi
3feaa383ce Add Nova v2.1 API endpoint
In Juno cycle, we started to implement Nova v2.1 API and most part
has been implemented now.
For using/testing the API, this patch adds the endpoint setting to
devstack.

Change-Id: I25557cb2b0a1384ee11d3e1ae7d424828e766e50
2014-09-25 02:10:24 +00:00