22 Commits

Author SHA1 Message Date
Chmouel Boudjnah
0c3a5584c6 Enable swift by default.
- Set by default SWIFT_REPLICAS to 1 since this is the most common use
  case when using it in devstack.
- If we have swift_replicas to 1 launch the object container account and
  proxy servers in foreground in screen.
- Allow any s- services if we have just 'swift' in service enabled
  instead of having to specify all s- services to enable swift. This will be
  removed in the future.
- Set object server starting at 6013 instead of 6010 to not conflict
  with remote ssh x11 forwarding.

Change-Id: I890b6953b70283bfa0927fff0cf5e92f3c08455b
2013-03-06 13:16:37 +01:00
Sean Dague
f3fd44c4be Revert "Enable swift by default."
This reverts commit 5a5cbf7274a6a50bb766ec590cf885430ed5c5d0.

This breaks on a default openstack install on Ubuntu 12.10,
revert for now until this can be cleaned up to work out of the
box.

Change-Id: I185509cc30bd28e920cdab60fc92129949bd6b0d
2013-03-04 17:52:03 -05:00
Chmouel Boudjnah
5a5cbf7274 Enable swift by default.
- Set by default SWIFT_REPLICAS to 1 since this is the most common use
  case when using it in devstack.
- If we have swift_replicas to 1 launch the object container account and
  proxy servers in foreground in screen.
- Allow any s- services if we have just 'swift' in service enabled
  instead of having to specify all s- services to enable swift. This will be
  removed in the future.

Change-Id: I496f79e14f99bd7e9f2c7deee12a4b6e935c3a5b
2013-02-22 18:50:08 +01:00
Dean Troyer
afc29fe5f2 Deprecate DATABASE_TYPE and use_database
Select a database by adding it to ENABLED_SERVICE like the other
services.  This greatly simplifies using the lib/* functions in
places other than stack.sh

Backward-compatibility is maintained or now (into havana at least).

Change-Id: I967e44603b4d69d5d70e1a75a9938172ca434025
2013-02-21 17:32:04 -06:00
Terry Wilson
428af5a257 Add PostgreSQL support to devstack
This patch adds an interface for supporting multiple database backend
types and implemnts support for PostgreSQL. It also adds a function,
use_exclusive_service, which serves as a base for enabling a service
that conflicts with other services. The use_database function uses it,
and it might also be useful for selecting messaging backends.

MySQL is still selected by default. Tested on Fedora 17 and Ubuntu
12.04 with MySQL and PostgreSQL. Implements blueprint postgresql-support

Change-Id: I4b1373e25676fd9a9809fe70cb4a6450a2479174
2012-11-03 18:19:21 -04:00
ewindisch
3bae7c2c61 Add ZeroMQ RPC backend
Now prevents more than one RPC backend selection.
(ZeroMQ, Qpid, and Rabbit are mutually exclusive)

Configure quantum and cinder to use ZeroMQ

Adds qpid to cinder config.

Change-Id: I229c4c632213a303d097d4a029e986598073665a
2012-08-31 10:59:43 -04:00
Jenkins
070d492da9 Merge "add functions to manipulate ENABLED_SERVICES" 2012-07-14 00:17:16 +00:00
Chmouel Boudjnah
6ae9ea595b Disable swift3 by default.
- Disable swift3 by default but add a new service `swift3` to enable it.
- Fixes bug 1021150.

Change-Id: I6b635008659e1a77fdfce364dfceaca593273c54
2012-07-12 04:49:43 +00:00
Doug Hellmann
f04178fd12 add functions to manipulate ENABLED_SERVICES
Editing ENABLED_SERVICES directly can get tricky when
the user wants to disable something. This patch includes
two new functions for adding or removing services
safely, and a third (for completeness) to clear the
settings entirely before adding a minimal set of
services.

It also moves the logic for dealing with "negated"
services into a function so it can be tested and
applied by the new functions for manipulating
ENABLED_SERVICES.

Change-Id: I88f205f3666b86e6f0b6a94e0ec32a26c4bc6873
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2012-07-06 15:52:06 -04:00
Dean Troyer
5218d451dc E) Add support for Fedora 16
Highlights:
* Add files/rpms/*
* get_packages() only loads deps for services that are enabled

11Apr2012
* change mod_wsgi cwd to $HORIZON_DIR
* fix horizon apache log file name and location

Note: This superceeds https://review.openstack.org/4364

Change-Id: I95486584561e4418907a6a4feb0ffbe4f4ea1843
2012-04-11 14:55:47 -05:00
Dean Troyer
e9819d5950 README updates:
* Remove out of date branch example
* Make formatting of variables and filenames consistient

Change-Id: I24983b1bcf1531307ccb0af66f5ba0aeb39f4ae5
2012-03-21 15:04:26 -05:00
Chmouel Boudjnah
504f871cdb Update Swift doc.
Update README.md with the latest changes.

Change-Id: I63e8094cce31e0490b72a131f8a3bcf928c5881a
2012-03-15 20:43:55 +00:00
Jenkins
da6d4c8a7c Merge "Improve devstack docs for Xenserver" 2012-03-12 21:52:16 +00:00
Dean Troyer
0bd2410d46 Move all EC2 cred creation to eucarc
* Remove credential creation from files/keystone_data.sh
* Remove EC2 cert setup from openrc
* Remove sourcing of ec2rc from stackrc
* Collect the above in eucarc
* Allow rc files to be sourced from other directories; based on Chmouel's
  4881 proposal but is simpler and doesn't actually change the directory
* Create S3 endpoint
* Get EC2 and S3 endpoints from Keystone service catalog
* Add EC2 credential checks to exercises/client-env.sh
* exercises/bundle.sh and exercises/euca.sh use eucarc

Updates:
* remove readlink -f to stay bash 3 compatible
* use service catalog
* create S3 endpoint

Fixes bug 949528

Change-Id: I58caea8cecbbd10661779bc2d150d241f4a5822e
2012-03-09 21:41:00 -06:00
Renuka Apte
c56885ad31 Improve devstack docs for Xenserver
Minor fixes to scripts

Fixes bug 943508

Change-Id: Iaf12b9d67efa78623e8253599010f60192b4af64
2012-03-08 13:58:28 -08:00
Jenkins
ef3ba23cd8 Merge "README updates" 2012-03-01 20:42:51 +00:00
Chmouel Boudjnah
782f24ee39 Add small note about Swift.
Change-Id: Id1c014e6fcdf8e52a5e01e7bacf01a567d25e70a
2012-02-29 13:44:38 +00:00
Dean Troyer
ce043c4dbf README updates
Change-Id: I0732a26a50b736e89d35b03a9ff79fa068804677
2012-02-23 22:21:49 -06:00
Anthony Young
073d17d072 Update README.md to let users know how to access stable/[milestone] versions of devstack. Other text cleanup as well.
Change-Id: Ic40106e40f65289cd276cb680509e0ff62745aa0
2011-11-23 12:52:31 -08:00
Jesse Andrews
38df1228de revive working with subset of services
Change-Id: I645c5df457a2ac2c997ac32720d53cacc0fa109b
2011-11-20 09:55:44 -08:00
Tres Henry
ca85b7996a changing dash to horizon 2011-10-28 15:34:44 -07:00
Jesse Andrews
906d586bb0 move readme to markdown 2011-10-13 10:37:45 -07:00