1803 Commits

Author SHA1 Message Date
Dean Troyer
c1b486a520 Simplify database selection
Do not require every script that sources stackrc to also
source lib/databases.

* Move use_databases() to functions
* Set DATABASE_TYPE in stackrc
* Allow setting DATABASE_TYPE in localrc to work
  (use_database() essentially just sets DATABASE_TYPE at this stage
  so continuing to use it is equivalent)
* Validate DATABASE_TYPE in stack.sh.
* Change sudo to postgresql user to go through root to eliminate
  password prompt
* fix use_database error condition

Change-Id: Ibb080c76e6cd7c6eebbb641a894d54b1dde78ca6
2012-11-15 11:48:18 -05:00
Jenkins
8205e0dcfb Merge "install memcached for swift via files" 2012-11-15 13:06:21 +00:00
Jenkins
7a51891cb4 Merge "Remove support for nova-volume" 2012-11-14 21:58:47 +00:00
Joe Gordon
6fd2811726 Remove support for nova-volume
* nova-volume has been removed in Grizzly
* part of delete-nova-volume

Change-Id: Iba91d69950767823d77aaaa93243b0f476dbb04d
2012-11-14 13:21:58 -08:00
Jenkins
69f8729233 Merge "Provide credentials via ceilometer config file" 2012-11-14 21:11:58 +00:00
Jenkins
b459d0e3ba Merge "Make exercise.sh with quantum work" 2012-11-14 16:30:55 +00:00
Eoghan Glynn
14246ac16b Provide credentials via ceilometer config file
Fixes bug 1076831

Previously we passed these credentials to the ceilometer central
agent via the OS_* environment variables.

Since these credentials are now needed by the compute agent also,
and have already leaked into the config file to enable the keystone
auth token middleware, we now switch over to using the config file
only and drop the environment variable usage.

Change-Id: I0298d711905a99aa5355fe034bb0e51e53b3be21
2012-11-14 16:27:52 +00:00
Mate Lakat
da33982947 Remove hardwired ansolabs urls
Fixes bug 1078618.

The files are no longer available on ansolabs' servers. The files were
put on github, and this change modifies the location used in devstack.

Change-Id: I1f512ad3b52d6b04d0e28ce6a532e11bfede1462
2012-11-14 12:47:17 +00:00
Sean Dague
c6d54c10df install memcached for swift via files
when swift was enabled we were installing memcached via
stack.sh, after marking it optional in files. Just use
files instead.

Change-Id: Ib8ee2d1f47254e805f4747b8aff6e89baa66913c
2012-11-13 15:08:26 -05:00
Nachi Ueno
5db5bfa28f Make exercise.sh with quantum work
- added support for quantum-debug command
- added ping and ssh method for quantum

Change-Id: Iebf8a0e9e2ed2bb56bee6533e69827e6caa2bc82
2012-11-13 10:40:59 -08:00
Jenkins
43a94c476d Merge "Change the ceilometer's git repository." 2012-11-13 17:39:57 +00:00
Jenkins
fd802345d1 Merge "Enable Xen/DevStackDomU to have larger disk" 2012-11-13 17:39:49 +00:00
Lianhao Lu
af5cd77e18 Change the ceilometer's git repository.
Changed the ceilometer's git repository from stackforge/ceilometer.git
to openstack/ceilometer.git.

Change-Id: I8cf1854641fc7df318f42a56ba061c93614728aa
2012-11-12 16:36:42 +08:00
Jenkins
f5c221525d Merge "Install and configure python-heatclient." 2012-11-10 12:53:31 +00:00
Jenkins
e89fd6ae45 Merge "Set the rabbit_durable_queues to match local consumers" 2012-11-09 19:23:17 +00:00
Jenkins
0fd684f9f7 Merge "Ensure BASE_SQL_CONN is set properly in tools/configure_tempest.sh" 2012-11-09 19:00:53 +00:00
Jenkins
046a230b9f Merge "Clean up operation with no Nova services enabled" 2012-11-09 18:30:26 +00:00
Jay Pipes
efcda85b7d Ensure BASE_SQL_CONN is set properly in tools/configure_tempest.sh
Recent changes to enable more than just MySQL to be used
in devstack moved some setup stuff to lib/database. While
this file was source'd in tools/configure_tempes.sh, the
BASE_SQL_CONN variable was not being set because
lib/database/initialize_database_backends was not called.

