Set the storage address for cinder

Cinder should use the storage network for storage traffic if available.

Change-Id: I24c3274000b3bed08ea251ce45726e1750f4f85f
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Byron McCollum 2016-02-22 14:05:22 -06:00 committed by Kevin Carter
parent 1323c588cf
commit 5eb2af8e61
No known key found for this signature in database
GPG Key ID: 69FEFFC5E2D9273F
5 changed files with 6 additions and 3 deletions

View File

@ -115,6 +115,7 @@ storage_hosts:
volume_group: cinder-volumes
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
volume_backend_name: LVM_iSCSI
iscsi_ip_address: "172.29.236.100"
log_hosts:
aio1:

View File

@ -575,6 +575,7 @@
# volume_backend_name: LVM_iSCSI
# volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
# volume_group: cinder-volumes
# iscsi_ip_address: "{{ storage_address }}"
# limit_container_types: cinder_volume
#
# Example:

View File

@ -157,7 +157,7 @@
cinder_venv_tag: "{{ openstack_release }}"
cinder_venv_download_url: "{{ openstack_repo_url }}/venvs/{{ openstack_release }}/{{ ansible_distribution | lower }}/cinder-{{ openstack_release }}.tgz"
cinder_galera_address: "{{ internal_lb_vip_address }}"
cinder_storage_address: "{{ container_address }}"
cinder_management_address: "{{ ansible_ssh_host }}"
cinder_glance_host: "{{ internal_lb_vip_address }}"
cinder_glance_service_port: "{{ glance_service_port }}"
tags:

View File

@ -40,6 +40,7 @@ cinder_storage_availability_zone: nova
cinder_default_availability_zone: "{{ cinder_storage_availability_zone }}"
cinder_storage_address: 127.0.0.1
cinder_management_address: 127.0.0.1
cinder_nova_catalog_info: compute:nova:internalURL
cinder_nova_catalog_admin_info: compute:nova:adminURL

View File

@ -7,7 +7,7 @@
verbose = {{ verbose }}
debug = {{ debug }}
fatal_deprecations = {{ cinder_fatal_deprecations }}
my_ip = {{ cinder_storage_address }}
my_ip = {{ cinder_management_address }}
osapi_volume_workers = {{ cinder_osapi_volume_workers | default(api_threads) }}
@ -79,7 +79,7 @@ default_availability_zone = {{ cinder_default_availability_zone }}
iscsi_helper = {{ cinder_iscsi_helper }}
iscsi_iotype = {{ cinder_iscsi_iotype }}
iscsi_ip_address = $my_ip
iscsi_ip_address = {{ cinder_storage_address }}
iscsi_num_targets = {{ cinder_iscsi_num_targets }}
iscsi_port = {{ cinder_iscsi_port }}