Fix marconi's storage setting for MongoDB

The storage driver should be set to mongodb and the driver's uri to the
mongodb:// uri.

Change-Id: I6193a5d78f6cd7283b4e3b1831978883b9e99b06
This commit is contained in:
Flavio Percoco 2014-03-05 18:45:56 +01:00
parent 4981bd7532
commit 961328fc46

View File

@ -105,7 +105,8 @@ function configure_marconi {
iniset $MARCONI_CONF keystone_authtoken signing_dir $MARCONI_AUTH_CACHE_DIR
if [[ "$MARCONI_BACKEND" = 'mongodb' ]]; then
iniset $MARCONI_CONF database connection mongodb://localhost:27017/marconi
iniset $MARCONI_CONF drivers storage mongodb
iniset $MARCONI_CONF 'drivers:storage:mongodb' uri mongodb://localhost:27017/marconi
configure_mongodb
cleanup_marconi
fi