6335 Commits

Author SHA1 Message Date
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
Thomas Bechtold
a858085afb Simplify add_user_to_group function
Current SLE12 and openSUSE13.X versions can handle usermod's '-a' and '-G'
switches so remove the special case.

Change-Id: If0f1390a0eb8f41ffffca74525a4648cfe8ea61d
2015-05-31 00:04:33 +02:00
Thomas Bechtold
06efa2ac5d Fix horizon files for SUSE
python-CherryPy and python-beautifulsoup are not needed so remove them
from the list of packages for horizon.

Change-Id: I45ddf98b5891a1f1f1da82bb4afa79ea43d156cc
2015-05-30 23:55:33 +02:00
Thomas Bechtold
4be092da3e Fix devlibs for SUSE
libmysqld-devel is needed for installing MySQL-python. Otherwise the
following error occurs:

EnvironmentError: mysql_config not found

Change-Id: Id84d3116d5987976169d8e2f9aca754ded205880
2015-05-30 23:28:48 +02:00
David Lyle
7ef246492c Fixing keystone v3 version use for horizon
The setting for overriding Horizon's OPENSTACK_API_VERSIONS is not
the correct format. The version should be a number, not a string.

so should be 3, not "v3".

Change-Id: I193d21514b196336796eac067417dc2aaec56433
Closes-Bug: #1460190
2015-05-29 13:49:03 -06:00
Sean M. Collins
02ae50dc99 Documentation for single interface Neutron networking with OVS
Change-Id: I7a72377f55952db629c2ce7ba4ed648635e581ef
2015-05-29 11:32:45 -04:00
Tony Breeds
6d50d95cae Skip the .tox dir when building docs
When running tools/build_docs.sh in a devstack dir that has also run tox
build_docs needlessly runs shocco on the .tox files.

Just skip them.

Change-Id: Ia561e49ea2214ac75bd55964f1b86872118b2031
2015-05-29 12:26:31 +10:00
Tony Breeds
31127a2a74 Skip 'shocco' code when running tox
when running tox in a devstack directory where you have previously run tox
-edocs the bashate testenv will fail as the shocco code doesn't match the
devstack style.

eg:
---
E003: Indent not multiple of 4: '           2>/dev/null ||'
 - /home/stack/projects/openstack/openstack-dev/devstack/shocco/shocco.sh : L352
<snip>
27 bashate error(s) found
---

Take the easy path and avoid running bashate in the shocco dir.

Change-Id: I5b0155332ec994afaffc5c5961902281864cff61
2015-05-29 12:21:09 +10:00
Jenkins
493d3b3aff Merge "Enable F22 without the FORCE flag" 2015-05-29 00:05:01 +00:00
Jenkins
588ea5b5ab Merge "Cleanup test_ip.sh to give more consistent output" 2015-05-28 20:29:48 +00:00
Attila Fazekas
c550f21589 Enable F22 without the FORCE flag
F22 has a stable release and working with devstack.

The change also removes the version flags regarding to the
mariadb-devel.

NOTE: You may see yum deprecation warnings, unless
you set the YUM variable to dnf.

Change-Id: I05140765bffc16faef5a29dfaba291c290bfae02
2015-05-28 15:43:06 +02:00
Yalei Wang
75c4473712 Remove the code against flushing public bridge
As unstack.sh does destroy all bridges, we don't have to refresh bridge
interface any more, as what is done in commit
c2dc95add6e46829f1705041c1d9dddab9b360d3. So in this commit we will continue to
remove the related statements in lib/neutron-legacy. These statements will also
cause undefined PUBLIC_BRIDGE error.

Change-Id: I4c7617f6a245ea4e2e08f518d873b1b8adc2b807
Closes-Bug: #1454475
2015-05-28 16:18:49 +08:00
Bob Ball
40c5ea67d3 XenAPI: Increase OpenStack DomU usage again
Devstack has continued to grow in memory requirements and now we cannot
reliably fit in 4GB, with several services being unable to start.  Increase
the minimum for DomU to 6GB to leave room for virtual machines

