6173 Commits

Author SHA1 Message Date
Sean Dague
37eca48970 remove non RabbitMQ messaging
Part of what was decided at summit is devstack needs to return to a
more opinionated stance, the following removes support for non
RabbitMQ messaging. RabbitMQ is used by over 95% of our community
(statistically all of it), so it's a pretty clear line to draw that
this shouldn't be in tree.

iniset_rpc_backend will be our stable hook for other projects that
want to implement this out of tree. The burden on creating those out
of tree plugins will be on those that wish to support those
alternative stacks.

Change-Id: I8073a895c03ec927a2598eff6c2f01e5c82606fc
2015-06-16 08:28:52 -04:00
Jenkins
97c77b90e2 Merge "Set Neutron api_workers to $API_WORKERS" 2015-06-14 14:23:10 +00:00
armando-migliaccio
e155b894c8 Set Neutron api_workers to $API_WORKERS
Change [1] brings back this feature in Neutron, so we want to have
the ability to set the number of API workers the same way other
projects do.

However, this cause some instability, so we need to be careful on
how we bring it back.

[1] https://review.openstack.org/#/c/191127/

Closes-Bug: #1432189
Related-bug: #1432065

Change-Id: Id4986a49d33fa4b8a7291150488665e200525dac
Co-authored-by: Russell Bryant <rbryant@redhat.com>
2015-06-12 18:47:38 +00:00
Jenkins
aadcde06a2 Merge "Install PyMySQL if used" 2015-06-12 18:36:50 +00:00
Jenkins
008f42a24c Merge "Revert "change the default to PyMYSQL"" 2015-06-12 14:02:00 +00:00
Sean Dague
de8d29ed8c Revert "change the default to PyMYSQL"
The failure rate with neutron is too high to keep this
as the default.

Related-Bug: #1464612

This reverts commit b3798af474955368211a297ba85332fde5491993.

Change-Id: Ie9550aeb25d472a38e3d3ef6f3711622c9221c46
2015-06-12 10:43:28 +00:00
Jenkins
7a6f0b6bff Merge "guru meditation report for nova-compute in worlddump" 2015-06-12 07:50:17 +00:00
Julien Danjou
0f63eb3a37 Install PyMySQL if used
Change Ic609ce136061b753ca692b37509a0b29c60bb8b5 switched to PyMySQL by
default but does not make sure it is installed. This is causing gate
failure in Gnocchi for example:

  http://logs.openstack.org/25/186025/3/check/gate-gnocchi-dsvm-functional-file-mysql/eebd773/logs/devstacklog.txt.gz

Change-Id: I23d313220607fcc8acb95ab43f55b7d9899b9b1f
2015-06-12 09:05:12 +02:00
Jenkins
7b66c4f7af Merge "Create and initialize the nova api_db" 2015-06-11 22:16:42 +00:00
Jenkins
1e6b33377f Merge "change the default to PyMYSQL" 2015-06-11 11:35:38 +00:00
Jenkins
4e0defe109 Merge "Cleanup FAQ somewhat" 2015-06-11 03:06:25 +00:00
Dan Smith
03786b1cca Create and initialize the nova api_db
Going forward, nova will have another database at the API level (similar to how
current cells has an api-level cell, with its own database). This patch creates
and initializes it so that we can start testing the migrations with grenade.

Change-Id: I0dfae32102aeda9c5d17e134527b6a18f4b88014
2015-06-10 14:57:33 -07:00
Jenkins
dd4e468448 Merge "Fix typo: _create_volume_group => _create_lvm_volume_group" 2015-06-10 18:33:45 +00:00
Jenkins
dae868fcb0 Merge "Revert "Replace pip-installed requests CA bundle with link"" 2015-06-10 12:51:52 +00:00
Sean Dague
7272afdf8b Revert "Replace pip-installed requests CA bundle with link"
This does not gracefully handle the situation where requests
is not there at the beginning. Needs to be rethought.

This reverts commit 7d350720fe5d25fece68c5d1625a33a6cad431ef.

