3289 Commits

Author SHA1 Message Date
Sergey Belous
1258da6408 Allow install os-vif library used by Nova
In future Nova will use os-vif library for some communication with Neutron.
This patch add ability to install os-vif library that requires for run
tempest-jobs for new patches, that used os-vif.

Change-Id: I28e48afd3c740b1aa50c994d99f660f095e7deda
2016-03-21 12:40:50 +03:00
Jenkins
0a2a7ae847 Merge "Updated deprecated keystone_authtoken option" 2016-03-18 20:24:03 +00:00
Jenkins
1dd875d48e Merge "logging: don't set logging format strings for keystone" 2016-03-17 22:29:44 +00:00
Jenkins
320f0d79a5 Merge "Remove EC2 API from devstack" 2016-03-17 18:01:59 +00:00
Ihar Hrachyshka
198887e890 logging: don't set logging format strings for keystone
Don't override those format strings since the overridden
values are identical to those used by oslo.log by default [1].

logging_exception_prefix is still set since it changes the logging
format to use TRACE label for exceptions instead of default ERROR.

[1]: https://git.openstack.org/cgit/openstack/oslo.log/tree/oslo_log/_options.py?id=c47a91dbbb586c27d8521b1016bf7901c47b1c90#n110

Closes-Bug: #1433687
Change-Id: Ibd11cd6b0defb6dc709dbd3e718a49fd71cce6b6
2016-03-17 13:09:56 +01:00
Balagopal
7ed812c6cd Change "secrete" to "secret"
Apparently this is intentional as a joke on devstack leaking
passwords, but the dual meaning of the word confuses people.  Let's
change it before we get yet another review fixing it.

Change-Id: I3bee03612f6ea197362aab04a37f81043f77f235
2016-03-17 14:53:03 +11:00
Sean M. Collins
54d16f706a Revert "Automate OVS bridge creation for multiple mappings"
After reviewing I5b1d49be8d9e3e331826e30182fba70f099b5e7f and
I161a157895b4ed0c9ea5a7a00302e30f4ad75ed3 - I have come to the
determination that this really should be in a DevStack plugin.

If both of the patches under review were to merge, we would be blessed
with at least the following variables:

OVS_NICS_FROM_BRIDGES
OVS_NIC_MAPPINGS
OVS_BRIDGE_MAPPINGS
OVS_PHYSICAL_BRIDGE
PHYSICAL_NETWORK
PUBLIC_PHYSICAL_NETWORK

Which really is not good. Let's just push this into a plugin, I don't
want to deal with it.

This reverts commit 3095ff51320291b3622cacc3bf2fb1043bff8d31.

Change-Id: I746022f5db93d3333101a014692fbdcd790a0004
2016-03-15 15:24:53 -04:00
Ian Wienand
3bf69e835a Remove EC2 API from devstack
This all started with an investigation into Fedora's use of ecua2ools
package.  This package is a bit of a nightmare because it pulls in a
lot of other system-python packages.

For Ubuntu, this package was removed in
I47b7e787771683c2fc4404e586f11c1a19aac15c.  However, it is not
actually a "pure python" package as described in that change, in that
it is not installable from pypi.  I can't see how you could actually
run exercises/euca.sh on Ubuntu unless you installed euca2ools by hand
-- ergo I suggest it is totally unused, because nobody seems to have
reported problems.

In the mean time, ec2 api has moved to a plugin [1] anyway where the
recommendation in their README is to use the aws cli from amazon.

Thus remove all the parts related to EC2 and ecua2ools from base
devstack.

[1] https://git.openstack.org/cgit/openstack/ec2-api

Change-Id: I8a07320b59ea6cd7d1fe8bce61af84b5a28fb39e
2016-03-15 13:32:23 +11:00
Jenkins
428f86e84f Merge "uwsgi keystone under master process" 2016-03-15 01:01:16 +00:00
Jenkins
c47340efb7 Merge "Cleanup duplication in keystone uwsgi options" 2016-03-15 01:01:08 +00:00
Jenkins
4b56bc3507 Merge "Use extended keystone-manage bootstrap parameters" 2016-03-14 21:03:08 +00:00
Brant Knudson
4abcfaa86e uwsgi keystone under master process
Normally a standalone uwsgi server would run in "master" mode -- it
handles signals to reload the processes. I tried this originally
with keystone but found that the server didn't shut down when
unstacking. The reason it didn't shut down is because (by default)
uwsgi does a reload on SIGTERM & SIGHUP rather than shutting down by
default, see [1].

