Browse code

Remove my_ip from cinder.conf

The current issue is that if we deploy c-vol service on a separate
machine, my_ip and SERVICE_HOST will be different, because my_ip is
the machine where c-vol service is running and SERVICE_HOST points
to the machine where the cinder api service is running. If my_ip of
c-vol in cinder.conf is set to the IP of c-api, it will cause the
issue that the volume is unable to attach. The issue can be resolved
by removing my_ip from cinder.conf.

Change-Id: I699c0b5297c60e9f9934f74684abf563f4b0e977
closes-bug: #1428013

Vincent Hou authored on 2015/03/04 16:34:41
Showing 1 changed files
... ...
@@ -228,7 +228,6 @@ function configure_cinder {
228 228
     iniset $CINDER_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
229 229
     iniset $CINDER_CONF DEFAULT verbose True
230 230
 
231
-    iniset $CINDER_CONF DEFAULT my_ip "$CINDER_SERVICE_HOST"
232 231
     iniset $CINDER_CONF DEFAULT iscsi_helper tgtadm
233 232
     iniset $CINDER_CONF DEFAULT sql_connection `database_connection_url cinder`
234 233
     iniset $CINDER_CONF DEFAULT api_paste_config $CINDER_API_PASTE_INI