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
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
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
when swift was enabled we were installing memcached via
stack.sh, after marking it optional in files. Just use
files instead.
Change-Id: Ib8ee2d1f47254e805f4747b8aff6e89baa66913c
Changed the ceilometer's git repository from stackforge/ceilometer.git
to openstack/ceilometer.git.
Change-Id: I8cf1854641fc7df318f42a56ba061c93614728aa
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
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
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>
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>
* 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
This patch checks if n-net is enabled rather than any nova service
before creating networks through nova. Fixes bug 1073313
Change-Id: I8810737ddbb26a5e281060f5395cfad5d186b6d3
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
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
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
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>
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
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
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
* 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