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
This commit is contained in:
Jay Pipes 2012-11-09 12:22:16 -05:00
parent 8263c22cd9
commit efcda85b7d

View File

@ -58,6 +58,9 @@ TEMPEST_DIR=$DEST/tempest
CONFIG_DIR=$TEMPEST_DIR/etc
TEMPEST_CONF=$CONFIG_DIR/tempest.conf
DATABASE_TYPE=${DATABASE_TYPE:-mysql}
initialize_database_backends
# Use the GUEST_IP unless an explicit IP is set by ``HOST_IP``
HOST_IP=${HOST_IP:-$GUEST_IP}
# Use the first IP if HOST_IP still is not set