From efcda85b7ddfe045c5e7f340977031416d64491f Mon Sep 17 00:00:00 2001 From: Jay Pipes Date: Fri, 9 Nov 2012 12:22:16 -0500 Subject: [PATCH] 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 --- tools/configure_tempest.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/configure_tempest.sh b/tools/configure_tempest.sh index 070bc0bd9a..b48680c921 100755 --- a/tools/configure_tempest.sh +++ b/tools/configure_tempest.sh @@ -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