3022 Commits

Author SHA1 Message Date
Jenkins
1987cfb1be Merge "Remove lib/neutron_plugins/ibm" 2015-11-12 07:19:46 +00:00
Jordan Pittier
04e73e17e8 On Ubuntu: don't start Zookeeper twice
On Ubuntu, if the Zookeeper service is already running, attempting
to start it again fails with non-zero exit code. This patch detects
whether ZK is already started before trying to start it.

Change-Id: If1257152de01fe5fe0351fdbb538bce083edbec0
Closes-Bug: #1513741
2015-11-10 19:01:28 +01:00
Atsushi SAKAI
e9ef0fefa5 Remove lib/neutron_plugins/ibm
SDN-VE on neutron is already removed.
This patch removes SDN-VE from devstack.

Ref.
  Removing the SDN-VE monolithic plugin
  https://review.openstack.org/#/c/217703/
  Remove IBM SDN-VE left-overs
  https://review.openstack.org/#/c/237716/

Change-Id: Ie1b531153d1632798235b1100cdf9b068edcce26
2015-11-06 14:34:42 +09:00
Jenkins
988389a45a Merge "Zookeeper for DLM scenarios" 2015-11-05 22:21:18 +00:00
Jenkins
1a2f86b3be Merge "Correct Cinder protocol for connections on Ironic" 2015-11-05 22:21:05 +00:00
Davanum Srinivas
33a96ffc26 Zookeeper for DLM scenarios
In Tokyo, there was a cross project session on distributed
key locking:
https://etherpad.openstack.org/p/mitaka-cross-project-dlm

In support of the discussion there, we'll need support for
a zookeeper service in Devstack and ability to use libraries
like Tooz for DLM functionality.

In this review, we pick up some configuration files from
monasca-api and copy the lib/template to implement the
zookeeper lifecycle. Those services that need zookeeper
need to add "zookeeper" in ENABLED_SERVICES.

Change-Id: Icef26e5cdaa930a581e27d330e47706776a7f98f
2015-11-03 12:13:50 -05:00
Jenkins
c9f6f11265 Merge "Remove Ubuntu 14.10 as supported distribution" 2015-11-03 15:16:04 +00:00
Jenkins
22c9023494 Merge "Use stevedore aliases for interface_driver configuration" 2015-11-03 15:13:25 +00:00
Jenkins
a9b9fca5ef Merge "lib/nova: Remove 'DEFAULT/verbose'" 2015-11-02 20:44:59 +00:00
Jenkins
82fbf336a2 Merge "Remove CINDER_VOLUME_CLEAR value validation" 2015-11-02 20:41:50 +00:00
Martin Hickey
dca49de22f Use stevedore aliases for interface_driver configuration
interface_driver configuration was updated to use stevedore aliases.
This patch is to change devstack scripts to now use the aliases
instead of the previous class imports.

Closes-Bug: #1504536

Change-Id: Ic56bfcc1f9da05a999e6fd328e4dd6617e9470ff
2015-11-02 20:33:20 +00:00
Hirofumi Ichihara
508931ff36 Remove Ubuntu 14.10 as supported distribution
Ubuntu 14.10(utopic) reached end of life[1].

[1]: https://lists.ubuntu.com/archives/ubuntu-announce/2015-July/000197.html

Change-Id: Iab13ca797bda56462d9d117aa500d3ba0d9bebcb
2015-11-02 17:50:31 +09:00
keiji niwa
463a0e6d98 Replace hard-coded --ipv6-address-mode
Looks like this was just a typo in the original
d1498d74db816b3edbb8376ca5acb7cc5792ea5c ; replace with
environment variable

Change-Id: I877c1a570a68e926c91fc8a393217e6b18245f82
2015-11-02 05:04:25 +00:00
Stephen Finucane
5ea1e16d83 lib/nova: Remove 'DEFAULT/verbose'
The 'verbose' option has been deprecated by oslo_log. Using it
results in a warning for the 'nova-manage' command and likely
many other OpenStack commands.

Change-Id: Icc11b25f56ebc62443c6afa90b9572d5c63b3882
Partial-bug: #1511505
2015-10-29 20:15:29 +00:00
Matt Riedemann
cdcdeb6460 Remove CINDER_VOLUME_CLEAR value validation
132fbcd38ebae52bdd20da54905131b75581520f in cinder changed the
volume_clear StrOpt to use the choices kwarg which enforces the value
specified and raises a ValueError if an invalid value is set for the
option in cinder.conf.

This lets us remove the validation that devstack was doing.

Change-Id: Ia7eead6297ed0f3a972de2021170fe9c7225e856
2015-10-29 09:48:17 -07:00
Thiago Paiva
abb40f6193 Correct Cinder protocol for connections on Ironic
The protocol for connections with Cinder is wrong for the Ironic script. This
patch changes the script to use $GLANCE_SERVICE_PROTOCOL, which is https when
USE_SSL=true or tls-proxy is on ENABLED_SERVICES.