Setting "die-on-term = true" & "exit-on-reload = true" changes the
uwsgi server to shut down when unstacking.

[1] http://uwsgi-docs.readthedocs.org/en/latest/Management.html#reloading-the-server

Change-Id: I145fef185d4a31078295941779e175b7452a5760
2016-03-14 14:38:55 -05:00
Brant Knudson
0d38e2d5d8 Cleanup duplication in keystone uwsgi options
There was a lot of duplication in the uwsgi options between the
admin and public config files. The options common to both are
moved into their own section.

Change-Id: I5519c7d4d8b8446a7a5fdb8033852655d8a2c67b
2016-03-14 14:38:55 -05:00
Steve Martinelli
84f6c0fa68 remove the keystone bash completion install step
keytone has removed it's CLI and will release a new version
when Newton begins. As part of the removal process we also
need to remove the bash completion script, which is currently
failing devstack gates.

Change-Id: I132b862bde5b4173bf34beae12a7a882f5a96314
2016-03-11 22:39:12 -05:00
Jenkins
3ccb79ecea Merge "Set the Swift max_file_size to 1/2 the loopback" 2016-03-11 20:31:24 +00:00
Jenkins
f3e9ad5845 Merge "Remove check for OVS_VERSION < 1.4" 2016-03-10 15:05:11 +00:00
Sean M. Collins
d1ee4cfdf9 Remove check for OVS_VERSION < 1.4
1.4 was released in 2012. I think we can assume everyone is running
something newer.

http://openvswitch.org/releases/NEWS-1.4.0

Change-Id: I3cfe99d2647800ae3ffb32c9e6749d03224c2967
2016-03-08 15:25:16 -05:00
Ronald Bradford
8ff298a871 Updated deprecated keystone_authtoken option
* memcache_servers is a deprecated name for memcached_servers.
  See: keystonemiddleware/auth_token/__init__.py#n287

NOTE: memcache_serves in the cache section is valid option for
    oslo.cache.  See oslo_cache/_opts.py#n65

Depends-on: Id65f1bff8e38c777fa406d88ac6a2355d6033d94
Change-Id: I3e1230b139e710a0433e71ce118ca246d7c6a0e6
2016-03-08 18:59:44 +00:00
Jamie Lennox
32bf2c4f6f Use extended keystone-manage bootstrap parameters
Use the additional keystone-manage parameters to setup the identity
endpoint in the service catalog rather than manually fetching a token
for this.

Change-Id: I6f5be1df205dee8f3251b4eb413e00ae64f00f07
2016-03-07 20:49:13 -06:00
Matthew Oliver
7b85723c04 Set the Swift max_file_size to 1/2 the loopback
Currently Devstack (and devstack gate) uses the default
max_file_size of for Swift (5GB). However the loopback file
is only 1 or 2 GB is size.

We are looking at setting a default FALLOCATE_RESERVE in swift
https://review.openstack.org/#/c/288011.
Because of this our max file size test fails due to the max_file_size
and devstacks loopback size being too small.

This patch sets this to a more sane size by default inside DevStack.
See the gerrit link above for more details.

Tempest uses a loopback of 6GB, so in this case the swift default of 5GB
should be fine.

Change-Id: If09eab7d16ae67bd252020e00e8812ff252f065b
2016-03-08 12:04:15 +11:00
Jenkins
03cf3ce902 Merge "Use new use_neutron variable" 2016-03-07 18:18:21 +00:00
Jenkins
e15b07265d Merge "Disable nova calls from tempest when heat is enabled" 2016-03-07 14:30:22 +00:00
Jenkins
7f81e5ae9b Merge "Add pg_createcluster creating process for psql version after 9.3" 2016-03-07 14:29:53 +00:00
Sean Dague
f21cc1fd96 Use new use_neutron variable
This uses the new use_neutron variable instead of the crazy class
path. This helps us test the use of this in our jobs.

