5777 Commits

Author SHA1 Message Date
Jenkins
a4904128ff Merge "Change datastore version for Mysql datastore" 2015-03-20 14:28:29 +00:00
Ryan Hsu
6f3f310848 Fix packages not getting installed if service name in base path
Currently, if devstack base path includes the name of a given
service (e.g. nova), then the service's prereq packages will
not be installed. This fix changes the checking the match
against the full path of the package list file rather than the
name of a given service.

Closes-Bug: #1434314
Change-Id: Ie81352ebd5691afc6d0019f71d5b62370e8bb95f
2015-03-19 16:32:24 -07:00
Jenkins
d4c95233d6 Merge "create install_default_policy" 2015-03-19 18:22:51 +00:00
Jenkins
948970928c Merge "Set heat stack role in tempest config to _member_" 2015-03-19 15:27:54 +00:00
yuntongjin
f26deea6b1 create install_default_policy
Recent versions of oslo policy allow the use of a policy.d to break up
policy in a more user understandable way. Nova is going to use this in
Kilo to break out v2 and v2.1 API policy definitions.

This provides a unified helper for installing sample policies. It
makes some assumptions on project directory structure. Porting other
projects to use this can happen in the future.

Change-Id: Iec23b095176332414faf76a9c329f8bb5f3aa6c3
2015-03-19 09:10:37 -04:00
Matthew Treinish
886cbb2a86 Set heat stack role in tempest config to _member_
In kilo heat started to use keystone delegations to perform the needed
operations, as part of this the need to set the explicit role in
devstack for stack management disappeared. However, in tempest as part
of the effort to make credentials configuration more explicit an option
was added to ensure that the users created by tempest have the proper
role set for stack management in the heat tests. This commit sets the
value of this config option in tempest to be the default role _member_
to reflect that there is no separate heat_stack_owner role created
anymore. (which is the tempest default value)

Change-Id: Id98a83f0a716de0fdb5f36d03407364830e8fa5f
2015-03-18 22:03:01 -04:00
Jenkins
d9a7ae8056 Merge "Allow devstack plugins to specify prereq packages" 2015-03-19 00:35:34 +00:00
Jenkins
aea87e2dc2 Merge "Create global_filter to avoid scan of missing devs" 2015-03-18 23:43:27 +00:00
Jenkins
852bacc7df Merge "Add Ironic cleaning network" 2015-03-18 19:14:30 +00:00
Jenkins
ecd26036e5 Merge "Make ironic ssh check timeout configurable" 2015-03-18 17:54:04 +00:00
Jenkins
392f23f68d Merge "Set INSTALL_TEMPEST to default true" 2015-03-18 17:52:20 +00:00
Jenkins
28c5a9ba06 Merge "Fix pip install error" 2015-03-18 17:48:33 +00:00
Jenkins
6ec715ea67 Merge "[SAHARA] Remove copying sahara.conf from base config file" 2015-03-18 17:48:22 +00:00
Jenkins
e634a96997 Merge "Support detection of interfaces with non-word chars in the name" 2015-03-18 17:44:58 +00:00
John Griffith
4bf861c76c Create global_filter to avoid scan of missing devs
A while back I added an lvm.conf file with a device filter setting
to try and clean up the LVM hangs in the gate:
  (commit 0b9e76f280208b5b5ad54bb6fbc4133e63037286)

It turns out this wasn't the real problem, the real problem
is that on an LVS/VGS command LVM  will attempt to open and read
all potential block devices in /dev to see if they have LVM data
on them.  I initially thought the local filter would keep that
from happening, as it turns out the local filter only limits what's
returned AFTER the actual scan process.  In order to keep the scan
from happening at all, either a global_filter needs to be used or
lvmetad needs to be running and enabled.

There are situations in gate tests where /dev/sdX devices are created and
deleted and the result is that we hit situations where LVM tries
to open up devices to check them even if they've been removed.  The
result is we have a blocking open call from LVM that takes approx
60 seconds to time out and fail.

Ubuntu won't have a version of lvmetad until Vivid, so for now
that just leaves the global_filter as an option.

This patch adds the filter routine to the end of stack.sh.  We don't
want to put the routine in lib/cinder_backend/lvm like we had it because
now we have to set the global filter for all LVM commands on the system.
So we put this as one of the last steps in stack.sh and run it if Cinder
is enabled.  This way we can query PV's on the system regardless of what
other services may be running and using LVM and make sure that all of
their devices are added to the filter as well.

Also, make sure we only set this for Ubuntu as Fedora/RHEL variants
utilize lvmetad.

This patch also removes the old change that set the local filter.

DocImpact
Should add this to recommended config for Cinder on systems
that don't have lvmetad, and recommend lvmetad for those that do.