Change-Id: I4d4c6f9dc6f6ee53166db109848dca64334b8748
2015-10-29 11:38:24 -03:00
Nicolas Simonds
347dbac04e Add the ability to install/enable Heat plugins
Adds the $ENABLE_HEAT_PLUGINS variable, which should be a list of
the names of the plugins the user wishes to install.

Change-Id: I2ba90002a8fad1cdce6543c89dc37c5912fe133e
2015-10-29 16:12:36 +09:00
Jenkins
fd97214a0e Merge "Ensure we disable tenant isolation without admin" 2015-10-29 06:18:03 +00:00
Jenkins
ff113c01dd Merge "Disable shelve/snapshot/cinder when running Tempest with libvirt+lxc" 2015-10-29 05:09:35 +00:00
Jenkins
f1d34ec8c0 Merge "Prepare neutron "use_namespaces" option removal" 2015-10-29 04:57:27 +00:00
Jenkins
310cedf677 Merge "Use swift port variable in keystone and cinder" 2015-10-29 04:57:22 +00:00
Jenkins
c77fc2e196 Merge "Add new oslo.privsep library to oslo repos" 2015-10-29 03:00:30 +00:00
Jenkins
fd3af1d8e2 Merge "Update to bashate 0.3.2" 2015-10-29 02:55:48 +00:00
Jenkins
5c38750db0 Merge "Added processing /ec2 URL" 2015-10-29 02:16:50 +00:00
Ian Wienand
5cdee8dd33 Update to bashate 0.3.2
Bashate 0.3.2 has a few new checks -- firstly make sure some of the
plugins have #!/bin/bash, and fix up a couple of "local" changes that
were missed by I9c8912a8fd596535589b207d7fc553b9d951d3fe

Change-Id: I9e4b1c0dc9e0f709d8e76f9c9bf1c9478b2605ed
2015-10-29 11:30:20 +11:00
Matt Riedemann
cf94edcbbd Disable shelve/snapshot/cinder when running Tempest with libvirt+lxc
The libvirt+lxc backend in nova does not support shelve, image snapshot
or any volume-related actions (so pretty much anything to do with
cinder), so we need to configure tempest to not run tests that hit those
operations/service when using libvirt/lxc.

This is part of an overall effort to get a CI job running for nova with
the libvirt+lxc configuration per:

Ic07c39e219121ba6b8b20de2b83a193bb735133d

Change-Id: I4decfcc5a5dfbabdecb3eb9fc93f1d1d6c2af805
2015-10-28 13:22:19 -07:00
Oleksii Chuprykov
a692810ef0 Add toggle to run Heat API services via Apache2
Add templates for running Heat API services via
apache mod_wsgi. Also add appropriate functions to
lib/heat for configuring Heat.

Change-Id: I1bdd678c44ddfa616a9db7db85ff6f490ff08947
2015-10-28 15:25:17 +00:00
Cedric Brandily
b814b536c5 Prepare neutron "use_namespaces" option removal
The neutron use_namespaces option is deprecated since Kilo, it's time
remove it from neutron and devstack.

Related-bug: #1508188
Change-Id: I4feb2a15c7e1e4bfdbed2531b18b8e7d798ab3cc
2015-10-27 09:25:42 +09:00
Tony Breeds
7792bc39d4 Add new oslo.privsep library to oslo repos
A new project olos.privsep has been created but failes sdvm testing as
even though the library is added ro PROJECTS and LIBS_FROM_GIT it isn't
installed by devstack.

Add oslo.privsep to the install_oslo function

Change-Id: Ia4d56747d56dcfe50889ebbdf9d553df13e1b950
2015-10-25 17:39:37 +11:00
Falk Reimann
22f747b8df Use swift port variable in keystone and cinder
This patch alows specifiying a deviation of the swift default port 8080 with
variable SWIFT_DEFAULT_BIND_PORT. The created endpoints in keystone for
object-store and the backup_swift_url in cinder.conf will use variable
SWIFT_DEFAULT_BIND_PORT instead of the fixed port 8080.

Change-Id: I47bbcf77368c430718fb8f29b7de1ff305e64422
Closes-Bug: #1489767
2015-10-23 09:19:32 +02:00
Jenkins
0afcac2e01 Merge "XenServer: the cron job shouldn't print debug text into stderr" 2015-10-22 16:44:28 +00:00
Matthew Treinish
c148b13c60
Ensure we disable tenant isolation without admin
This commit fixes an issue with the tempest configuration when
TEMPEST_HAS_ADMIN is disabled. Without admin credentials tempest
is unable to create credentials at all so enabling tenant isolation
is not going to work. Previously devstack wasn't setting it one way
or the other when TEMPEST_HAS_ADMIN was set, which results in the
default of being enabled. So jobs that try to run tempest without
admin were failing.

