Merge "Don't doube kill heat_all"

This commit is contained in:
Zuul 2017-10-19 06:06:19 +00:00 committed by Gerrit Code Review
commit d8e2ad2694
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ class DeployUndercloud(command.Command):
raise exceptions.DeploymentError("Stack create failed.")
finally:
if heat_launch:
if heat_launch and heat_pid != 0:
print('Log files at: %s' % heat_launch.install_tmp)
heat_launch.kill_heat(heat_pid)
if keystone_pid: