7541 Commits

Author SHA1 Message Date
Ian Wienand
bda194adb9 Skip EPEL & RDO install for CI nodes
If the nodepool info file is around, assume we're on a OpenStack CI
node and skip re-installing EPEL & RDO

Change-Id: Ife80af015b26514098e0633f568e3da35b9eea8c
2016-05-18 10:42:56 +10:00
Jenkins
f5db32dfdb Merge "Wrong container name in devstack "All-In-One Single LXC Container" manual." 2016-05-17 20:07:31 +00:00
Jenkins
a898099634 Merge "Set config file to db sync and other manage operation" 2016-05-17 10:42:50 +00:00
Jenkins
3a2e534047 Merge "Update ElasticSearch version default to 1.7.5" 2016-05-17 10:09:02 +00:00
Jenkins
8bbeb9db0a Merge "Nova conf:don't use deprecated option "fixed_key" from group "keymgr"" 2016-05-17 10:08:12 +00:00
bhargavaregalla
69d3b79e03 Wrong container name in devstack "All-In-One Single LXC Container" manual.
Wrong container name in devstack "All-In-One Single LXC Container" manual.

Link: http://docs.openstack.org/developer/devstack/guides/lxc.html

After creating "devstack" container with below command
sudo lxc-create -n devstack -t ubuntu -f devstack-lxc.conf -- --packages=bsdmainutils,git

The name should be 'devstack' instead of 'p2' in the below command
ssh ubuntu@$(sudo lxc-info -n p2 | awk '/IP/ { print $2 }')).

Change-Id: I7a84b97b03b2dd4338f1d946b7eafb8ec6e3767d
Closes-bug: #1582248
2016-05-17 09:34:26 +01:00
Jenkins
59ed73a3d4 Merge "lib/tempest: stop using deprecated config option." 2016-05-17 06:20:19 +00:00
Jenkins
51c93b5780 Merge "Add a deprecation warning for lib/neutron-legacy" 2016-05-17 02:48:08 +00:00
Jenkins
1612941ce4 Merge "Use LVM_VOLUME_CLEAR if set" 2016-05-17 02:47:46 +00:00
Jenkins
7cd7f0576b Merge "Fix return code detection in plugin list generation" 2016-05-16 06:41:29 +00:00
vsaienko
d894221457 Replace Q_L3_ENABLED by is_service_enabled q-l3
This patch replaces Q_L3_ENABLED with is_service_enabled q-l3.
Both of them idicates wherever Neutron L3 agent is enabled or not.

Change-Id: I33f0f5a6174d1d170bc2ac1c2e3a096d88d17cc1
2016-05-13 16:04:30 -04:00
Matthew Treinish
abde96acd2
Add a deprecation warning for lib/neutron-legacy
This commit adds a deprecation warning for lib/neutron-legacy. Right
now lib/neutron isn't quite in a place where we can use it by default
but we're getting close. As soon as it's passing in the gate we plan
to make a switch over and a hard delete of lib/neutron-legacy. To give
any users which have a hard dependency on it (which is not actually
a supported use case) a heads up this adds the deprecation warning
in front of that change.

Change-Id: Idf1faf2e9dd497f9b97abfcc6e796ca72d60d955
2016-05-12 19:26:20 -04:00
Jenkins
18534b2805 Merge "Neutron refactor: Clarify use of neutron-metadata-agent" 2016-05-12 21:47:29 +00:00
Jenkins
500337b04b Merge "Create service project in service domain" 2016-05-12 21:47:13 +00:00
Sean M. Collins
1cd2828da4 Neutron refactor: Clarify use of neutron-metadata-agent
The commit message of 2a242519f71e86416e78541826cac2b54fcd04a5 indicated
that neutron-metadata-agent was the correct name for the metadata
proxy, but parts of the code were not consistent.

