5277 Commits

Author SHA1 Message Date
Dean Troyer
305c4debde Fix wsgi dir cleanup in Keystone
Change-Id: I8350d2de8602472e5a7d80b490d2c24f43865e19
2014-12-18 17:11:07 -06:00
Jenkins
c9bd06e03c Merge "Revert "Pin version of setuptools"" 2014-12-18 21:34:37 +00:00
Jeremy Stanley
b7ebc4765a Revert "Pin version of setuptools"
This reverts commit 3b782d304ec2073a6406c37b9e1a76c8aecfc9a3.

The blockers for setuptools 8 compatibility should all be resolved
now.

Change-Id: I6d2d63746f98f0f885816395f36022a2706fb9c5
2014-12-18 17:09:25 +00:00
Jenkins
7d6df5225b Merge "Fix rabbit_userid for multi node devstack" 2014-12-18 10:47:55 +00:00
Jenkins
7ed4318d15 Merge "Add WSGIPassAuthorization to the admin port too" 2014-12-18 09:47:41 +00:00
Jenkins
56a7477a7e Merge "Don't install sphinx from distro" 2014-12-18 09:47:37 +00:00
Jenkins
e26bafba39 Merge "remove $KEYSTONE_TOKEN_HASH_ALGORITHM" 2014-12-18 09:46:53 +00:00
Jenkins
301927e02b Merge "lib/swift : fix misleading typo in a code comment" 2014-12-18 09:46:29 +00:00
Jenkins
3bdc9619f3 Merge "Fix rabbitmq retry for error checking" 2014-12-18 00:57:08 +00:00
Monty Taylor
684e9e9ce2 Don't install sphinx from distro
We don't generate docs in devstack. But also, sphinx depends on babel
which has a hard depend that breaks with setuptools 8. However, pip
installed babel/sphinx should not have this problem.

Change-Id: I84a82e56f6540724d50c6201a68c480ba7645add
2014-12-17 11:48:59 -05:00
JordanP
fc0ff92777 lib/swift : fix misleading typo in a code comment
The code comment was picked from lib/keystone but not changed.

Change-Id: Idebe5af84d481d52d529575e666105e4b0e06a59
2014-12-17 12:39:36 +01:00
Jenkins
062e8f1487 Merge "Adds missing rabbit_userid to trove configs" 2014-12-16 22:02:41 +00:00
Joe Gordon
f6287c2adb Fix rabbit_userid for multi node devstack
I43a231c9611b4cc2e390b603aa3bfb49c915bdc5 introduced a new setting
RABBIT_USERID but only set it if rabbit is enabled. In multi node
devstack the second node uses RABBIT_USERID but the service rabbit isn't
enabled on it.

Always set RABBIT_USERID, if a different message queue is used the
variable will just be ignored.

Change-Id: I8568bddda2a5c66235ecae23af58983ee94c720a
2014-12-16 13:32:41 -08:00
Steve Martinelli
b57f636ec8 Add WSGIPassAuthorization to the admin port too
Accidentally only added WSGIPassAuthorization to the public port,
like all the other WSGI props, it should be added for both ports.

Change-Id: I4e52e0881df464dfb7b28e22581f462e14e37bdb
2014-12-15 20:55:54 -05:00
Ian Wienand
64b56a53d8 Fix rabbitmq retry for error checking
I think this retry check has been broken since we introduced "set -e".
Unfortunately it seems the issue of rabbitmq not starting first-time
persists on centos 7 hosts occasionally, e.g. [1]:

---
 + rabbit_setuser stackrabbit secretrabbit
 + local user=stackrabbit pass=secretrabbit found= out=
 ++ sudo rabbitmqctl list_users
 Error: unable to connect to node 'rabbit@devstack-centos7-rax-iad-100675': nodedown

 DIAGNOSTICS
 ===========

 nodes in question: ['rabbit@devstack-centos7-rax-iad-100675']

 hosts, their running nodes and ports:
 - devstack-centos7-rax-iad-100675: [{rabbitmqctl29293,39511}]

 current node details:
 - node name: 'rabbitmqctl29293@devstack-centos7-rax-iad-100675'
 - home dir: /var/lib/rabbitmq
 - cookie hash: KieJnx1pnllKbHVihGcDqA==
---

Fix up this retry while we investigate [2]

[1] http://logs.openstack.org/64/141864/1/check//check-tempest-dsvm-centos7/4308f0c/logs/devstacklog.txt.gz
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1144100

Change-Id: I11fb3728e08adc1e0f7acca63e5a308d24dce78e
2014-12-16 10:13:04 +11:00
Sean Dague
ef844fd08d remove $KEYSTONE_TOKEN_HASH_ALGORITHM
Now that Keystone is back to UUID token defaults the use case for this
in devstack is extremely dubious, and it can be set through via
local.conf if anyone *really* cares.

