1183 Commits

Author SHA1 Message Date
Jenkins
0a8c555079 Merge "Faster nova fixed key generation" 2014-09-02 22:06:15 +00:00
Jenkins
78d7c60aea Merge "scope warnings to only display if the services are enabled" 2014-08-28 22:04:10 +00:00
Attila Fazekas
f71b500bea Faster nova fixed key generation
Using bc 64 times in loop is too verbose and slow,
replacing the echo/bc loop with hexdump and urandom.

The hexdump approach is 75 times faster and
does not floods the debug logs.

Using the common function for generating,
this kind of string with lib/heat and by the read_password.

Change-Id: If6a86dfaf0c21e2635c6de0a7b96a8ed7ec5b507
2014-08-27 09:21:13 +02:00
Jenkins
9292b07202 Merge "Re-order stack.sh 2: target dir setup" 2014-08-26 09:52:43 +00:00
Jenkins
fad07b0104 Merge "Re-order stack.sh 1: sanity checks" 2014-08-26 05:15:32 +00:00
Jenkins
7e585f6370 Merge "Source fixup_stuff..." 2014-08-23 08:25:39 +00:00
Steve Baker
2a6009cd00 Build an image for heat functional tests
This is only triggered if HEAT_CREATE_TEST_IMAGE is True

This custom image contains the following:
* heat-cfntools from git rather than the packaged version, which
  will allow gating on heat-cfntools changes
* os-collect-config, os-apply-config, os-refresh-config, which
  will allow gating on these projects, and will allow heat
  software-config tests to be written
* software-config hooks from heat-templates, which will allow tempest
  tests to be written for software-config with different configuration
  tools (script, puppet, cfn-init etc)

The heat functional tests will soon replace the heat-slow tempest job,
so heat-slow tempest configuration will be removed after the heat
functional test job is gating.

Change-Id: I2e0490c1662a184d4c6d8c7e9ebb128e1912f1b0
2014-08-22 15:02:26 +12:00
Steve Baker
315971d972 Install heat-cfntools and heat-templates repos
These projects contain agents which can be installed on custom
images. Installing these repos will allow a future change to
build a custom image containing these projects. This will allow
gating on any changes in these projects by running heat-slow
on the custom image.
The corresponding devstack-gate change is
https://review.openstack.org/#/c/92055/
Change-Id: I7b1343c094f755f79ddeb1bac3ff4c0daa3fb70c
2014-08-20 09:06:34 +12:00
Rick Harris
2696e5a067 Guard for worlddump in case LOGDIR is undefined
If LOGDIR is undefined, we'll end up calling worldump with the `-d` option but
pass in an empty string as the option value. This causes an argument parsing
error inside worlddump.

The proposed fix is to detect if LOGDIR is undefined, and if so, omit the `-d`
argument.

Change-Id: I77968849ebd3e3bebd2e5929b87b60fc1b6541bf
Closes-Bug: 1333321
2014-08-18 13:55:23 -05:00
Dean Troyer
04a351133a Source fixup_stuff...
...so it can pick up config variables from local.conf

Change-Id: I0991f59881f16c72789e3b0342c26a2419ba0878
2014-08-15 14:03:55 -05:00
Jenkins
735f4d340f Merge "Hide output when configuring apt retry" 2014-08-15 07:16:18 +00:00
Jenkins
5e4a42db0e Merge "Work around pip installed pkgs on Rackspace image" 2014-08-15 05:07:17 +00:00
Jenkins
c85e428f95 Merge "Add swift tempurl support to devstack" 2014-08-15 04:51:28 +00:00
Dean Troyer
0e8dcedf71 Re-order stack.sh 2: target dir setup
Part 2 of a series

Re-order the setup and check bits in the top portion of stack.sh to
have a logical flow with similar things done together.

No behaviour changes are intended aside from the order of execution.
Any such changes are bugs.

* Consolidate DEST dir setup
* Move rpc & database init to just before project init

Change-Id: I2af1d4ed32ec34417c04592bf94fe645bb97f831
2014-08-14 15:34:25 -05:00
Dean Troyer
d3bf9bdbda Re-order stack.sh 1: sanity checks
Part 1 of a series

Re-order the setup and check bits in the top portion of stack.sh to
have a logical flow with similar things done together.

No behaviour changes are intended aside from the order of execution.
Any such changes are bugs.

* Do sanity checks that have no configuration needs earlier
* Do supported distro check earlier

Change-Id: I7d15bac199d6c4382d4a4d222784d34f2707da56
2014-08-14 15:34:25 -05:00
Jenkins
6db41b9716 Merge "Exact match rhel6" 2014-08-14 04:40:54 +00:00
Sean Dague
5bae6ca0be scope warnings to only display if the services are enabled
On my devstack environments I'm now always getting the Q_AGENT
warnings even though I don't have neutron enabled. This is mostly
confusing.

