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
This commit is contained in:
parent
e45a6af7e8
commit
08df29bff4
@ -226,6 +226,7 @@ function configure_cinder() {
|
||||
iniset $CINDER_CONF DEFAULT volume_group $VOLUME_GROUP
|
||||
iniset $CINDER_CONF DEFAULT volume_name_template ${VOLUME_NAME_PREFIX}%s
|
||||
fi
|
||||
iniset $CINDER_CONF DEFAULT my_ip "$CINDER_SERVICE_HOST"
|
||||
iniset $CINDER_CONF DEFAULT iscsi_helper tgtadm
|
||||
iniset $CINDER_CONF DEFAULT sql_connection `database_connection_url cinder`
|
||||
iniset $CINDER_CONF DEFAULT api_paste_config $CINDER_API_PASTE_INI
|
||||
|
Loading…
x
Reference in New Issue
Block a user