Browse code

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

Flavio Percoco authored on 2014/03/06 02:45:56
Showing 1 changed files
... ...
@@ -105,7 +105,8 @@ function configure_marconi {
105 105
     iniset $MARCONI_CONF keystone_authtoken signing_dir $MARCONI_AUTH_CACHE_DIR
106 106
 
107 107
     if [[ "$MARCONI_BACKEND" = 'mongodb' ]]; then
108
-        iniset $MARCONI_CONF database connection mongodb://localhost:27017/marconi
108
+        iniset $MARCONI_CONF drivers storage mongodb
109
+        iniset $MARCONI_CONF 'drivers:storage:mongodb' uri mongodb://localhost:27017/marconi
109 110
         configure_mongodb
110 111
         cleanup_marconi
111 112
     fi