Change-Id: I52f08266a169aeb9005c0f84296fc814d05b90d4
2016-05-12 11:17:39 -04:00
Jens Rosenboom
0afe207cb3 Create service project in service domain
When creating service users, the assumption is that the service
project lies within the service domain, so create it there.

Change-Id: I4880e789f5eaf340634ceb792397eef12a5a6b51
Closes-Bug: 1580998
2016-05-12 14:09:03 +02:00
watanabe.isao
4f4d95a12c Add lost function of is_provider_network
This is a follow up patch of [1].
In [1], source has been moved from lib/neutron-legacy to lib/neutron_plugins/services/l3.
However, one necessary function of is_provider_network is lost.
And this cause devstack install fail.

[1]https://review.openstack.org/168438/

Change-Id: I413b3577ec5b11ee0ee01f2368364117962494bb
2016-05-12 20:39:57 +09:00
Jenkins
4bb4728e6f Merge "Neutron refactor: Fix missing call to init RPC backend" 2016-05-12 06:41:25 +00:00
Jenkins
0a097f366c Merge "Fix _configure_neutron_l3_agent" 2016-05-12 06:08:25 +00:00
Jenkins
bba6b2a3fd Merge "Use arping when moving an IP address" 2016-05-11 20:46:41 +00:00
Sean M. Collins
5394cc101d Neutron refactor: Fix missing call to init RPC backend
Change-Id: I2c7f116230f53d3a2460192bc7b513b2e230c736
2016-05-11 16:22:31 -04:00
Sean M. Collins
a2ed055810 Fix _configure_neutron_l3_agent
I goofed when moving it over, and it looks like the calls
to _move_neutron_addresses_route got clobbered.

Changes like a0d1b0151a9d9e169e6342f36a073e8154119924 ended up getting
dropped on the floor, so let's reintroduce them.

Change-Id: I3bbfbc56e2c663c47a03659a1dff96443c13af47
2016-05-11 16:22:31 -04:00
Chuck Carmack
ea76f319a2 Use LVM_VOLUME_CLEAR if set
There are a few CI efforts going on related to jobs that use the lvm
image backend for the libvirt driver in Nova. We don't want to waste
time zero'ing out volumes during CI runs, so we need a way to configure
nova to not clear the volumes in these jobs.

This change adds a variable used to set the CONF.libvirt.volume_clear
value in nova.conf. If the variable isn't set, Nova just uses the default.

This will be set to 'none' in the jobs that are going to use LVM.

Co-Authored-By: Matt Riedemann <mriedem@us.ibm.com>

Change-Id: I1e97ba6ab4772a87192ae2689a25050d432358ab
2016-05-11 13:39:42 -04:00
Jenkins
b1bb5380dc Merge "Begin new lib/neutron" 2016-05-11 16:59:17 +00:00
Sean M. Collins
53b63cc97f Use arping when moving an IP address
This helps fix an issue where an IPv4 address is moved from an interface
and you lose your SSH session.

Change-Id: Idf37ccbaa6f615fcc714d49c3f0c00c893f56021
2016-05-11 11:15:13 -04:00
Jenkins
b8680711a6 Merge "Fix ovs-vsctl executed in worlddump.py failed issue" 2016-05-11 06:13:44 +00:00
Jenkins
37f6ea619e Merge "Export the 'short_source' function & don't keep PS4 in sudo" 2016-05-10 21:42:54 +00:00
Jordan Pittier
50f22da895 Nova conf:don't use deprecated option "fixed_key" from group "keymgr"
That option now lives in the "key_manager" group.

Change-Id: I35c2914eaf2a190d6494107260483a6835de3e47
2016-05-10 15:04:44 +02:00
Jordan Pittier
f5a50a0fa6 lib/tempest: stop using deprecated config option.
Use the new name instead.

Change-Id: I31f83ec70b8803a29a7be765661517d890ffd6f1
2016-05-10 14:56:12 +02:00
Jenkins
2e9c633683 Merge "Use common tempest tox venv and add plugin install variable" 2016-05-10 01:47:13 +00:00
Sean M. Collins
2a242519f7 Begin new lib/neutron
Background for this work can be read on the mailing list:

http://lists.openstack.org/pipermail/openstack-dev/2016-May/094063.html

Usage of the new Neutron is by setting the following in
ENABLED_SERVICES:

* neutron-api
* neutron-l3
* neutron-agent
* neutron-dhcp
* neutron-metadata-agent

For now, the new neutron library supports just the ML2 plugin, with the
Open vSwitch and Linux Bridge agents supported. All other Neutron
plugins should be creating their own DevStack plugin if they wish for
DevStack to support them. Many of them already do.

Other notable changes compared to neutron-legacy:

* Rely on the Neutron defaults, and force Neutron to make
  sane defaults instead of all kinds of knobs in DevStack.

* Default to rootwrap daemon support

* Use the security group driver by default

* interface_driver can now use NEUTRON_AGENT (linuxbridge, openvswitch), since
  they are entrypoints in neutron's setup.cfg

* Use NEUTRON_AGENT variable to determine which agent to run
  Works with NEUTRON_AGENT set to either "linuxbridge" or "openvswitch"
  Default is openvswitch for the time being.

* Set ML2 configuration for VXLAN support

* Remove Xen hypervisor stuff - it should be a plugin

* Move L3 crud into separate service file:

  There's a lot of L3 configuration that was in the main neutron file, but
  a lot of it is self contained and can be moved into its own file.

  The new l3 service file will contain all the previous L3 plumbing and
  configuration that the OpenStack Gate expects, while also eventually
  moving the whole l3 network creation step into a single hook that can be
  overridden by plugins.

* Introduce a check for a function "neutron_plugin_create_initial_networks" which
  will become the mechanism through which different topologies, and
  networking plugins can create and wire the initial networks that are
  created during a stack.sh run.

The new lib/neutron is considered experimental, and followup patches
will build upon this one. Existing users of lib/neutron-legacy should
remain unharmed.

Co-Authored-By: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp>
Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
Change-Id: I31b6362c6d9992f425f2dedbbeff2568390a93da
2016-05-09 14:26:08 -04:00
Jenkins
ab7e062f5d Merge "Revert "Update auth params in Nova Hypervisor-Ironic"" 2016-05-09 16:44:31 +00:00
Dmitry Tantsur
3b79e5f9f7 Revert "Update auth params in Nova Hypervisor-Ironic"
This seems to break Ironic gate with n-cpu not starting
any more.

This reverts commit c527ded91bef5d4c56cbdb2402a4d68015364b37.

Change-Id: Idfb01448e8ecf53fbd2e1df61c8f08f3107981ac
Closes-Bug: #1579683
2016-05-09 09:36:04 +00:00
Ian Wienand
db01ca6d16 Fix return code detection in plugin list generation
As can be seen in logs of the periodic generation job, our cgit does a
weird thing where sometimes it returns a 404 page with content, and
sometimes a zero response (see [1] for example, the last number is
response size).  This appears to be an openstack CI issue; possibly
due to cgit caching or similar (see [2] for manual test).  It will
have to be investigated with the host apache logs.

This is resulting in a lot of projects incorrectly being picked up as
having plugins (I7116571d2a2b1fc3a61e5f1ed46ac2cbc244775a).  I'm not
sure if this problem is also releated to the original status-code
issues mentioned in the code, but testing shows that cgit is correctly
returning 404's for missing files (you can see in the logs [1]).  Thus
switch the logic to examine the return code which avoids this issue.

[1] http://logs.openstack.org/periodic/propose-devstack-plugins-list/e55790c/console.html.gz#_2016-05-04_06_46_51_660
[2] http://paste.openstack.org/show/496434/

Change-Id: I6a06347d91d091441f6f7b70f99aba6d8e9add4b
2016-05-09 13:19:09 +10:00
yan.haifeng
6ba17f7d01 Fix ovs-vsctl executed in worlddump.py failed issue
add sudo before ovs-vsctl command.

