8268 Commits

Author SHA1 Message Date
Jens Rosenboom
9abb26d696 Try to set initial mysql root password also on Ubuntu
On Ubuntu nodes, devstack tries to predefine the initial mysql root
password by doing some debconf-set-selections, but these will not take
effect if the corresponding package has been installed earlier. So
just try to set it every time, like we do on other distros.

Change-Id: I2c167051fc5e53dd0ccf82a60ab085cd9cdea28d
2016-12-07 21:12:55 +01:00
Jenkins
77a7296248 Merge "Remove heat code from devstack tree" 2016-12-06 13:36:52 +00:00
Vasyl Saienko
8e0fc9dc8e Fix doc formating
Fix formating issue in the doc/source/plugin.rst

Trivial fix.

Change-Id: Ifc9a43aebdab0c15c83485cf0b6d4133d7194a9d
2016-12-06 09:35:16 +02:00
Jenkins
2f1da40b0c Merge "Missing parameter in comment" 2016-12-06 01:52:48 +00:00
Jenkins
172b043d68 Merge "Fix devstack with linuxbridge without l3 agent" 2016-12-05 18:58:25 +00:00
Jenkins
d0df7c88f2 Merge "Fix libguestfs on Ubuntu" 2016-12-05 17:34:29 +00:00
Sean Dague
6d66e647ca don't setup cells if n-cpu isn't also running
create_cell requires n-api and at least one n-cpu up and running. If
we have a configuration where it is not guarunteed that there is an
n-cpu at the end of a devstack run we have to skip this step and make
the user run it manually later.

Change-Id: I2287ab29f3c1a7252271dcce81673ef365615296
2016-12-05 06:28:26 -05:00
Anton Merzlyakov
ae61e6f3d2 Postgres: fix detection of existing roles
Role "root" it is hardcode.
In general case role name comes from  local.conf: string  "DATABASE_USER="

Change-Id: Iedfca48e04d23c313851f48d68ac40ba29340805
2016-12-05 11:10:11 +03:00
jeckxie
8a834940b8 Missing parameter in comment
Change-Id: Iba55013b3be00974321ad58a276bb37ff2cac4da
2016-12-05 15:32:25 +08:00
OpenStack Proposal Bot
6b8a115b95 Updated from generate-devstack-plugins-list
Change-Id: I21c31b0778486971719f1281428c7a089f583656
2016-12-03 06:56:32 +00:00
Jenkins
3d5a909018 Merge "Always setup cells v2" 2016-12-02 18:14:39 +00:00
Jenkins
ee548bc2bf Merge "Add keystone VirtualHost for port 443 when USE_SSL is True" 2016-12-02 15:27:47 +00:00
Armando Migliaccio
1c08b191fd Fix devstack with linuxbridge without l3 agent
The linuxbridge agent for Neutron expects that the public bridge will
already be created by the time it starts. On devstack, this only occurs
as part of the l3 agent configuration. If a compute node doesn't have an
l3 agent and is using a linuxbridge agent, then br-ex won't be created
and the process will not be able to start (causing stack.sh to fail).

This causes the gate-grenade-dsvm-neutron-linuxbridge-multinode-nv gate
to fail. To avoid the issue, skip the bridge mappings setup unless L3 is
configured. This is done in a backward compatible fashion: if localrc
uses the old q-l3 tags, the is_service_enabled neutron-l3 would not be
able to succeed.

Closes-Bug: #1643562

Change-Id: I292ff0dc080fb84b5f879ba2f00f03eff295b55b
2016-12-02 02:21:42 +00:00
Jenkins
c18b804b16 Merge "Add test-config local.conf processing" 2016-12-01 20:31:01 +00:00
Andrea Frittoli
1c442eebc8 Fix libguestfs on Ubuntu
libguestfs does not work on ubuntu because the kernel is not
world readable. This breaks file injection with libvirt.
See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725
for more details.

The workaround proposed by Ubuntu is to relax the kernel ACL
if needed, so we need to do that in case file injection is
enabled on an Ubuntu host running libvirt.

