From c24dcf8a38bb59685540b861ca6bdeea3b510f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Fri, 23 Aug 2019 19:38:18 +0200 Subject: [PATCH] Fix Zun Docker remote API host MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes WS (so e.g. console) always work with the way we deploy Zun. Otherwise it used the first IP address. Change-Id: Ib31c5944be2f6fa00cdf5da3e638a590e6bace40 Closes-bug: #1841243 Signed-off-by: Radosław Piliszek --- ansible/roles/zun/templates/zun.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/zun/templates/zun.conf.j2 b/ansible/roles/zun/templates/zun.conf.j2 index a951cbc5e8..8d179a994c 100644 --- a/ansible/roles/zun/templates/zun.conf.j2 +++ b/ansible/roles/zun/templates/zun.conf.j2 @@ -106,3 +106,5 @@ base_url = ws://{{ kolla_external_fqdn }}:{{ zun_wsproxy_port }} [docker] docker_remote_api_version = 1.24 api_url = tcp://{{ api_interface_address }}:2375 +docker_remote_api_host = {{ api_interface_address }} +docker_remote_api_port = 2375