Change-Id: I1a7dd9504da766beb452bd749e325931678de64e
Closes-Bug: #1576560
2016-05-09 03:02:15 +00:00
Einst Crazy
4f55c2d5c3 Set config file to db sync and other manage operation
Currently, the db sync operation does not specify the config dir or
config file.
If there is a config file in the home path, it will use this one,
but not the right one devstack write.

Set config file to these operations.

Change-Id: Id1fbc3d85280c19596f5ebd301c46bcf018fa2f6
Closes-Bug: #1578098
2016-05-09 01:43:32 +00:00
Jenkins
251b870e85 Merge "Update auth params in Nova Hypervisor-Ironic" 2016-05-06 20:50:07 +00:00
Jenkins
0030c41786 Merge "removed dead link to stack.sh.html" 2016-05-06 20:50:00 +00:00
Jenkins
cb05ad0eac Merge "Added fix to install zookeeper for fedora" 2016-05-06 20:49:53 +00:00
Jenkins
8bee429a7a Merge "Suppressed echoing of the line." 2016-05-06 20:49:45 +00:00
Jenkins
036f93853c Merge "Update to bashate 0.5.1" 2016-05-06 20:49:40 +00:00
Jenkins
ea15ca1318 Merge "Adjust region name for images, networks and volumes during deployment" 2016-05-06 20:48:53 +00:00
John L. Villalovos
daa7a41e21 Export the 'short_source' function & don't keep PS4 in sudo
Export the 'short_source' function so that it will be present in the
environment for child shell scripts. Do this because we are passing PS4
to the child shell scripts and it is using 'short_source'

Don't do an 'env_keep' in the sudoers file for PS4, since it is
difficult to also pass along the 'short_source' function.

Change-Id: I9781010d6eb336d02939c7fd47f18bedeae5ccc6
Closes-Bug: #1563443
2016-05-06 10:50:58 -07:00
Travis Tripp
b523f3108f Update ElasticSearch version default to 1.7.5
Devstack installs elasticsearch version 1.4.2 by default.
This version is really out of date and you can't run kibana
4.x against it.  We are working towards 2.x support [0],
but in the meantime would like our example to install a more
recent version of ES.

[0] http://lists.openstack.org/pipermail/openstack-dev/2016-April/092583.html

Change-Id: I9ca244f8b817dd9c5f6d7435e347df28282db0a9
2016-05-05 10:23:16 -06:00
Jenkins
8d27280f3e Merge "Handle common and seperate tempest tox venvs" 2016-05-04 21:54:17 +00:00
Jenkins
8f9e545513 Merge "Remove NOVA_V2_LEGACY option" 2016-05-04 20:41:46 +00:00
Jenkins
e917b44c2a Merge "Remove unused tempest options" 2016-05-04 20:38:47 +00:00
Bernd Mueller
b1518427c6 removed dead link to stack.sh.html
the referenced file was removed with the following change
Ie7f4b265368f1d10a8908d75e11d625b2cc39e7c

Change-Id: I0e25b1f38e0969037d1c8af367432da56bb12e92
2016-05-04 22:33:21 +02:00
Jenkins
5899d20bc3 Merge "Set default value and configurable value for integration bridge" 2016-05-04 16:44:28 +00:00
Matthew Treinish
440464ccbb
Use common tempest tox venv and add plugin install variable
This commit adds a new variable to lib/tempest to provide the plugins
that should be installed into common tox venv that gets created. In
order to make this work the workarounds to handle migrating to a common
tox venv have to be removed otherwise the plugins could be installed in
a venv that isn't used.

Change-Id: I63658b8d8dfa999e0feb79f8f2968f2b32e3ff57
Depends-On: Iab2e6e04b6c5795a4d0c8214564106525b942308
2016-05-04 11:55:12 -04:00