From 28e9f6e50cf1baeb4a816ff75c9d919426f5b7a0 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 17 Aug 2023 16:47:25 +0200 Subject: [PATCH] toolbox: use script handling signals Since we use "sleep infinity" in kolla_toolbox container - stopping it always ends up with exit code 143. Let's use a wrapper script that handles signals correctly. Closes-Bug: #2031692 Depends-On: https://review.opendev.org/c/openstack/kolla/+/891777 Change-Id: I84295b909d788ceb67bf09ef60fb0583108b111b --- ansible/roles/common/templates/kolla-toolbox.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/common/templates/kolla-toolbox.json.j2 b/ansible/roles/common/templates/kolla-toolbox.json.j2 index d08ea7e72f..edf965fe1c 100644 --- a/ansible/roles/common/templates/kolla-toolbox.json.j2 +++ b/ansible/roles/common/templates/kolla-toolbox.json.j2 @@ -1,5 +1,5 @@ { - "command": "sleep infinity", + "command": "kolla_toolbox", "config_files": [ {% if enable_rabbitmq | bool %}{ "source": "{{ container_config_directory }}/rabbitmq-erlang.cookie",