Change-Id: Ic6d0cc4b7a0df6b3f5336ee58886f7edff26e846
Depends-On: I1c2eb51d10ba6370492a911f59370b9870646a38
2016-03-04 13:51:25 -05:00
Matthew Treinish
6cf412bb7e
Update account generator calls with correct password
Change I380dd20e5ed716a0bdf92aa02c3730359b8136e4 updated the tempest
configuration to stop creating a bunch of globals. But as part of
that refactor it started using $admin_password as the password
argument for tempest-account generator, which is never defined.
This commit rectifies the situation by using the correct variable
$password.

Change-Id: Ieeed58751e5784020e04bcc2911ac74791662110
2016-03-04 10:36:10 -05:00
Jenkins
cd6e23faba Merge "Add Glance Artifact API in devstack installation" 2016-03-03 11:20:15 +00:00
Yalei Wang
174986db21 Add pg_createcluster creating process for psql version after 9.3
postgresql 9.3 don't create /etc/postgresql and related conf file by
default. So we need start the pg_createcluster in devstack if has not
started after package installed.

Change-Id: I2b348658d79b23b5f21871b33d8023499b2fb956
Close-bug: #1552051
2016-03-03 04:08:01 +00:00
Jenkins
effcfd6983 Merge "Disable tempest tox venv recreation in OFFLINE mode" 2016-03-02 05:55:28 +00:00
Mathieu Rohon
0c985c8627 Disable nova calls from tempest when heat is enabled
This patch ensures that lib/tempest doesn't call nova when heat is
enabled and nova is disabled.

Change-Id: I2debbae1bb82ecace1058e99ab172272393fb5ea
Closes-bug: #1549708
2016-03-01 09:04:42 +00:00
Jacek Tomasiak
3ded0dbba5 Disable tempest tox venv recreation in OFFLINE mode
Setting OFFLINE=True in local.conf should enable stack.sh to run multiple
times without an internet connection. This was broken for some cases
when recreation of tox venv for tempest was forced in lib/tempest.

This change makes recreation of tox venv enabled only when OFFLINE mode is
disabled.

Change-Id: I2bf6caf60038a3690378eead905b35e9175ac356
Closes-Bug: #1550537
2016-02-29 20:52:09 +01:00
Alexey Galkin
b65cf0aae4 Add Glance Artifact API in devstack installation
Since EXPERIMENTAL Glance v3 API has been removed in favor of
standalone API implementation was added we need to add some
changes in devstack to support it.

Implements blueprint: move-v3-to-glare
Depends-On: I5b7bd4cdcc5f2a40fc4a5f74bcc422fd700c4fb0

Change-Id: Iced3c68010eb6bcd2a6a1ec8f1c6883f84cbe77f
2016-02-29 16:27:22 +03:00
Jenkins
92116ecd66 Merge "Remove lib/cinder_backends/solidfire" 2016-02-27 02:37:24 +00:00
Jenkins
b01a3c3baf Merge "Followup comment fix from alt_demo user creation" 2016-02-25 00:55:54 +00:00
Jenkins
6c888d2c49 Merge "localize user/project variables in tempest" 2016-02-25 00:45:22 +00:00
Jenkins
c3c91c4267 Merge "Minor fixes for bashate trunk" 2016-02-24 20:04:55 +00:00
Jenkins
ced2e414c0 Merge "fix postgres service name" 2016-02-24 19:54:36 +00:00
Jenkins
6bb429359d Merge "Fix uwsgi keystone" 2016-02-24 19:35:53 +00:00
Mehdi Abaakouk
13fe6f59d1 Fix telemetry integration gate jobs
Since https://review.openstack.org/#/c/281779/2 have been
merged the telemetry integration job is broken.

Unfortunatly, it can't be fixed on our side, because we have to
rename SERVICE_TENANT_NAME in many devstack plugin, we can't merge thing
until all plugins have been fixed.

So this change restores SERVICE_TENANT_NAME, to be able to switch to SERVICE_PROJECT_NAME.

