Set my_ip in cinder.conf
Cinder uses my_ip config option to provide iscsi_targets. It gets defaulted to the IP of the first interface in the system, which is fine for some cases, but for example with Vagrant first interface can be used only to contact with host machine. To get over it we should set my_ip to HOST_IP from local.conf and this commit implements that. Change-Id: I4d2960d92f388ac689dfa6b436dc8bfc1e129fbf Closes-Bug: 1588825
This commit is contained in:
parent
65dfb9ef65
commit
9ee1426847
@ -270,6 +270,7 @@ function configure_cinder {
|
||||
iniset $CINDER_CONF DEFAULT state_path $CINDER_STATE_PATH
|
||||
iniset $CINDER_CONF oslo_concurrency lock_path $CINDER_STATE_PATH
|
||||
iniset $CINDER_CONF DEFAULT periodic_interval $CINDER_PERIODIC_INTERVAL
|
||||
iniset $CINDER_CONF DEFAULT my_ip "$HOST_IP"
|
||||
|
||||
iniset $CINDER_CONF DEFAULT os_region_name "$REGION_NAME"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user