Partial-bug: #1646002
Change-Id: I405793b9e145308e51a08710d8e5df720aec6fde
2016-12-01 17:00:41 +00:00
Jenkins
38fb14591a Merge "Revert "Set cinder coordination backend url"" 2016-12-01 16:16:54 +00:00
Sean Dague
8bf8c8f381 Add test-config local.conf processing
We need a local.conf processing phase after every run phase which lets
us override config options after that point. We didn't explicitly
support this for test-config before, which broke some CI systems when
we moved tempest to use this later phase.

Closes-Bug: #1646391

Change-Id: I7d693afa19acf3e8231e84e45b7a868628ebdbc0
2016-12-01 10:25:51 -05:00
YAMAMOTO Takashi
eede9ddb1d Deprecate Q_PLUGIN_EXTRA_CONF_PATH
This single global variable is no longer useful as we have multiple
repositories and devstack plugins nowadays.

Also, add a utility function, neutron_server_config_add, for devstack
plugins to add an extra config file.

Related-Bug: #1599936
Change-Id: I90112823ef96ae2fba97d7b09b00bec8cb816d8d
2016-12-01 22:31:24 +09:00
YAMAMOTO Takashi
8b1bbd690c Make deprecated() output to stderr
So that it can be used by functions like _determine_config_server,
which is used like RESULT=$(_determine_config_server).

Change-Id: Ia4e641c5529b95ada30ae662221f370bc7fa88a7
2016-12-01 22:31:21 +09:00
YAMAMOTO Takashi
c74315e055 Load neutron-legacy only if enabled
To avoid using legacy functions accidentially.

Depends-On: Ida1f83b6b3ef9b76be13c063c7e35a8703214078
Change-Id: I3ff136fc8330c92007cdfe91b77d7f9865eabd8d
2016-12-01 20:33:32 +09:00
Ghanshyam Mann
50ce0a8032 Revert "Set cinder coordination backend url"
gate-tempest-dsvm-layer4 job is failing due to this change as no module found on zake[1]. Heat not able to create cinder stack.
This is blocking tempest now so we will revert revert this once find the real cause.

This reverts commit a283526c88d98f7668d369f4c20db44d3d06425a.

..1 http://logs.openstack.org/64/405064/2/check/gate-tempest-dsvm-layer4/feb21fe/logs/screen-c-vol.txt.gz#_2016-12-01_05_43_40_369

Change-Id: I50981db7760688a25a2bf4de9a41153ede76f4aa
2016-12-01 08:45:43 +00:00
Sean M. Collins
1d83a08a38 lib/neutron: Remove type_driver configuration
Instead, rely on what Neutron ships by default.

Change-Id: I8bdc646d24b3edf10f421e4472a790caeb8e4887
2016-12-01 01:32:26 -05:00
Jenkins
77428fb7c2 Merge "Stop q-domua process when XenServer is used" 2016-12-01 05:17:32 +00:00
Huan Xie
df875c5f16 Reconfig ml2 ovs configuration for neutron on XenServer
XenServer already support OVS native mode and I have a patch for
configuring it https://review.openstack.org/#/c/372952/ which
is fine. But we have another patch which revert the usage of
ml2_confi.ini and ml2_conf.ini.domU
https://review.openstack.org/#/c/396573/. Both patches work well
separately. But the two should have some dependent relationship.
Once one merged, the other should change accordingly. Sorry that
we missed the dependency.
This patch is to fix the ovs config based on reverted ml2_conf.ini
and ml2_conf.ini.domU to make sure we configure the correct IP for
ovs agent

Change-Id: Ib53e37e210cc849f161dd6630f81e5b2331a91d5
2016-11-30 19:47:24 -08:00
Jenkins
0474b8384a Merge "Move default Keystone API version to v3" 2016-12-01 01:28:29 +00:00
Jenkins
60f97c8b9b Merge "Make neutron ml2 use ovs native interface" 2016-12-01 00:11:04 +00:00
Jenkins
fddff69efd Merge "ceph: set rbd_secret_uuid in cinder.conf, not rbd_uuid" 2016-11-30 22:57:42 +00:00
Jenkins
df51567525 Merge "Provide configuration file to ovs-cleanup utility" 2016-11-30 21:31:43 +00:00
Jenkins
a5bd682d47 Merge "remove listen directive bound to only ipv4" 2016-11-30 21:22:11 +00:00
Jenkins
8b052a6d5a Merge "XenAPI: correct the ml2 configuration for neutron" 2016-11-30 20:58:42 +00:00
Sean M. Collins
50bf4fc075 lib/neutron-legacy - Use stevedore alias for ML2 plugin
Similar to 30ab23cd9b103470a7d89c4c88bccba789884c36, fix the
plugin name to avoid warnings like:

