Browse code

Add my_ip option in cinder.conf

Then cinder installed in multinode environment with more than one interface,
it's better to use CINDER_SERVICE_HOST option for cinder ip address.

Change-Id: I775b70407379d9c97696f536f5f89cecb33657be

Nikolay Sobolevskiy authored on 2013/08/31 02:59:15
Showing 1 changed files
... ...
@@ -226,6 +226,7 @@ function configure_cinder() {
226 226
         iniset $CINDER_CONF DEFAULT volume_group $VOLUME_GROUP
227 227
         iniset $CINDER_CONF DEFAULT volume_name_template ${VOLUME_NAME_PREFIX}%s
228 228
     fi
229
+    iniset $CINDER_CONF DEFAULT my_ip "$CINDER_SERVICE_HOST"
229 230
     iniset $CINDER_CONF DEFAULT iscsi_helper tgtadm
230 231
     iniset $CINDER_CONF DEFAULT sql_connection `database_connection_url cinder`
231 232
     iniset $CINDER_CONF DEFAULT api_paste_config $CINDER_API_PASTE_INI