Change-Id: Idbdfa1f36015b6af347d1ce27eb28baa360af5ef
2015-05-28 06:42:03 +01:00
Shin Sato
9ee1ef6cb8 Fix typo: _create_volume_group => _create_lvm_volume_group
Change-Id: Ifb648c9eb4a57ac0fc97afb842e83286789801dd
2015-05-28 13:56:58 +09:00
Jenkins
35814a7b6e Merge "Ironic: Remove deprecated parameters" 2015-05-28 01:23:22 +00:00
Ian Wienand
dd363a182f Cleanup test_ip.sh to give more consistent output
Minor changes to give more consistent output; no functional changes to
tests.

Change-Id: I6c4ef74587c59b786761735c7bd528f3d7f94905
2015-05-28 10:40:55 +10:00
Jenkins
d986c59d6b Merge "Honor the flag for Identity v3 API only jobs" 2015-05-28 00:04:47 +00:00
Samuel de Medeiros Queiroz
3fd71d6893 Honor the flag for Identity v3 API only jobs
When the property ENABLE_IDENTITY_V2 is set to
False in the local.conf file, devstack will:

* Disable the v2 API in Keystone paste config;
* Set Tempest to skip Identity v2 tests and use
  v3 auth tokens to run all the other tests;
* Set Horizon to use v3 API and v3 auth tokens;
* Register the Identity endpoint as v3.

Change-Id: I2575a516244b848e5ed461e7f488c59edc41068d
2015-05-27 14:27:30 -03:00
Jenkins
cfdb6fa940 Merge "Add test case to 'cidr2netmask'" 2015-05-27 15:43:26 +00:00
Jenkins
3fa092bc1c Merge "Fix msg argument to assert_equal" 2015-05-27 15:43:21 +00:00
Jenkins
11e17174be Merge "add the port_sec as default neutron/ml2 extension driver" 2015-05-27 14:41:41 +00:00
Lucas Alvares Gomes
73d24b2c1c Ironic: Remove deprecated parameters
Ironic have updated some parameters to have a consistent name
across drivers. This patch is updating devstack to stop using the
pxe_deploy_{kernel, ramdisk} parameters which have been deprecated since
early Kilo eliminating the deprecation warnings in the logs.

WARNING ironic.drivers.modules.pxe [-] The "pxe_deploy_kernel" parameter
is deprecated. Please update the node 267e42c8-df07-49f5-bc7f-48b566acb109
to use "deploy_kernel" instead.

WARNING ironic.drivers.modules.pxe [-] The "pxe_deploy_ramdisk" parameter
is deprecated. Please update the node 267e42c8-df07-49f5-bc7f-48b566acb109
to use "deploy_ramdisk" instead.

Change-Id: I3dcf8df130efc0c2ea35695018bedba31bf0570c
2015-05-27 12:22:05 +01:00
Jenkins
5d5e997755 Merge "Use correct conf file variable name in sahara" 2015-05-26 21:29:46 +00:00
Jenkins
edfcb5f0bd Merge "Set IP_VERSION default value to 4+6" 2015-05-26 20:17:16 +00:00
Rob Crittenden
aece9ff9ef Use correct conf file variable name in sahara
When the tls-proxy service is enabled then a separate
set of ports is used internally vs externally. The
services listen on the internal port and a proxy (stud)
listen on the "standard" port and forward requests to
the internal port.

An incorrect environment variable was being used to set
the internal port in the sahara configuration so it wasn't
listening on the correct port, causing stack.sh to fail
because it thought the service wasn't up (at least not
on the right port).

Change-Id: I3384039392be786d3c189f3e4f84e069ddaf4339
Closes-Bug: #1458984
2015-05-26 15:34:11 -04:00
Sean Dague
b3798af474 change the default to PyMYSQL
As discussed in the Liberty Design Summit "Moving apps to Python 3"
cross-project workshop, the way forward in the near future is to
switch to the pure-python PyMySQL library as a default.

    https://etherpad.openstack.org/p/liberty-cross-project-python3

