From 5e8431e0cc6d1e9f24f482b08e8429db77d21c11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= <radoslaw.piliszek@gmail.com>
Date: Fri, 10 Jan 2020 21:06:15 +0100
Subject: [PATCH] Fix Zun Docker runtime selection

Per [1] Docker uses API version 1.26 since daemon version 1.13.1.
Kolla Ansible forced a limit on the Docker API version reported
to Zun of 1.24 which was surprising users and preventing
usage of Docker runtime selection via Zun.
The default of Zun is 1.26 [2] which enables runtime selection.
Zun does not use this parameter for anything else atm.

[1] https://docs.docker.com/engine/api/v1.26/#section/Versioning
[2] https://review.opendev.org/490794

Change-Id: Ide6eb4c2b079cf35e633ad6a04db1587e40e7633
Closes-bug: #1859176
---
 ansible/roles/zun/templates/zun.conf.j2 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ansible/roles/zun/templates/zun.conf.j2 b/ansible/roles/zun/templates/zun.conf.j2
index 3e41e9b717..7b5ad91e36 100644
--- a/ansible/roles/zun/templates/zun.conf.j2
+++ b/ansible/roles/zun/templates/zun.conf.j2
@@ -111,7 +111,6 @@ wsproxy_port = {{ zun_wsproxy_port }}
 base_url = ws://{{ kolla_external_fqdn | put_address_in_context('url') }}:{{ zun_wsproxy_port }}
 
 [docker]
-docker_remote_api_version = 1.24
 api_url = tcp://{{ api_interface_address | put_address_in_context('url') }}:2375
 docker_remote_api_host = {{ api_interface_address }}
 docker_remote_api_port = 2375