From b37bed6c1153ec4b5ebf5e9b5fd4bc3fe442a7f3 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Wed, 15 Apr 2020 15:26:24 -0400 Subject: [PATCH] deploy-steps-tasks-step-1: update startup-configs with latest hashes Make sure that right after creating/updating container startup configs, they are updated with the right config hash if a previous deployment was done. It'll ensure that containers don't restart for no reason. Change-Id: If72e8359e1afe2b6c28660d9755a6a1b4a62cb50 --- common/deploy-steps-tasks-step-1.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/deploy-steps-tasks-step-1.yaml b/common/deploy-steps-tasks-step-1.yaml index 4a9da41b76..f167f2f488 100644 --- a/common/deploy-steps-tasks-step-1.yaml +++ b/common/deploy-steps-tasks-step-1.yaml @@ -248,6 +248,12 @@ tags: - container_startup_configs +- name: Ensure config hashes are up-to-date for container startup configs + container_puppet_config: + update_config_hash_only: true + tags: + - container_startup_configs + - name: Create /var/lib/kolla/config_files directory file: path: /var/lib/kolla/config_files