For these juno warnings lets just make sure that the whole thing
only prints out in the case where we've actually got that service
enabled.

Change-Id: I7d1bb2e65594c8bee2f572ca58a1b666e5d6caed
2014-08-07 19:28:41 -04:00
Jim Rollenhagen
abbb0e9a0d Add swift tempurl support to devstack
This commit adds the ability to automatically set a tempurl key
in swift for service accounts.

Change-Id: I0d5d16c5601d022f034df2cc291106c5dc13511e
2014-08-07 17:45:28 +00:00
Sean Dague
ab5b5dedf8 remove saucy support
ubuntu 13.10 is no longer supported by ubuntu. We should remove it.

Change-Id: Ie0f92c3ba5df4848a0ff101ef52139c3a16a9dec
2014-08-05 17:37:36 -04:00
Chmouel Boudjnah
9246d96e5c Hide output when configuring apt retry
Change-Id: I063995d52b66e4023e360ba423684753e50a291c
2014-08-05 12:44:07 +00:00
Ian Wienand
bdc90c5f02 Work around pip installed pkgs on Rackspace image
The upstream rackspace image has a bunch of pip installed packages as
cloud-init was installed via pip due to a lack of available system
packages.  This can break further system package installs, such as
markdown, which fails with

---
 Error unpacking rpm package python-markdown-2.4.1-1.el7.noarch
  error: unpacking of archive failed on file
   /usr/lib/python2.7/site-packages/Markdown-2.4.1-py2.7.egg-info: cpio: rename
---

Because that is a directory for the pip-installed package, and a file
in the RPM

Remove all pip installed packages on rackspace images before we start
to work around this.  I have filed an upstream issue with Rackspace
(ticket-id 140804-ord-0000134) and the issue is being worked on.

Change-Id: Id12d175143ed3b8e024d057d65fa67505c08042a
2014-08-05 14:45:02 +10:00
Ian Wienand
a36167e381 Exact match rhel6
With rhel6 & rhel7 having a common prefix, use an exact match to make
sure we don't mix them up.  This is breaking Centos7.

Change-Id: Ia4665ea78f0bafeaa2b2284a6d3de4474ea195e9
2014-08-05 11:32:25 +10:00
Jenkins
bfc6631be8 Merge "Fix log_error calls" 2014-08-02 01:21:47 +00:00
Jenkins
54650ce137 Merge "Support of an alternate pypi server" 2014-07-31 06:09:10 +00:00
Jenkins
c6a5126f4a Merge "Remove configuration parameter Q_DHCP_EXTRA_DEFAULT_OPTS" 2014-07-28 00:08:48 +00:00
Jenkins
b76a4e62a4 Merge "Remove configuration parameter EXTRA_OPTS" 2014-07-27 21:45:41 +00:00
Christian Berendt
f6f42c6a64 Remove configuration parameter Q_DHCP_EXTRA_DEFAULT_OPTS
According to the comments in stack.sh the configuration parameter
Q_DHCP_EXTRA_DEFAULT_OPTS should be removed during the Juno cycle.

Change-Id: I3b38ff57f00e93e6d9692f516291f7129584bc74
2014-07-26 21:54:18 +02:00
Christian Berendt
4a67885629 Remove configuration parameter EXTRA_OPTS
According to the comments in stack.sh the configuration parameter
EXTRA_OPTS should be removed during the Juno cycle.

Change-Id: Ic71d38d6f9b8a8949e45ce3321d593ee2f8feb40
2014-07-26 21:52:26 +02:00
Jenkins
e8ebb4901f Merge "Move SERVICE_PROTOCOL from stack.sh to stackrc" 2014-07-26 19:51:22 +00:00
Jenkins
fdcb410034 Merge "Remove configuration parameter Q_SRV_EXTRA_DEFAULT_OPTS" 2014-07-26 19:44:51 +00:00
Jenkins
00ca11d63d Merge "Remove configuration parameter EXTRA_BAREMETAL_OPTS" 2014-07-26 19:44:48 +00:00
Jenkins
3348ca40f5 Merge "debian: do not enbable grizzly repository from gplhost" 2014-07-25 16:14:04 +00:00
Dean Troyer
14fd979a81 Fix log_error calls
There is no log_error function, these should have been calls to
die() all along...

Change-Id: I6d853711bcf645de5ceb306f980ef654d5fabac5
2014-07-25 10:34:15 -05:00
Gonéri Le Bouder
5420992a2c debian: do not enbable grizzly repository from gplhost
There is not reason to enable this additional repository anymore.
All the important packages are either in wheezy or wheezy-backports.

