From 4c1972200f97efe6d912b290b60e21a3b22cb73b Mon Sep 17 00:00:00 2001 From: Martin Chlumsky Date: Thu, 29 Mar 2018 16:45:31 -0400 Subject: [PATCH] Add common_options to keystone container check keystone_* containers are created via the kolla_docker ansible module with common_options set to docker_common_options. However, when the containers are checked, common_options are not passed to the kolla_docker ansible module. This can cause the keystone_* containers to be restarted during a reconfigure when there are no changes to keystone configuration. Add the common_options argument to the kolla_docker ansible module when checking the keystone containers and set it to docker_common_options. Change-Id: I44aefcf3d71faecaf1ffe384fd5a2f611e584a37 Closes-Bug: #1759922 (cherry picked from commit 735012c4bb4aaf83aa2eaadefde7b8b0a4674397) --- ansible/roles/keystone/tasks/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/keystone/tasks/config.yml b/ansible/roles/keystone/tasks/config.yml index 285df59f72..0f59b5c184 100644 --- a/ansible/roles/keystone/tasks/config.yml +++ b/ansible/roles/keystone/tasks/config.yml @@ -190,6 +190,7 @@ - name: Check keystone containers kolla_docker: action: "compare_container" + common_options: "{{ docker_common_options }}" name: "{{ item.value.container_name }}" image: "{{ item.value.image }}" volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"