Change-Id: I5d5c48e188cbb9b4208096736807f082bce524e8
Closes-Bug: #1373513
2015-03-18 10:29:29 -06:00
Jenkins
7b2ee1c6d8 Merge "Adds documentation for devstack unit tests enablement" 2015-03-18 07:46:46 +00:00
Josh Gachnang
ee78c9e2f6 Add Ironic cleaning network
The cleaning network is where ramdisks will be booted during
the cleaning process. We want to ensure nodes are being properly
cleaned on tear down.

Change-Id: Ic38de10668c97648d073fdf9a3afc59712057849
Implements: bp/implement-cleaning-states
2015-03-17 19:15:10 -07:00
Steve Baker
744c2afd6f Allow heat-standalone to work with keystone v3
Heat can now run in standalone mode with the default v3 keystone
backend.

This change removes the installation of the v2 contrib backend.
It also configures saner defaults when HEAT_STANDALONE is True.
Using trusts and a stack-domain will never work in standalone mode
since they both require a service user which doesn't exist in
standalone mode.

Finally, this change prevents heat.conf being populated with service user options
not required by standalone mode.

Configuring the v2 backend may be reintroduced later with a dedicated
flag variable.

Change-Id: I88403e359e5e59e776b25ba1b65fae6fa8a3548e
2015-03-18 11:12:37 +13:00
Jenkins
5e159edab3 Merge "switch to use ceilometermiddleware" 2015-03-17 19:29:45 +00:00
Jenkins
436a5c9cba Merge "Fix Traceback exceptions in g-api and g-reg" 2015-03-17 18:34:16 +00:00
Jenkins
e41690d868 Merge "Keystone RPC backend config consistency" 2015-03-17 18:27:06 +00:00
Jenkins
706996da7d Merge "Adding tempest_roles when auth_version is v3" 2015-03-17 16:57:04 +00:00
Jenkins
411c2a7d06 Merge "Add rootwrap daemon mode support for Neutron" 2015-03-17 16:51:57 +00:00
Thanassis Parathyras
a03ed37626 Adds documentation for devstack unit tests enablement
Closes Bug: 1283214
Closes Bug: 1203723

Change-Id: Iac25185c7cc92ddebd3a22b602f7c8885d009807
2015-03-17 16:27:29 +02:00
Sean Dague
d66bac3f70 remove horizon exercises
The horizon team keeps changing how the UI is exposed. This exercise
keeps lagging and doesn't really test anything useful any more. Just
delete it.

Change-Id: Id62904868f1d4b39e33d2ad63340b5ee2177fb56
2015-03-17 09:16:00 -04:00
Vitaly Gridnev
302389bf8d [SAHARA] Remove copying sahara.conf from base config file
Sahara is going to remove sahara.conf.sample because it
is not gated anymore and therefore it gets out of date.
So, we need to remove copying sahara.conf from base config file
sahara.conf.sample

Change-Id: I0ddf36cfc15694dfe41fe695d577199da75ce7f1
2015-03-17 11:54:12 +00:00
Eli Qiao
6a83c423fc Fix pip install error
If we set mutiple proxy (ip or url), pip install will
treat the second proxy as a command.
Add quotation marks around proxy.
expecially for no_proxy

Change-Id: I38ad3f083ba5155cda0e5e2b8f5df64492b7fecd
2015-03-17 17:03:29 +08:00
Yuriy Taraday
2662395fac Add rootwrap daemon mode support for Neutron
Daemon mode is turned on by default.

Implements: blueprint rootwrap-daemon-mode
Change-Id: I632df4149e9d7f78cb5a7091dfe4ea8f8ca3ddfa
2015-03-17 04:12:13 +03:00
Morgan Jones
45e7db0e7a Change datastore version for Mysql datastore
The Replication V2 change to Trove moves the test
datastore from Mysql 5.5 to Mysql 5.6.  This change
reflects that in devstack.

Change-Id: Ibdf32b46c200d3061975d390c872be77d19bc361
Implements: blueprint bp/replication-v2
Closes-bug: #1432686
Depends-On: I8eec708f41e791e3db04a2c7b7c12855118b64ac
2015-03-16 12:25:23 -04:00
Andreas Scheuring
a3430270f3 Support detection of interfaces with non-word chars in the name
The current regex only matches host interface names that consits
of "word characters" (regex \w). Intefaces having other special
chars like "-" or "." are not parsed. Examples that are not yet
matched are br-ex (ovs bridge) or enccw0.0.1234 (s390 eth device
name).

In addition it's hard to understand the the regex.

This fix is replacing the regex by a simple awk statement also
matching those names.

In addition the determination of the host_ip_iface was moved
down into the if clause, as it is only used inside.

Change-Id: I3d1b1afa32956e4e8c55c7e68cbafaf8e03e7da2
Closes-Bug: #1429903
2015-03-16 17:00:03 +01:00
Matthew Treinish
cb3ceceda2 Set INSTALL_TEMPEST to default true
This commit switches the default value for INSTALL_TEMPEST on master
devstack to be true. Not installing tempest by default on devstack is
confusing for devs and people working with tempest in devstack. The
venv isolation is only really required on stable branches because of
conflicting requirements, however it is not really necessary on master.

