From b7ced4ec02d91ae0b2732e28afb8bb176cadd1a5 Mon Sep 17 00:00:00 2001 From: Ian Main Date: Fri, 6 Oct 2017 18:01:23 -0400 Subject: [PATCH] Make heat container remove silent. This was being called multiple times and causing an error msg. This just ensures cleanup so we don't need to know if it failed. Change-Id: I6ae122b60274b77758b6c633904b55e2e0d74bed --- tripleoclient/heat_launcher.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tripleoclient/heat_launcher.py b/tripleoclient/heat_launcher.py index 99aebb1c0..09c03d2c8 100644 --- a/tripleoclient/heat_launcher.py +++ b/tripleoclient/heat_launcher.py @@ -170,7 +170,8 @@ class HeatDockerLauncher(HeatBaseLauncher): def kill_heat(self, pid): cmd = ['docker', 'rm', '-f', 'heat_all'] log.debug(' '.join(cmd)) - subprocess.check_call(cmd) + # We don't want to hear from this command.. + subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) class HeatNativeLauncher(HeatBaseLauncher):