Change-Id: Iff496cb5cbf29f17c130cfad746b48d8547ca965
2015-10-22 10:05:00 -04:00
Jenkins
1c2912d91f Merge "Always use v3 nova/neutron authentication" 2015-10-19 15:48:39 +00:00
Jenkins
254264301b Merge "Disable compute interface attach Tempest tests if using cells" 2015-10-19 15:33:59 +00:00
Matt Riedemann
c94403d8e6 Disable compute interface attach Tempest tests if using cells
Cells doesn't support the os-attach-interfaces API so disable those
tests in Tempest if running with Cells.

Change-Id: I5c7884407868eae70ea125f3f893c73214c04c75
2015-10-15 12:51:13 -07:00
Dmitry Tantsur
5ed8af6713 Fix devstack failure due to incorrect variable assignment
After I9c8912a8fd596535589b207d7fc553b9d951d3fe this approach leads
to a failure and breaks (at least) ironic-inspector gate.

Change-Id: I19bb8ada9a6f42d375838cc88a376715918c2a3e
2015-10-15 16:16:26 +02:00
Jenkins
48dbc313eb Merge "Improve PLUMgrid Install Endpoints" 2015-10-15 03:02:58 +00:00
Jenkins
7991780098 Merge "Add verification of OVS_PHYSICAL_BRIDGE" 2015-10-15 03:02:53 +00:00
Jenkins
6e9bee1ae5 Merge "Detect blank variable in trueorfalse" 2015-10-15 02:56:19 +00:00
Jamie Lennox
394968fa3d Always use v3 nova/neutron authentication
There is no need to test here whether v2 is disabled or not. V3
Authentication will always be available and we should just use that.

Change-Id: I0d2d76ebdf261917f1a2b23c65f0f843ae50f49a
2015-10-15 00:14:28 +00:00
Jenkins
188b38fc80 Merge "lib/tempest: remove duplicate iniset calls" 2015-10-14 18:36:06 +00:00
Jenkins
e67530f846 Merge "HOST_IP should not be used in moving address to route" 2015-10-14 18:32:51 +00:00
Jenkins
6f991a8523 Merge "Revert "Install g-r version of OSC in configure_tempest"" 2015-10-14 12:36:11 +00:00
Yalei Wang
316b348ad6 Add verification of OVS_PHYSICAL_BRIDGE
OVS_PHYSICAL_BRIDGE is not always set, like when you don't need specify the
bridge mapping, and also it has no default value. So we need to add
verification of OVS_PHYSICAL_BRIDGE in cleanup_neutron function where we refer
to it.

Change-Id: I69d113a7f3f7e67b09cb72fa0b0d3bba188e783a
Close-Bug: #1474634
2015-10-14 17:07:58 +08:00
Jenkins
d111182f21 Merge "Don't mix declaration and set of locals" 2015-10-14 02:43:52 +00:00
Jordan Pittier
108b75d7a1 lib/tempest: remove duplicate iniset calls
In Tempest config, `image-feature-enabled deactivate_image` is
enabled twice. This patch removes one of the redundant call to iniset.

Change-Id: Idbfcd6d6ee171c2c83736e17bbaf3d7a32c738b1
2015-10-13 15:51:43 +02:00
Marian Horban
085855479f Added processing /ec2 URL
With config option NOVA_USE_MOD_WSGI=True nova-ec2-api handles
requests on /ec2 URL.

Change-Id: I0c2e99bf8b5e5cf53cd176685b206038a4b0f78b
2015-10-13 04:04:21 -04:00
Tong Li
1d662e86bb HOST_IP should not be used in moving address to route
In neutron-legacy function _move_neutron_addresses_route, there are
few lines trying to figure out the bridge IP by assuming that the
bridge IP will be always same as the HOST_IP, this is not always true.
When the nic bears the HOST_IP and the nic which will be used as the
public network are different nics, the code in that method fails.
Eventually the function fails with network unreachable error.

This patch set fixes the problem, so that when HOST_IP and the IP for
the bridge are different, devstack will still be setup correctly.

Change-Id: I4d67f61c2ffd93f1e8ea2f8fe3b551044fab294e
Closes-bug: #1498538
2015-10-13 07:48:04 +00:00
Sean Dague
95d4226c4c make i local
This prevents bleed out of the i variable to other functions that
might call this inside their own iteration loop.

Change-Id: I42d0c287a6f4bb24ae3871de9abb7e0de98a8462
2015-10-12 07:40:04 -04:00
Sean Dague
022c6672ce Revert "Install g-r version of OSC in configure_tempest"
This reverts commit 1fa82aab6634bf815d162978e33b211e1fdef343.

Change-Id: I931756e6d534839a6c9fb3cc6f5dc32c9a1e6436
2015-10-09 11:20:49 +00:00