Change-Id: I101fac0dc6fdc97b7fb0b2955cffc6b4905152e5
2015-06-10 10:26:57 +00:00
Jenkins
84acb7a3a9 Merge "ceilometer: add tempest option to test events" 2015-06-09 23:06:39 +00:00
Jenkins
6108092d30 Merge "XenAPI: Increase OpenStack DomU usage again" 2015-06-09 23:00:16 +00:00
Jenkins
c717d50923 Merge "Documentation for single interface Neutron networking with OVS" 2015-06-09 23:00:12 +00:00
Jenkins
1bbe71c856 Merge "Replace pip-installed requests CA bundle with link" 2015-06-09 23:00:07 +00:00
Jenkins
4c746084e2 Merge "Enable image deactivate feature which was added in kilo" 2015-06-09 22:30:32 +00:00
Jenkins
2f5598be91 Merge "Fix nova and glance discovery URLs when tls-proxy is enabled." 2015-06-09 22:26:21 +00:00
Jenkins
69c32dbfc1 Merge "Neutron: Add a cleanup function for Linux Bridge" 2015-06-09 22:26:12 +00:00
Jenkins
f324cf2ae1 Merge "Fix sample multinode configuration" 2015-06-09 22:16:50 +00:00
Ian Wienand
a16e46100a Cleanup FAQ somewhat
Remove some old discussions that no longer seem relevant and cleanup a
few other points.

Change-Id: I175ddaf9362bf48d35b0e648904eeb21bdc3c793
2015-06-09 12:37:39 +10:00
Sean M. Collins
7bc2af7a6b Neutron: Add a cleanup function for Linux Bridge
Change-Id: Ia1bad5d2fa3b94afc662463b2e072f8482b0ce1f
2015-06-08 15:09:19 -04:00
Ramy Asselin
10e1fd420d Allow override of os-brick library used by cinder
os-brick code was pulled out of cinder and made into its own library
https://review.openstack.org/#/c/155552/

added to requirements:
https://review.openstack.org/#/c/177372/

Integration tests were added
https://review.openstack.org/#/c/188156/

But they still use the version of os-brick from pip.

This change updates devstack to pull in the changes from
os-brick patch sets instead, when configured to do so.

Needed-by: Id2bc10782847861fe4bb5e9e46245654450e38fd

Change-Id: I5359dd37dfe94bd469d5ca35f9fbaeda61b5fac4
2015-06-08 09:54:16 -07:00
Joe Gordon
2ebe993b25 guru meditation report for nova-compute in worlddump
Nova-compute is hanging in the multinode test, and its difficult to
figure out why. So trigger a guru meditation report for nova-compute in
worlddump so we can see what nova-compute is doing when it is hung.

Having a hung nova-compute causes tempest to fail and
I035fe8e3333034e44b403ed0f986220ab5b0e57a runs worlddump whenever
tempest fails.

Bug 1462305 is one of the last issues left before the multinode job is
stable enough to gate on, and this patch should make it much easier to
debug.

Change-Id: I87d7536b5992c47b8082684cc662f953113fd1a8
Related-Bug: #1462305
2015-06-07 17:01:52 +09:00
Rob Crittenden
6254d5fd0d Fix nova and glance discovery URLs when tls-proxy is enabled.
Retrieving the root page in the nova and glance APIs include
URLs for the various versions supported. These are by default
reported using unsecure URLs. Configure the services to report
a SSL-based URL instead.

Change-Id: I220757e53b94a5f6d19291371407220fdf54c645
2015-06-05 13:56:27 -04:00
Jenkins
21b7e975fa Merge "MAINTAINERS.rst: Add MidoNet section" 2015-06-05 00:41:37 +00:00
Jenkins
43be124e86 Merge "Add utopic and vivid as a supported distros" 2015-06-05 00:14:38 +00:00
Jenkins
62bc560bd8 Merge "Change the restart_rpc_backend loop to accomodate async rabbitmq" 2015-06-05 00:13:08 +00:00
YAMAMOTO Takashi
3fe4c4e789 MAINTAINERS.rst: Add MidoNet section
While the most part of MidoNet code is now externally maintained
using the external plugin mechanism, it can be still useful to
have a contact list.

Change-Id: I3e0a0586c07875ca37ce101dd169eaf78f34f7a5
2015-06-03 17:39:34 +09:00
Rob Crittenden
7d350720fe Replace pip-installed requests CA bundle with link
If the version of python-requests required is higher than
that provided by the operating system, pip will install
it from upstream.

The upstream version provides its own CA certificate bundle
based on the Mozilla bundle, and defaults to that in case
a CA certificate file is not specified for a request.

The distribution-specific packages point to the system-wide
CA bundle that can be managed by tools such as
update-ca-trust (Fedora/RHEL) and update-ca-certificates
(Debian/Ubuntu).