WARNING stevedore.named [-] Could not load neutron.plugins.ml2.plugin.Ml2Plugin

Change-Id: Ibb45f1305816b255ba2419ba662d9e29eff68f58
2016-11-30 14:27:36 -05:00
Huan Xie
2864150940 Make neutron ml2 use ovs native interface
Neutron has changed to use ovs native interface by default, but when
the hypervisor is XenServer, we cannot use ovs native interface without
extra configurations in neutron-openvswitch-agent(q-agt) in compute
node.

This patch is to add the needed configurations automatically during
deployment, so user needn't to do it manually and restart q-agt.

Change-Id: Ibc69d3cdb4d75833f2ac16840c62bcacf460dd4f
2016-11-30 17:19:36 +00:00
Jenkins
b9f697719b Merge "XenAPI: Enable linux bridge in Dom0 for neturon" 2016-11-30 16:31:36 +00:00
Jenkins
1f739c867a Merge "worlddump: Add cinder-volume guru meditation report" 2016-11-30 16:31:25 +00:00
Jenkins
1d8ddba7f8 Merge "Objects versions new style config" 2016-11-30 16:31:18 +00:00
Jenkins
36ea69272d Merge "Remove the heat stack owner role" 2016-11-30 16:31:11 +00:00
Jenkins
b719b55b1d Merge "Ensure testing configuration can run as late as possible" 2016-11-30 16:30:38 +00:00
Jenkins
98f2cafe8b Merge "Set cinder coordination backend url" 2016-11-30 16:30:23 +00:00
Jenkins
6c80f2a485 Merge "Remove check for nova-volumes API" 2016-11-30 16:30:16 +00:00
Jenkins
a030696f6c Merge "Revert "Fix devstack with linuxbridge without l3 agent"" 2016-11-30 14:34:29 +00:00
Jenkins
9a69a1abfc Merge "If plugin is enabled multiple times fail" 2016-11-29 23:45:09 +00:00
Armando Migliaccio
6653d74fc4 Revert "Fix devstack with linuxbridge without l3 agent"
I am seeing red all over the linuxbridge gate.

This reverts commit 7f95baa5706980a0910741693abee73abea98b89.

Change-Id: I179f761f991db4b63c0e3445a9a13e43ffe68992
2016-11-29 23:30:18 +00:00
Jenkins
3dd0b2b772 Merge "Tune apache connections for tls proxy" 2016-11-29 22:27:44 +00:00
Jenkins
ba87fe6ff9 Merge "Fix devstack with linuxbridge without l3 agent" 2016-11-29 19:21:00 +00:00
Clark Boylan
cfb9f057ea Tune apache connections for tls proxy
We are seeing connection errors to the proxy occasionally. These errors
do not result in a logged http request or error to the backends,
resulting in a theory that the proxy itself may just not be able to
handle the number of connections. More than double the total number of
connections that will be accepted by the proxy in an attempt to fix
this.

Change-Id: Iefa6c43451dd1f95927528d2ce0003c84248847f
Related-bug: 1630664
2016-11-29 10:43:05 -08:00
Jenkins
84fb773178 Merge "Changed the order of steps in the devstack install document" 2016-11-29 14:41:34 +00:00
Gary Kotton
2a5981402f Provide configuration file to ovs-cleanup utility
There may be cases when the configuration of the OVS is different
from the default one. This enables one to make use of the neutron
configuration file to contain all of the OVS settings.

Change-Id: I728cf8cdc653667c076b07b39c13c1278281c01b
Closes-bug: #1645691
2016-11-29 03:48:34 -08:00
Jenkins
25dd43b881 Merge "Remove all *.pyc files in $DEST when executing clean.sh" 2016-11-28 23:45:16 +00:00
Jenkins
42a21ec58d Merge "Neutron: use "OSC show -f value -c id" instead of "OSC list + grep"" 2016-11-28 23:45:09 +00:00
Jenkins
e1b75c3636 Merge "lib/tempest: use OSC to create nova flavors." 2016-11-28 23:43:56 +00:00