1163 Commits

Author SHA1 Message Date
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
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
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
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
Brad P. Crochet
c359921cce Add optional repo enablement for RHEL 7
The RHEL 7 and RHEL 6 optional repos have different names. This enables
the correct repo depending on the release.

Change-Id: I6772c9903a5b9e98cb870d586629564126a6119a
2014-06-16 10:30:02 -04:00
Sean Dague
62cb563ddc convert devstack from awk to outfilter
The complexity of the awk script was pretty high, and it would
be good to do it in summaries as well, which starts to get a bit
squirelly. Instead bring over the outfilter.py from grenade and
use it for the timestamping.

Any additional overhead from python should be offset from not
shelling out to date on every line of output.

Change-Id: Ic2b86ddba3e7f6520a0fd35599b01143936c6deb
2014-06-16 07:03:23 -04:00
Jamie Lennox
3561d7f9ed Use identity_uri instead of auth fragments
auth_token middleware now accepts a standard URL string as the parameter
identity_uri instead of specifying protocol etc individually. Change the
services over to use this.

Also changes over some other places in which the auth fragments are used
individually to the new variables and fixes up some misconfigurations of
auth_token.

identity_uri option was release in keystoneclient 0.8.0

Change-Id: Iac13bc3d08c524a6a0f39cdfbc1009e2f5c45c2a
2014-06-16 15:16:48 +10:00
Chris Dent
a0ced4df00 chown stack/data/nova/networks to $STACK_USER
$USER may be undefined (resulting in an error exit from stack.sh)
or may be the current $USER rather than the target $STACK_USER
(which may or may not be the same) which could lead to errors
later.

This change brings about consistency: the rest of stack.sh always
uses $STACK_USER.

This same problem may be present in lib/marconi.

Change-Id: Idff2bee88de4e1da11cd5765a03646caf3ede24f
2014-05-27 22:18:21 +01:00
Ian Wienand
26a28b4af5 Use urandom rather than openssl for password gen
I tried using devstack on a cloud image that didn't have openssl, so
it generated blank passwords and gave an error about openssl missing.
Using urandom should not require more than minimal shell tools.

Change-Id: Ib3091183eb1d85fc8cf7c76e47da24a04ae4791f
2014-05-14 14:10:47 +10:00
Jun Wu
8710b6501b Better "exec 3>&1" comment
"Copy stdout to fd 3" is confusing. Explain the intention behind `exec 3>&1`.

Change-Id: Id19434121876e65a14c709beac26b9daf4a36a0a
2014-05-04 10:26:28 +08:00
Jenkins
0154badc2b Merge "Kill spinner process when stack.sh exits" 2014-05-02 19:20:29 +00:00
JordanP
ea9c24b15f Re-enable Swift3 middleware support in DevStack
Because *swift* in no more allowed in ENABLED_SERVICES (see
I78222d7ee2ea8a281962129d5bcf06c118469510) swift3 middleware to
swift could not be installed anymore. This patch thighten a check
to allow swift3 (but not swift) in ENABLED_SERVICES.

Change-Id: I194f66ae7e5163e0e6178561b09f55024fdaa607
2014-04-28 08:42:20 +00:00