1321 Commits

Author SHA1 Message Date
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
Angus Lees
7df9d1be17 Ensure sbin is in PATH.
Some distros (Debian) don't have sbin in PATH for non-root users.

Nova (and possibly other services) assumes that it can invoke "sysctl"
without sudo.

Change-Id: Iced21fc1378af309fb49688f9b63f2cd8383e304
Closes-Bug: #1300800
2014-07-21 15:54:21 +10: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
Franck Yelles
683ff42d3c Support of an alternate pypi server
Currently pip will get the package from the https://pypi.python.org server.
For CI, it's a problem as Internet connection can be down,
the pypi server down, etc...

The usecase is for a company/user that maintain a local pypi mirror
and give the option to use this server instead of the official one

Change-Id: I83aac4646cb78827a92c9636d78238f8a6118642
Implements: blueprint support-local-pypi-server
2014-06-23 15:19:46 -07:00
Sean Dague
e83f7785a7 retry apt operations to avoid network issues
One of the major gate failures is do to something being wrong with
the apt mirrors. The Acquire group provides an implicit retry on
network operations which seems like it might be helpful here.

Ref: http://linux.die.net/man/5/apt.conf

Change-Id: I099f47ed86ad6a3d4296bff4cce75e7f7d946d27
Related-Bug: #1286635
2014-06-23 09:06:22 -04:00
Brad P. Crochet
e66da49c29 Bump EPEL release rpm for RHEL 7 to 7.0-2
Change-Id: I67aca97770cd6f89072e881ae37e39d70bfaba53
2014-06-23 08:17:54 -04:00
Jenkins
4adc16f7e4 Merge "add worlddump tool to devstack" 2014-06-22 17:40:15 +00:00
Jenkins
51018faa06 Merge "Add support for django_openstack_auth" 2014-06-22 17:19:18 +00:00
Sean Dague
97fcc7b27b add worlddump tool to devstack
when we exit poorly, start building a tool for doing a capture
as to why. This tool is expected to be consumed directly from
grenade as well.

Change-Id: Ia1bc1c2e259587035ca7252baceec25fa464cb82
2014-06-22 11:37:51 -04:00
Elena Ezhova
2d451967be Use oslo-messaging-zmq-receiver to start zeromq receiver
The project-specific receiver command nova-rpc-zmq-receiver
has been replaced with oslo-messaging-zmq-receiver.

We need to update devstack code accordingly.

Change-Id: I7696c649fa818ecb523b698ea4a23f70da60147d
Closes-Bug: 1279739
2014-06-19 16:25:23 +04:00
Zhenguo Niu
e385d1e030 Add support for django_openstack_auth
It would be useful for development, reviewing and testing to add
support for django_openstack_auth to devstack.

This change adds the integration tests to the openstack_auth
list of test: https://review.openstack.org/#/c/86528/

Change-Id: Ifbd336b83f6b2beb23996b599ec820232c13efdd
Closes-Bug: #1262121
2014-06-18 14:04:34 +08:00
Jenkins
5bdabd070b Merge "Add $TOP_DIR to the path when calling tools' scripts" 2014-06-17 19:51:28 +00:00
Jenkins
7c5a02c48c Merge "Add optional repo enablement for RHEL 7" 2014-06-17 16:47:22 +00:00
Jenkins
da2fe19e24 Merge "Use identity_uri instead of auth fragments" 2014-06-17 16:06:48 +00:00
Mauro S. M. Rodrigues
dae1152518 Add $TOP_DIR to the path when calling tools' scripts
The missing reference to $TOP_DIR prevent us to run stack.sh from a different
directory.

Change-Id: Ie15b89734264789bef9a8efcfdbbf2cdb89c936e
2014-06-17 02:07:11 +00:00