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:
parent
4981bd7532
commit
961328fc46
@ -105,7 +105,8 @@ function configure_marconi {
|
|||||||
iniset $MARCONI_CONF keystone_authtoken signing_dir $MARCONI_AUTH_CACHE_DIR
|
iniset $MARCONI_CONF keystone_authtoken signing_dir $MARCONI_AUTH_CACHE_DIR
|
||||||
|
|
||||||
if [[ "$MARCONI_BACKEND" = 'mongodb' ]]; then
|
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
|
configure_mongodb
|
||||||
cleanup_marconi
|
cleanup_marconi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user