Adds the my_ip value to the cinder.conf

This adds the my_ip value which is defaulting to the container address
which causes the iscsi mount problems. This is an issue in Juno +.

Change-Id: Ie1e3d4dbecad97e43a43bcd4ca404a3c30740bd0
Closes-Bug: 1398924
This commit is contained in:
Kevin Carter
2014-12-03 12:47:15 -06:00
parent 3df4548c95
commit a311a5e38b

View File

@@ -1,6 +1,8 @@
[DEFAULT]
verbose = {{ verbose }}
debug = {{ debug }}
my_ip = {{ storage_address | default(container_address) }}
rpc_backend = {{ rpc_backend }}
rabbit_hosts = {{ rabbit_hosts }}
@@ -37,7 +39,7 @@ default_volume_type = {{ cinder_default_volume_type }}
iscsi_helper = {{ cinder_iscsi_helper | default('tgtadm') }}
iscsi_iotype = {{ cinder_iscsi_iotype | default('fileio') }}
iscsi_ip_address = {{ storage_address | default(container_address) }}
iscsi_ip_address = $my_ip
iscsi_num_targets = {{ cinder_iscsi_num_targets | default('100') }}
iscsi_port = {{ cinder_iscsi_port | default('3260') }}