Change-Id: I53c3302097a94c842860fcb781e21383150bde7f
fixes: LP bug#1077056
2012-11-09 13:23:38 -05:00
Jay Pipes
71cf53a9f6 Set the rabbit_durable_queues to match local consumers
Due to a problematic bug in Glance (https://bugs.launchpad.net/glance/+bug/1074132),
I was unable to get stack.sh to complete successfully. The workaround on the
Glance bug was to set the rabbit_durable_queues value to match the setting
of the local Rabbit consumers and exchanges.

This patch merely looks for any consumer or exchange that
is durable and ensures that the default durable_rabbit_queues
config option of False is set to True in that case.

Change-Id: Ia5a165a5a06d11d1fe6492ca32139972d49d3a1e
2012-11-09 10:42:40 -05:00
Brian Waldon
8263c22cd9 Add genisoimage as dependency
Fixes bug 1076854

Change-Id: I51cd293898f40edaf241a2fb7aff27e73f3a8e07
2012-11-08 19:39:03 -08:00
Dean Troyer
86a796941e Clean up operation with no Nova services enabled
Change-Id: Ib9054bacc34e923c05f0bc699afd514eaa3cad01
2012-11-08 13:13:01 -06:00
Jenkins
c7ac694090 Merge "Fixed path for calling build_uec_ramdisk.sh from build_usb_boot.sh" 2012-11-08 17:59:48 +00:00
Stef T
f993b2353f Enable Xen/DevStackDomU to have larger disk
* Size of xvda can be specified via xenrc

  * Fixes bug 1076430

Change-Id: Ia4ffef98b01fa9572e43c46275a132b2b1e5f689
2012-11-08 10:49:32 -05:00
Jenkins
8ac888d7dc Merge "Few changes to get_uec_image.sh:" 2012-11-08 13:25:45 +00:00
Tomoe Sugihara
ba05621c6f Add iputils-arping package for quantum l3 agent.
This is for Ubuntu only since arping command is
packeged in iputils on Fedora, which is already
in files/rpms/quantum.

Change-Id: I8318929fb35a12e0fb7a6a148d8ef0554cf3bc30
Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
2012-11-08 14:15:05 +09:00
Jenkins
3189611d2e Merge "Added options to improve offline usage." 2012-11-08 03:35:57 +00:00
Jenkins
59dd95e165 Merge "Documentation and formatting cleanup" 2012-11-08 03:34:09 +00:00
Jenkins
800ab364f9 Merge "Configure Cinder for syslog if enabled" 2012-11-08 03:33:52 +00:00
Jenkins
0992da3959 Merge "Add multiple database support to configure_tempest" 2012-11-08 03:33:45 +00:00
Dean Troyer
6931c137b9 Fix spacing issue in ssh_check()
Change-Id: Ia5bd7b678b86f2e3e3b1fa04e628096feb1ace81
2012-11-07 16:51:21 -06:00
Matthew Treinish
5233064713 Add multiple database support to configure_tempest
After support for multiple databases were added to devstack,
configure tempest would not work with update_database() in
localrc.

This sources lib/database before localrc is loaded so that
update_database is defined. Also, COMPUTE_DB_URI is now
replaced by BASE_SQL_CONN from lib/database.

Change-Id: Ifd791e5732898a661cc1237839bd18cef2f36f60
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
2012-11-07 17:02:03 -05:00
Dean Troyer
b9182d65cc Documentation and formatting cleanup
* No functional changes to see here

Change-Id: I68b7abb3a30effc9e76c6e7deb1e3c6ef140f6bb
2012-11-07 14:48:57 -06:00
Maru Newby
3a87eddc7f Added options to improve offline usage.
* NOVA_ZIPBALL_URL can be set for a XS/XCP install to point to a
   non-standard zipball location.
 * PIP_USE_MIRRORS (default True) can be set to False to stop pip
   from attempting to use mirrors (useful for when using an offline
   eggproxy).

Change-Id: I01a9944fe4c13c8cc8323a703f598bc498491b73
2012-11-07 19:49:12 +00:00
Dean Troyer
4d3049e7cd Configure Cinder for syslog if enabled
Change-Id: I3d2770cd2c3e3b93c0f26de359e5b0cb166826c1
2012-11-07 11:47:57 -06:00
Aaron Rosen
8ec719b4d4 nova-manage network commands only when n-net enabled
This patch checks if n-net is enabled rather than any nova service
before creating networks through nova.  Fixes bug 1073313

Change-Id: I8810737ddbb26a5e281060f5395cfad5d186b6d3
2012-11-06 12:37:29 -08:00
Jenkins
35dee27042 Merge "Add CINDER_SECURE_DELETE flag." 2012-11-06 14:33:42 +00:00
Jenkins
5fb0d0a7b6 Merge "Finish configuring ceilometer authentication" 2012-11-06 11:59:26 +00:00
James E. Blair
213c416878 Add CINDER_SECURE_DELETE flag.
Defaults to true which means no change in behavoir.  Adds option
to disable secure delete as in https://review.openstack.org/15477.

Change-Id: I2b19ed4223460b550026ad4975080c0079c8b433
2012-11-06 09:38:36 +01:00
Dmitriy Budnik
3edca54923 Fixed path for calling build_uec_ramdisk.sh from build_usb_boot.sh
Bug desc: build_usb_boot.sh is unable to find build_uec_ramdisk.sh while being called from tools directory. Variable with correct path wasn't been used at all.

Change-Id: I5ddff3d587a495e6768163f6b282e5b5f7a40849
2012-11-06 10:11:06 +02:00
John Griffith
161e2807a9 Update devstack exercises to call cinderclient
Exercises use nova volume-* commands still.  This works fine,
however moving forward now that cinder is the default volume service
we should use the cinderclient explicitly for the applicable calls.

Attach/Detach are still novaclient commands, however the others
(create, delete, list, etc) should be cinderclient.

Change-Id: I336de1b69a32eee6c91655b0a5bf8541b243f2f0
2012-11-05 15:13:36 -07:00
Doug Hellmann
4a2b1c6611 Finish configuring ceilometer authentication
Copy the policy.json file for ceilometer into place
and configure the API service to find it.

Create a service user for ceilometer when the service
is enabled.

Use the service user for the admin_user and admin_password
in the ceilometer config file so the middleware can
verify tokens.

Change-Id: I39be13da0c86704d35e0ce3dc3d27fd38d787058
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2012-11-05 06:54:36 -05:00
Steve Baker
32761a4961 Install and configure python-heatclient.
This uses the new REST API. It installs a client executable called 'heat'.
The old heat client in the heat repo has been renamed to heat-cfn.

Change-Id: I7bc8662c531e3639cc940a44df96ff426ac3aada
2012-11-05 13:09:49 +13:00
dmitriybudnik
0c49539288 Few changes to get_uec_image.sh:
Fixed typo in usage message

Fixed usage message to represent actual code

Set default minimum image size to 2000MB from 2000*BS

fixed bug not creating directory for downoladed files

Change-Id: Id736ac7984f88e61b685569b6ba5e9158bea5889

added percise and quantal

Change-Id: Id9cb74dded044ec998700c1b456a8077f76c96e8
2012-11-04 21:43:58 +02:00
Jenkins
308beccc24 Merge "Add PostgreSQL support to devstack" 2012-11-04 12:34:31 +00:00
Jenkins
00bd761474 Merge "Configure PKI cache dirs" 2012-11-04 12:31:07 +00: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
Jenkins
5825761793 Merge "Ensure that tempest configuration happens last." 2012-11-03 21:16:12 +00:00
Jenkins
2a8e503c41 Merge "Fix errors when commands return error text rather than data" 2012-11-03 21:15:11 +00:00
Dean Troyer
e88c0a2036 Fix errors when commands return error text rather than data
I'm looking at you euca2ools

Change-Id: I82bfb8a3ee58fdc54ead6a285c9415593e741892
2012-11-02 17:05:35 -05:00
Maru Newby
ec0865127e Ensure that tempest configuration happens last.
* Tempest configuration relies on having other services such as
   Glance and Nova running and accepting requests.  Previously,
   configuration was happening before these services were started.
   This change ensures that Tempest configuration is performed
   after the necessary services have been started.

Change-Id: If0b6753dd51671fbc2a2cf6ad32ce9303d0a0479
2012-11-02 00:10:28 +00:00