Change-Id: I47af16ba6b507fc929b0d2948c757f4060ba93a5
2014-07-25 14:49:57 +02:00
Gael Chamoulaud
d3121f649d Fixes some typos in stack.sh
Change-Id: Ia627d1793c6db76590844d51854dce35a87206b7
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2014-07-24 23:53:02 +02:00
Christian Berendt
a5b70a1082 Remove configuration parameter Q_SRV_EXTRA_DEFAULT_OPTS
According to the comments in stack.sh the configuration parameter
Q_SRV_EXTRA_DEFAULT_OPTS should be removed during the Juno cycle.

Change-Id: I2a00c924cd51dab00b56cdab1e48e32ffa007de4
2014-07-24 12:50:48 +02:00
Christian Berendt
9e8ac9942d Remove configuration parameter EXTRA_BAREMETAL_OPTS
According to the comments in stack.sh the configuration parameter
EXTRA_BAREMETAL_OPTS should be removed during the Juno cycle.

Change-Id: I8564d16e56d1f77d3afa4af9a50fbffa3da8bfe5
2014-07-24 12:37:13 +02:00
Rob Crittenden
26867a63c1 Move SERVICE_PROTOCOL from stack.sh to stackrc
This ensures that SERVICE_PROTOCOL is available to other consumers
of the devstack environment like grenade.

Change-Id: I702d7d239e50dd1446d55c076c7a7c57768486ff
Closes-Bug: 1335953
2014-07-23 22:12:03 -04:00
Jenkins
cd8da9307e Merge "Fix install_ceilometer and install_ceilometerclient" 2014-07-23 13:03:19 +00:00
Joe Gordon
13344bd975 Fix install_ceilometer and install_ceilometerclient
Other projects do a setup_develop in install_*. This standard is used by
grenade to do installations. Currently grenade uses install ceilometer
as part of the upgrade script, but this doesn't actually install the new
ceilometer.

Change-Id: I4e44bec6574e6a4fcfc252418bc267191aef28fb
Closes-Bug: #1347178
2014-07-22 14:26:05 -07:00
Ian Wienand
f565bf2d3a Add argparse for RHEL6
python2.6 doesn't have argparse, required by outfilter.py.  This
package is a dependency on cloud-init, so this problem is often masked
in many testing environments.

Change-Id: Ia564f1b8a7b540faa7bbdbd1a1a290c591901682
2014-07-17 14:50:29 +10:00
Dean Troyer
097183356e Support multiple Cinder backend types
This is the first step in supporting multiple Cinder backend types at
once.  It initially converts the existing hard-coded multi-lvm support
to a new cinder_backends driver form.  Eventually the cinder_plugins
will be converted to this form so they can be enabled more than just
one at a time using CINDER_ENABLED_BACKENDS.

The default configuration should be identical to the previous defaults,
including for both True and False values of CINDER_MULTI_LVM_BACKEND.

The existing cinder_plugins are expected to be removed when this is
complete. They should continue to work until they have been converted.

Add wait for c-api to ensure it is started before continuing.

Change-Id: I93b8ef32832269d730c76a6dc24ddb4f20c6d9df
2014-07-15 16:03:42 +02:00
Dean Troyer
5c3a63e633 Add pre-install phase for extras.d plugins
An additional call hook for the extras.d plugins that is called before
any service installation occurs turns out to be needed by Ceph and
useful for other plugins.

This is called between the installation of the system packages listed
as prerequisites and the installation of the actual services.

Change-Id: Id723bdc7542182d2b2eff40c0dc0127307f094c5
2014-07-09 11:35:16 -05:00
Jenkins
cfcd8cf2f8 Merge "Adds support for multi-region" 2014-07-04 16:53:01 +00:00
Jenkins
8a88f2728c Merge "Add keystone middleware to devstack" 2014-07-01 19:46:16 +00:00
Bartosz Górski
0abde393c5 Adds support for multi-region
Change-Id: Ib85fe7cb375692b04aca4c46f61ba7e1fbfa501b
Implements: blueprint multi-region
2014-07-01 14:58:35 +00:00
Morgan Fainberg
58936fdbcd Add keystone middleware to devstack
Add the keystonemiddleware repository to devstack to support testing
with tempest and stable branches.

Change-Id: Ib635465e6568d9cd51d6e432ec8b8633a27d19ce
2014-06-30 09:29:45 -07:00
Jenkins
bfa5817c50 Merge "Add rhel7 as supported distro" 2014-06-27 14:23:59 +00:00
Ian Wienand
3171cb98a9 Add rhel7 as supported distro
rhel7 testing has been fairly stable with redhatci bot testing beta
and RC builds for some time.  Centos7 testing is now coming online
with the nightly builds.  Thus no need to require the unsupported flag
any more.

Change-Id: Iceab5c1d8b713f1f96b5751cf988fe060cfeff58
2014-06-27 13:26:27 +10:00
Jenkins
c6dc3deb25 Merge "Bump EPEL release rpm for RHEL 7 to 7.0-2" 2014-06-24 18:00:41 +00:00