Part of bp:devstack-nounset

Change-Id: I644b5b1579952959d253758b2a12b97d8a704657
2014-12-15 16:33:53 -05:00
Jenkins
7f80280698 Merge "Add WSGIPassAuthorization to the keystone apache template" 2014-12-15 14:40:48 +00:00
Jenkins
affcf87181 Merge "Remove NoVNC from the default enabled services" 2014-12-14 14:42:47 +00:00
Steve Martinelli
dc31f76a27 Add WSGIPassAuthorization to the keystone apache template
For the OS-OAUTH1 Keystone extension to fully work under Apache,
the WSGIPassAuthorization parameter must be set to On, rather
than the default of Off. This will make functional testing of
this extension much easier.

Change-Id: I5dcbdd27e7ef7a60fe3c7cb8b9c3c83b4197dfc1
2014-12-13 23:34:15 -05:00
Ruslan Kamaldinov
3b782d304e Pin version of setuptools
Latest release of setuptool 8.0 made several versions used in
requirements.txt of OpenStack projects invalid. Instances:
* SQLAlchemy>=0.8.4,<=0.8.99,>=0.9.7,<=0.9.99 in oslo.db 1.2.0
* python-neutronclient 2.3.9.40.g9ed73c0 in openstackclient

Cap '<8.0' is set as a temporary fix until a better solution
comes up.

Change-Id: I4cfe2e4c86474ec9bf69a3c2007c0277288ea2b6
2014-12-13 23:19:34 +03:00
Sushil Kumar
7bb9a73b8c Adds missing rabbit_userid to trove configs
- rabbit_userid was only updated in trove.conf leaving other
  trove configuration files not having this value.
- Trove service setup was broken because of this.
- Added rabbit_userid to trove-taskmanager.conf,
  trove-conductor.conf and trove-guest.conf.

Change-Id: I60bd160600ec4a02c94ee5e33e4bc91c9f2aa2ed
Closes-Bug: #1402227
2014-12-13 16:34:01 +00:00
Jenkins
bfdddebc28 Merge "Change Cinder Cert script to run all Volume tests" 2014-12-13 16:07:31 +00:00
Jenkins
3e6fe6fd47 Merge "Poll resource tracker for ironic cpus as well as count" 2014-12-12 23:52:48 +00:00
Jenkins
2e4ba6ff57 Merge "XenAPI: Simplify installed packages" 2014-12-12 23:03:24 +00:00
Jenkins
d304125a76 Merge "Generate an IPv6 address when PUBLIC_BRIDGE does not have one" 2014-12-12 23:03:21 +00:00
Jenkins
178f9610a4 Merge "Take an optional rabbit user name as input" 2014-12-12 23:03:16 +00:00
Jenkins
60cdf02482 Merge "Delete is_ironic function" 2014-12-12 22:10:06 +00:00
Jenkins
bfed4850b7 Merge "Tempest allow_tenant_isolation in auth section" 2014-12-12 17:14:37 +00:00
Bob Ball
be485221b3 XenAPI: Simplify installed packages
Remove duplicate packages.
pip is handled by devstack, so don't try and install it here.

Change-Id: I6f22e0f86ae071d30bf69de9ed5dec6b28ebc92b
2014-12-12 13:14:46 +00:00
Zhongyue Luo
31f70b4016 Delete is_ironic function
This function is not used in DevStack anymore.

Change-Id: I4a4430e451094d638704a2da1eb2de7f22f25b84
2014-12-12 15:44:38 +08:00
Jenkins
f344758fb4 Merge "Revert "Update used Fedora images to version 21"" 2014-12-12 02:35:52 +00:00
Steve Baker
6d012cf16f Revert "Update used Fedora images to version 21"
This breaks check-heat-dsvm-functional-mysql which assumes the previous glance image name.

This reverts commit 21dbe993348b794a1b77c4f9db0081d1cc32138c.

Change-Id: I77749f3f9f1a64719447ddd25ee95bc6d3afa5b3
2014-12-12 00:52:59 +00:00
Abhishek Chanda
d5b74c688f Take an optional rabbit user name as input
Newer versions of rabbitmq (3.3 and later) do not allow the 'guest'
user to access on non-local interfaces.

- Added a new config RABBIT_USERID which defaults to stackrabbit
- Invoked config scripts using that variable

Adopted from:
https://review.openstack.org/#/c/107779/

