6687 Commits

Author SHA1 Message Date
Jenkins
6e9bee1ae5 Merge "Detect blank variable in trueorfalse" 2015-10-15 02:56:19 +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
Jenkins
46d50a6b8e Merge "Add a debugging userrc after keystone is up" 2015-10-14 03:05:44 +00: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
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
Jenkins
5a98d4f7d0 Merge "make i local" 2015-10-13 02:12:45 +00:00
Jenkins
9e00fef424 Merge "add pip install timing" 2015-10-13 02:12:33 +00:00
Jenkins
aff4606564 Merge "add timing infrastructure to devstack" 2015-10-13 01:58:24 +00:00
Jenkins
cae860c9f8 Merge "docs: merge multiple interface sections with provider network section" 2015-10-13 00:03:53 +00:00
Sean Dague
cb658fab15 add pip install timing
Change-Id: I368fec44858bd97fc6a314fb20eed2b10932cbb1
2015-10-12 23:10:09 +00:00
Sean Dague
95c33d532f add timing infrastructure to devstack
this adds a timing infrastructure to devstack to account for time
taken up by set of operations. The first instance of this is
accounting the time taken up by doing apt_get calls.

Change-Id: I855ffe9c7a75e9943106af0f70cf715c34ae25c5
2015-10-12 23:08:56 +00:00
Sean M. Collins
887f182fa1 docs: merge multiple interface sections with provider network section
In this guide, multiple interfaces in DevStack is only used when doing
provider networking, so let's go ahead and just put the information
inside the provider network section. That way it won't be confusing.

Change-Id: I66f58ffb936230e72ac4cf8c04668e25dac5b17a
2015-10-12 16:57:13 +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
Dmitry Tantsur
64be3210e6 Don't assume that $i variable won't be overriden in extras.d plugins
This causes an incorrect warning about ironic jobs putting an unexpected
file in extras.d.

Change-Id: I57acf91fba3fe13b3cc8dd739034e146a0b237c4
2015-10-12 13:36:30 +02:00
Jenkins
0914d04343 Merge "docs: Move tip about Extension Drivers into misc section" 2015-10-12 03:04:02 +00:00
Jenkins
fd1050f2b2 Merge "Perform additional disable_service checks" 2015-10-12 03:03:53 +00:00
Sean M. Collins
611cab4b48 docs: Add IPs to provider net node configurations
Also remove variable definitions from compute node localrc that is only
applicable on the control node.

Change-Id: I37b00611ff08d8973f21af7db340d287b1deb4af
2015-10-09 16:17:18 -04:00
Sean M. Collins
4696db94a9 docs: Add network diagram for provider net section
Change-Id: Id39aaab5a7eadfa3fc09ba3d30c48b452d685904
2015-10-09 16:38:48 +00:00
Chris Dent
c6d470142e Perform additional disable_service checks
With the advent of plugins and their settings files it has become
possible to disable_service in local.conf only to have the service
re-enabled in a plugin settings file. This happens because of
processing order.

To get around this the disable_service function now aggregates
service names into a DISABLED_SERVICES variable which is then checked
during enable_service. If something tries to enable something that
was previously disabled, a warning is produced in the log and the
service is not enabled.

Then after all configuration has been sourced a final check is to
done by verify_disabled_services to confirm that something has not
manually adjusted ENABLED_SERVICES to overcome a previously called
disable_service. If something has, the stack dies with an error.

Change-Id: I0f9403f44ed2fe693a46cd02486bd94043ce6b1a
Closes-Bug: #1504304
2015-10-09 16:34:32 +00:00
Sean M. Collins
d8aa10e583 docs: Move tip about Extension Drivers into misc section
Change-Id: Ifd458495992a0fd1b7437c315b4fe45906830cb1
2015-10-09 12:21:30 -04:00
Jenkins
b2b82a0f34 Merge "Move $DEST creation after logging setup" 2015-10-09 13:58:23 +00: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
Jenkins
434d1b6e18 Merge "don't install root filters when Q_USE_ROOTWRAP is false" 2015-10-09 11:13:47 +00:00
Jenkins
19b09e6d37 Merge "Updated configuration and docs for MYSQL_PASSWORD" 2015-10-09 11:13:38 +00:00
Jenkins
8b0f5428f0 Merge "provide devstack lockout with .no-devstack file." 2015-10-09 11:03:44 +00:00
Ian Wienand
e82bac0498 Detect blank variable in trueorfalse
As a follow-on to I8cefb58f49dcd2cb2def8a5071d0892af520e7f7, put in
some detection around missing variable-to-test arguments in
trueorfalse.

Correct a couple of places where we were passing in blank strings,
resulting in the default always being applied.

Add test-cases and enhance the documentation a little.