Related-bug: #1548634
Change-Id: I14ebf23aa63f0f153b934ad213a6209d22e73e9d
2016-02-23 13:04:12 +01:00
Jenkins
ecc7d273db Merge "Change default subnetpool size" 2016-02-23 03:12:57 +00:00
Jenkins
df9e62e3e6 Merge "Replace TENANT => PROJECT phase 1" 2016-02-23 00:39:41 +00:00
Assaf Muller
f5515409d5 Change default subnetpool size
Commit 7dbcfae introduced a subnetpool needed for the
auto-configured-topology Neutron extension. However, it allows
only up to 4 tenants, then you'd hit an error about no more
available IPs. This patch changes the size of the subnetpool
and the subnets it creates.

Change-Id: I4f43bebc52fb20e39853a1632fe31506958f5071
2016-02-22 17:41:02 -05:00
Jenkins
6278765c55 Merge "Provision deployment requirements for get-me-a-network" 2016-02-22 21:09:14 +00:00
Brant Knudson
d8589fa01a Fix uwsgi keystone
The uwsgi keystone jobs are failing with an error like

 + devstack/functions-common:_run_process:L1391:   setsid uwsgi /etc/keystone/keystone-uwsgi-admin.ini
 + devstack/functions-common:_run_process:L1395:   exit 0
 execvp: No such file or directory

I think this is because uwsgi isn't installed on the images. The fix
is to pip install it.

Also, use the full path to the uwsgi executable (even though execvp
is used) because eventlet (calling keystone-all) does.

Also, the uwsgi process wasn't shutting down on ./unstack.sh. This
is worked around by not running master process.

Change-Id: Id02e16c5149ba3dfa13051e87cfccd8e505b7362
2016-02-22 13:59:34 -06:00
Sean Dague
0f7653587e localize user/project variables in tempest
lib/tempest is using / setting a ton of globals, a lot which don't
look used. As a first step to converting over to s/tenant/project/
make all of these local which means they can not be impacting anything
outside of this function. That will make them safe to change names
later.

Change-Id: I380dd20e5ed716a0bdf92aa02c3730359b8136e4
2016-02-22 11:55:19 +11:00
Sean Dague
7580a0c3e3 Replace TENANT => PROJECT phase 1
This replaces the use of TENANT variables with PROJECT ones during the
initial setup. The openrc will still export a OS_TENANT_NAME because
many tools (cinderclient, glanceclient amoung them) will not function
without it. We warn when we do that.

Change-Id: I824b1121842eb5821034071874bf1bb2d7c3631e
2016-02-22 11:55:17 +11:00
Akihiro Motoki
2688eedc51 Remove Neutron VMware NSX plugin files completely
override-defaults mechanism allows us to define
s_neutron_plugin_security_group before loading lib/neutron,
and we no longer need to have a plugin-specific file in
the master DevStack repository.

Change-Id: Ib0f6e3d9463357d2dd66a2d61b8c722fa1f0bfba
Depends-On: I8b19b8f1b0694a96132f158146848aee7d14e8ff
2016-02-21 11:30:22 +00:00
Armando Migliaccio
7dbcfae703 Provision deployment requirements for get-me-a-network
Neutron implemented an extension to allow users to automatically
provision a basic network topology to connect their instances.

One of the requirements for this feature is to be able to mark
an external network to be the one to be used for external
connectivity. Another requirement is subnetpools, which are
used to determine the IP space to allocate for private tenant
networks.

This patch codifies these requirements. The provisioning
needs to be  made conditional  based on the extensions
needed for this to work correctly.

Partially-implements: blueprint get-me-a-network

Change-Id: I43ce5d65e754f131f7ca1ce2088a397d266cf821
2016-02-19 16:36:06 -08:00
Jenkins
134e1d36c6 Merge "Kill radvd when stopping neutron-l3 service" 2016-02-19 10:26:50 +00:00
Jenkins
ef0129c7ce Merge "Neutron: Change auth_plugin to auth_type" 2016-02-19 01:20:27 +00:00
Jenkins
cc03acca1f Merge "Revert "Fix stack failure when default subnetpool is set"" 2016-02-19 00:19:12 +00:00