Change-Id: I43a231c9611b4cc2e390b603aa3bfb49c915bdc5
Closes-Bug: #1343354
Co-Authored-By: Scott Moser <smoser@ubuntu.com>
2014-12-12 02:20:09 +05:30
Adam Gandelman
0c99e2f65b Poll resource tracker for ironic cpus as well as count
When ironic nodes are enrolled, their resources are not available
to the nova scheduler until after a round of ironic and nova periodic
tasks have run  In addition to waiting for ironic nodes to show up in
the resource tracker, also wait for associated CPU resources.  In
the worst case, this means waiting for 3 total rounds of periodic
tasks.

Change-Id: Idbbc43bf74ff5fff3d50f3494148454bb51e378f
Closes-bug: #1398128
2014-12-11 12:43:00 -08:00
Jenkins
1fc6e18c4a Merge "add the kernel/ramdisk id to driver_info" 2014-12-11 16:16:21 +00:00
Jenkins
d35a5dbadf Merge "Use latest version of python-openstackclient" 2014-12-11 16:16:05 +00:00
Jenkins
fa2193823d Merge "Update used Fedora images to version 21" 2014-12-11 15:28:45 +00:00
Jenkins
5f953dd1fe Merge "Allow use of dnf instead of yum on Fedora" 2014-12-11 14:26:10 +00:00
Christian Berendt
21dbe99334 Update used Fedora images to version 21
Change-Id: I26a3d7d0842f9d4c5fc33350992a19f597f39b2e
2014-12-11 11:53:24 +11:00
Jenkins
d7af0fe7a6 Merge "Update devstack to work with new split neutron services repos" 2014-12-10 23:01:40 +00:00
Dean Troyer
2bfb9af0c9 Remove NoVNC from the default enabled services
Preparing to remove all non-stackforge git repos

Change-Id: I91f628f09fcdfd1aefbc40c9e26be0509eee484d
2014-12-10 16:59:14 -06:00
Daniel P. Berrange
63d25d978b Allow use of dnf instead of yum on Fedora
Since Fedora 20 it has been possible to use 'dnf' as a drop-in
replacement for 'yum', and it is targetted to become the default
in Fedora 22

   http://fedoraproject.org/wiki/Changes/ReplaceYumWithDNF

There are many benefits of 'dnf' over 'yum' but the biggest
from the POV of an openstack developer is its speed.

Assuming an existing running devstack install ie all required
RPMs already installed on the system. Now look at how long it
takes to run stack.sh, during which yum does not have to
actually install anything

 # ./unstack.sh
 # time ./stack.sh
 real 11m12.193s
 user 10m17.129s
 sys  0m15.275s

Now, with 'export YUM=dnf' set in local.conf, run the same
test again

 # ./unstack.sh
 # time ./stack.sh
 real 0m48.610s
 user 0m28.939s
 sys  0m7.801s

So, this is showing that devstack is wasting 10 minutes just
for yum to figure out that everything is already installed.
The overhead of yum vs dnf is even worse when yum has to
acutally depsolve to install new packages.

Change-Id: Ia01a5f330a47b32207586902a861bedfc8a0f6e2
2014-12-11 09:37:55 +11:00
Jenkins
d09a1db5a4 Merge "add shebang lines to all lib files" 2014-12-10 20:32:15 +00:00
Sabari Kumar Murugesan
342ac4b774 Use latest version of python-openstackclient
Some options in openstack client like --or-show are available only
from 1.0.0. Adding this 'requirement' explictly as openstackclient
is not as part of requirements of other projects.

Change-Id: I96a98331ece15da869a3ea7af80d16fab2351329
2014-12-10 12:00:52 -08:00
Jenkins
3fe578d41d Merge "Tempest: configure exact set of extensions to test" 2014-12-10 16:33:28 +00:00
Sean Dague
e263c82e48 add shebang lines to all lib files
With gerrit 2.8, and the new change screen, this will trigger syntax
highlighting in gerrit. Thus making reviewing code a lot nicer.

Change-Id: Id238748417ffab53e02d59413dba66f61e724383
2014-12-10 11:28:05 -05:00
John Griffith
19d22bd19a Change Cinder Cert script to run all Volume tests
The Cinder Cert script currently only runs the Tempest
tests tagged with volume.api, should be all Volume tests
to make sure we get things like attach and other commands
fully tested.

Change-Id: Ic15d2ad6d3616bfde4838873d0c79664b009ef1f
2014-12-09 21:50:33 -07:00
Jenkins
f8cf2777d5 Merge "XenAPI: Add another plugin directory" 2014-12-10 02:41:50 +00:00
Jenkins
099dd6ce8a Merge "Fix variable typo of use_syslog in lib/tempest" 2014-12-10 00:10:26 +00:00
Jenkins
805887e4ee Merge "Add tooz support from Oslo" 2014-12-10 00:02:13 +00:00