Change-Id: Ic609ce136061b753ca692b37509a0b29c60bb8b5
2015-05-26 15:39:28 +00:00
Jenkins
7b71d376f9 Merge "Fix remove_disabled_extensions to remove an extension at the last position" 2015-05-26 12:35:49 +00:00
Mahito
d82d3f1340 Add test case to 'cidr2netmask'
'cidr2netmask' of function doesn't have enough test case
and test code isn't smart.
This patch adds test case and refactors test code.

Change-Id: Iab20ef06fe78316a78198ab75c0afe738a577dd6
Closes-bug: #1457989
2015-05-26 15:33:32 +09:00
fumihiko kakuma
8606c98c53 Fix remove_disabled_extensions to remove an extension at the last position
remove_disabled_extensions do matching by '$ext_to_remove","'. So it doesn't
match an extension at the last position in extensions_list.
This patch fixes that.

Closes-Bug: #1443254
Change-Id: I194b483de797697ba06b320cf33f1bac67fc0cc7
2015-05-26 12:38:35 +09:00
Guillaume Giamarchi
93ee8c876c Set IP_VERSION default value to 4+6
This is actually the default value since 645114b

Change-Id: Ib6603b4f6ea0b4079f9a4ea46e723ecbb2ea371d
2015-05-26 02:15:27 +02:00
Gary Kotton
fcefb0a910 VMware: add support for simple DVS
Add the file vmware_dvs that will enable the external CI to be
run.

The patch in the VMware repo for the DVS support is:
https://review.openstack.org/#/c/177597/

Change-Id: I6dee978fd2be3818c5ce57b1dcb2917234ab61e2
2015-05-25 01:09:06 -07:00
Jenkins
9ff021f206 Merge "Update the glance image-list with openstack image list" 2015-05-25 03:43:38 +00:00
Ian Wienand
165afa2377 Fix msg argument to assert_equal
I noticed this was taking an argument but not dealing with it.  In
general the functions were undocumented, so I added some terse usage.

Also, the intent of the test-case was to expand the values before
using them as the message; make sure this happens by using a temp
variable.

Change-Id: Ib317ad1e9dd2a5d2232b9c64541fe4a601a2b8da
2015-05-25 11:29:48 +10:00
Jenkins
cf56d4e35c Merge "Remove KEYSTONE_AUTH_CACHE_DIR" 2015-05-22 02:09:57 +00:00
Jenkins
3d1ef5f3de Merge "Remove setting nonexistant [ec2] driver option in keystone" 2015-05-22 02:09:03 +00:00
Jenkins
22658fc9f4 Merge "Disable firewalld always" 2015-05-21 23:29:50 +00:00
Jenkins
4164795413 Merge "Do not set OS_CACERT if there is no CA cert" 2015-05-21 23:28:28 +00:00
Jenkins
eb38bd7602 Merge "Write out a clouds.yaml file" 2015-05-21 16:01:08 +00:00
Sean Dague
37421991b4 optional pymysql support
This allows you to specify MYSQL_DRIVER=PyMySQL and get it in the
environment.

Change-Id: Ic9d75266640b7aa6d7efb6e882d3027e81414059
2015-05-20 14:58:50 -07:00
Jenkins
0b1b647096 Merge "Add new options to baremetal config section" 2015-05-20 13:32:01 +00:00
Jenkins
5dd889f4e1 Merge "Support for running Nova with oslo.rootwrap daemon" 2015-05-19 20:26:14 +00:00
Jenkins
0479bc101c Merge "Infer rootwrap arguments from project" 2015-05-19 20:24:33 +00:00
Yalei Wang
a48e5dc4bd add the port_sec as default neutron/ml2 extension driver
Neutron ML2 plugin introduces the first extension driver port_security, this
patch add it to be a default extension driver as a example. And also, if not
set it by default, networks like public/private which are created after the
neutron-db-manage's update, will not include the port-sec value.

Change-Id: I3035317c83d22804855517434bd8578719ce0436
Partially Implements: blueprint ml2-ovs-portsecurity
2015-05-18 14:10:29 +08:00