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
| ... | ... |
@@ -58,6 +58,9 @@ TEMPEST_DIR=$DEST/tempest |
| 58 | 58 |
CONFIG_DIR=$TEMPEST_DIR/etc |
| 59 | 59 |
TEMPEST_CONF=$CONFIG_DIR/tempest.conf |
| 60 | 60 |
|
| 61 |
+DATABASE_TYPE=${DATABASE_TYPE:-mysql}
|
|
| 62 |
+initialize_database_backends |
|
| 63 |
+ |
|
| 61 | 64 |
# Use the GUEST_IP unless an explicit IP is set by ``HOST_IP`` |
| 62 | 65 |
HOST_IP=${HOST_IP:-$GUEST_IP}
|
| 63 | 66 |
# Use the first IP if HOST_IP still is not set |