Depends-On: I8cefb58f49dcd2cb2def8a5071d0892af520e7f7
Change-Id: Icc0eb3808a2b6583828d8c47f0af4181e7e2c75a
2015-10-09 19:07:50 +11:00
Jenkins
c1561f84fb Merge "make curl fail on pypi errors" 2015-10-08 18:04:31 +00:00
Sean Dague
56037e9a6e provide devstack lockout with .no-devstack file.
This lets you specify that devstack should not be run by the user on
the box that you are on. Helps with running commands in the wrong
window.

Change-Id: I7aa26df1a2e02331d596bbfefb0697937787252f
2015-10-08 12:27:07 -04:00
Jenkins
78bbc5df35 Merge "Ignore bashate long-line warnings (E006)" 2015-10-08 16:12:37 +00:00
Jenkins
e148587c35 Merge "remove corrupt get-pip.py" 2015-10-08 13:16:45 +00:00
Jenkins
e3fe3fd838 Merge "Don't set xtrace directly in local call" 2015-10-08 11:45:17 +00:00
Sean Dague
fa41b5b47e make curl fail on pypi errors
This will make curl fail on pypi errors, and should prevent corrupt
images from pypi going offline for a few hours randomly, which it does
from time to time.

Closes-Bug: #1503909

Change-Id: Ib4a740b7d1772e1e36aa701e42d3ac0f0ee12883
2015-10-08 06:06:34 -04:00
gong yong sheng
3d6eaae21c don't install root filters when Q_USE_ROOTWRAP is false
Change-Id: I2f6edfcfb3789310fbeea8a509e0d9a13428becc
Closes-bug: #1495822
2015-10-08 18:03:18 +08:00
Sean Dague
0280f6f6c8 remove corrupt get-pip.py
If get-pip servers fall over and return 503 for a few hours (which
they do medium regularly) we'll cache crud html, and everything will
suck. We know this script should be python, so if it isn't, delete it.

Change-Id: Ia9f6f7c7217939bc1ab5745f4a9d568acfbf04c8
2015-10-08 05:56:14 -04:00
Einst Crazy
9e11e098c3 Move $DEST creation after logging setup
Setup the log output before calling functions like
check_path_perm_sanity that want to write out to
the error log.

Change-Id: I9815965257c399a48f8cf0f344814d954137aecb
Closes-Bug: #1500834
2015-10-08 17:00:59 +08:00
Swapnil (coolsvap) Kulkarni
c988bf6fde Updated configuration and docs for MYSQL_PASSWORD
Updated MYSQL_PASSWORD to DATABASE_PASSWORD in sample
configuration and existing docs

Change-Id: Iafb295a0b7707e08a81e6528620db8543d40f7ae
2015-10-08 14:21:58 +05:30
Jenkins
c756b5b5d4 Merge "Remove explicit support for OneConvergence plugin" 2015-10-08 06:05:32 +00:00
Jenkins
40643a52f0 Merge "build_docs: do not handle md and conf files with shocco" 2015-10-08 06:05:08 +00:00
Jenkins
ee2b5d0c62 Merge "fix warning in install_get_pip" 2015-10-08 06:04:59 +00:00
Jenkins
0d7343107a Merge "use deprecated function instead of modifying global" 2015-10-08 06:04:54 +00:00
Jenkins
d111c2174e Merge "add big warning for extras.d usage" 2015-10-08 05:42:48 +00:00
Jenkins
ca9f00874a Merge "Add Barbican to plugin registry list" 2015-10-08 05:38:00 +00:00
Ian Wienand
7adf15df5c Add a debugging userrc after keystone is up
As a follow-on to the issues raised by
I069f46f95656655ae7ba8f3dd929f47eae594b68, rather than a re-write of
create_userrc.sh logic, create a temporary userrc that can be helpful
for debugging until we have the whole system bootstrapped

Change-Id: I3325acffd259cf7f6f4a153c88037cfe8405ca50
2015-10-08 10:12:34 +11:00
Jenkins
d1ddc5396a Merge "Enable CSV logging output for DStat." 2015-10-07 23:11:57 +00:00
Dave McCowan
33e3969081 Add Barbican to plugin registry list
Barbican can now be installed with devstack via:

enable_plugin barbican https://git.openstack.org/openstack/barbican

Change-Id: I81af04bb6600d1e58590c39efdc2c0c91563321d
2015-10-07 17:07:52 -04:00
Jenkins
17491f37d7 Merge "Revert "Revert "Convert identity defaults to keystone v3 api""" 2015-10-07 19:30:18 +00:00
Sean Dague
a0cc2918ad fix warning in install_get_pip
we were unconditionally adding -z to the curl command even if the file
doesn't exist that we are referencing. That produces a scary warning
for users. Lets not do that.

Change-Id: Id2860c1c702510b0f8fd496abce579d0fa3ff867
2015-10-07 15:15:16 -04:00