diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-07-08 11:29:04 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-07-08 11:29:05 +0000 |
| commit | 354d4b264c63b1ee2432b8f2fdc3d4a41c2c925f (patch) | |
| tree | 01258a66b41d74cd2188a8bbab7f9913b09abd06 /ansible | |
| parent | 02eec8a20cdbc8b2a922fe20bc698b5f49f8305d (diff) | |
| parent | 138c6426bdcdab6f6b623d51268a225340654e74 (diff) | |
| download | kolla-354d4b264c63b1ee2432b8f2fdc3d4a41c2c925f.tar.gz kolla-354d4b264c63b1ee2432b8f2fdc3d4a41c2c925f.zip | |
Merge "Add enable_iscsi option to etc/kolla/globals.yml"
Diffstat (limited to 'ansible')
| -rw-r--r-- | ansible/roles/cinder/templates/cinder.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2 index d1ff2b33b..77449814c 100644 --- a/ansible/roles/cinder/templates/cinder.conf.j2 +++ b/ansible/roles/cinder/templates/cinder.conf.j2 @@ -76,7 +76,7 @@ rabbit_hosts = {% for host in groups['rabbitmq'] %}{{ hostvars[host]['ansible_' volume_group = {{ cinder_volume_group }} volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver volume_backend_name = {{ cinder_volume_backend_name }} -iscsi_ip_address = {{ cinder_iscsi_ip_address }} +iscsi_ip_address = {{ hostvars[groups['tgtd'][0]]['ansible_' + hostvars[groups['tgtd'][0]]['storage_interface']]['ipv4']['address'] }} iscsi_helper = {{ cinder_iscsi_helper }} iscsi_protocol = {{ cinder_iscsi_protocol }} {% elif cinder_volume_driver == "ceph" %} |