Change-Id: I368cb56fd9e0cbf59cefe24a46507d3f58b9a8e3
2015-03-16 10:37:51 -04:00
Jordan Pittier
1331a828da Add \n at the end of samples/local.conf
Currently if you `cat` the file, the bash prompt will be at a weird
position. And if you programmaticaly add a new line to this file,
the line will be, in fact, appended to the previous line.

Change-Id: I19ba018d9a934f8fdc07cc9bec50a0105f2710f9
2015-03-16 10:27:47 +01:00
Jenkins
5c619b43db Merge "Install rsync-daemon on f22" 2015-03-16 05:08:37 +00:00
Zhenzan Zhou
80cdbc4231 Make ironic ssh check timeout configurable
On some environments, the current 10s timeout waiting for server
ssh-able is not enough. SSH session was killed before the command
executed by server and then break the whole stack.sh.

Change-Id: I4d842744793455d44a633dee8920a60552e8075e
2015-03-16 12:35:45 +08:00
Anand Shanmugam
1577663f4a Fix Traceback exceptions in g-api and g-reg
The log_context format specified in glance-api and glance-reistry
are causing tracebacks.  This fix changes the
project_id and user_id to tenant and user which are supported
in oslo-context.  This is the format used by other projects

Change-Id: Ifbf268e9765039a0085c9af930dabf8a5cc681b8
Closes-Bug: #1431784
2015-03-15 08:51:55 +00:00
Brant Knudson
5dfecc8966 Keystone RPC backend config consistency
lib/keystone was setting up rabbit config directly rather than
using the iniset_rpc_backend function that other projects use.

Change-Id: Ic368f102c808cdbd2e4cbc1ff457cdf17a681332
2015-03-14 12:29:58 -05:00
Andrea Frittoli
7b2eaedabf Adding tempest_roles when auth_version is v3
With identity v3 the _member_ role is not added on the projects
automatically for the user when it's created.

Setting _member_ to tempest_roles so that tempest adds the role.

Change-Id: Iaae9286ecc6f019d36261a5c450068a650e24a28
2015-03-14 10:18:44 +00:00
Jenkins
f6fd39f974 Merge "Fail if run in POSIX compatability mode" 2015-03-13 17:27:28 +00:00
gordon chung
b6197e6ab0 switch to use ceilometermiddleware
swift middleware contained in ceilometer is now deprecated. the
middleware is available in ceilometermiddleware.

Change-Id: I6e41986245f4d95a9385dc7829479ed1199f10ac
2015-03-13 15:41:13 +00:00
Jenkins
68ed19b696 Merge "install missing elasticsearch client" 2015-03-13 02:00:22 +00:00
Jenkins
69b1551452 Merge "Shut down ironic services in the modern way" 2015-03-13 01:32:23 +00:00
gordon chung
3011ec7549 install missing elasticsearch client
elasticsearch client must be explicitly installed as it's an
optional backend requirement. this patch installs the client when
installing elasticsearch

Change-Id: I534cf0c78ab1fe7d309ef5f808bbe7b5422b403e
2015-03-13 09:39:53 +11:00
Attila Fazekas
b1a094d289 Install rsync-daemon on f22
swift requires to have rsyncd running as service or behind xinetd.
/etc/xinetd.d/rsync is not shipped with f22 and the daemon mode
 requires an additional package.
Adding rsync-daemon as swift dependency for f22 and f23(rawhide).

Change-Id: I33222719cabed59a261ce1b8ddedc457aa03800e
2015-03-12 16:26:47 +00:00
Jenkins
518ca616ae Merge "Don't use packaged unittest2" 2015-03-12 15:28:30 +00:00
Jenkins
a055557705 Merge "Move configuration functions into inc/*" 2015-03-12 15:22:47 +00:00
Jenkins
0d8b9b31d2 Merge "Set os_region_name for cinder" 2015-03-12 15:22:39 +00:00
Jenkins
3d223fc2ce Merge "Remove the kesytone admin token from swift" 2015-03-12 15:22:29 +00:00
Jenkins
e7577b7189 Merge "Add package mongodb to files/rpms/zaqar-server" 2015-03-12 15:22:20 +00:00
Jenkins
a6c054747a Merge "Remove my_ip from cinder.conf" 2015-03-12 15:08:26 +00:00
Chris Dent
cf3b41fa8b Shut down ironic services in the modern way
Instead of killing the screen, use stop_process which will
shut the processes when USE_SCREEN is False.

Change-Id: If0f714cb112dbf5fe9e4fdd7291cb4fb1df87f42
2015-03-12 13:33:12 +00:00