When installing in SSL/TLS mode, either with SSL=True or by
adding tls-proxy to ENABLED_SERVICES, if a non-systemwide
CA bundle is used, then the CA generated by devstack will
not be used causing the installation to fail.

Replace the upstream-provided bundle with a link to the
system bundle when possible.

Change-Id: I349662ff8f851b4a7f879f89b8975a068f2d73dc
Closes-Bug: #1459789
2015-06-02 18:35:33 -04:00
Jenkins
a1774b5704 Merge "Define PUBLIC_BRIDGE in the main Neutron lib" 2015-06-02 20:32:41 +00:00
Jenkins
89456aea8e Merge "Remove the code against flushing public bridge" 2015-06-02 20:32:37 +00:00
Jenkins
700af398ce Merge "Simplify add_user_to_group function" 2015-06-02 20:32:30 +00:00
Jenkins
fc62127a5f Merge "Remove packaged rpm python libraries" 2015-06-02 20:32:21 +00:00
Jenkins
e37d1dd1bc Merge "Add missing libmysqlclient-devel dependency for SUSE" 2015-06-02 20:32:17 +00:00
Jenkins
250fe6e9d0 Merge "Skip the .tox dir when building docs" 2015-06-02 20:25:18 +00:00
Jenkins
7757df5a88 Merge "Skip 'shocco' code when running tox" 2015-06-02 20:23:31 +00:00
Jenkins
ab367dc42a Merge "Fixing keystone v3 version use for horizon" 2015-06-01 20:12:30 +00:00
Jenkins
83ac7645a9 Merge "optional pymysql support" 2015-06-01 20:08:02 +00:00
Sean M. Collins
64d5ecf3bf Define PUBLIC_BRIDGE in the main Neutron lib
This way, it can be used by both OVS and Linux Bridge

Change-Id: Iea5a8bb720d327b69f64791a23d414d4cde2e3ea
Closes-Bug: #1460758
2015-06-01 14:13:41 -04:00
Sergey Skripnick
25cb34606e Fix sample multinode configuration
There should not be c-sch and c-api services on compute node.

Change-Id: Ice057eb80e7ab6e917ca972abe7eaae7d635e8a5
Closes-Bug: 1393721
2015-06-01 19:06:46 +03:00
David Kranz
f100e1cfe6 Enable image deactivate feature which was added in kilo
Change-Id: Ia1d3d811bd57d3de16d397cfab341e8d0f17cb69
2015-06-01 10:37:51 -04:00
Dirk Mueller
643779873a Remove packaged rpm python libraries
We want to use the pip versions instead, only python-devel
should be needed.

Change-Id: If7720d54c4ad3358f9dc2fceedd6f5897085eb8f
2015-06-01 12:48:32 +02:00
Dirk Mueller
1ebe4f1ff0 Add missing libmysqlclient-devel dependency for SUSE
Currently devstack unconditionally installs MySQL-python, so
we need to have its dependencies available. Since this is
transitional until the switch to PyMysql happened, lets just
add the dependency for now to have devstack working again.

Change-Id: I638b5999d35a06eee962679b1cd95950bbf2b1d7
2015-06-01 12:48:27 +02:00
Jenkins
acdb7f6d52 Merge "Fix horizon files for SUSE" 2015-06-01 06:29:24 +00:00
Tony Breeds
0bedeb9062 Add utopic and vivid as a supported distros
Change-Id: I63843335bd70ab9701bbd10dcf61f3eaa45a10e8
2015-06-01 16:25:37 +10:00
Tony Breeds
6bc905c348 Change the restart_rpc_backend loop to accomodate async rabbitmq
Some distros have converted to systemd for starting RabbitMQ.  This has
resulted in:
---
[Call Trace]
./stack.sh:904:restart_rpc_backend
/home/stack/projects/openstack/openstack-dev/devstack/lib/rpc_backend:201:die
[ERROR] /home/stack/projects/openstack/openstack-dev/devstack/lib/rpc_backend:201 Failed to set rabbitmq password
Error on exit
World dumping... see /opt/stack/logs/worlddump-2015-05-29-031618.txt for details
---

Because 'restart_service rabbitmq-server' returns before the server is ready to
accept connections.

Alter the retry loop to only restart the rabbitmq-server every second time
through the loop.  Allowing time for the slow rabbit to start.

Closes-Bug: 1449056
Change-Id: Ibb291c1ecfd109f9ed10b5f194933364985cc1ce
2015-06-01 16:23:13 +10:00