From c18d05cfa68c5b592b7c12904c3ed3cf66ce379d Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Mon, 25 Sep 2017 17:13:59 +0800 Subject: [PATCH] Config my_ip to api_interface_address in cinder.conf my_ip is used by iscsi_ip_address in cinder.conf. Configure it to api_interface_address. Change-Id: Ib9f9140668f807b26bdaec849fc0cef0a63a8ca0 Closes-Bug: #1719274 --- ansible/roles/cinder/templates/cinder.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2 index cfda535720..061f886bcb 100644 --- a/ansible/roles/cinder/templates/cinder.conf.j2 +++ b/ansible/roles/cinder/templates/cinder.conf.j2 @@ -8,6 +8,8 @@ use_forwarded_for = true # and collected by Docker use_stderr = False +my_ip = {{ api_interface_address }} + osapi_volume_workers = {{ openstack_service_workers }} volume_name_template = volume-%s