Merge "Handle KeyboardInterrupt for ephemeral Heat cleanup"

This commit is contained in:
Zuul 2022-03-21 21:33:51 +00:00 committed by Gerrit Code Review
commit 1cc380a268
1 changed files with 1 additions and 1 deletions

View File

@ -1196,7 +1196,7 @@ class DeployOvercloud(command.Command):
extra_vars=extra_vars extra_vars=extra_vars
) )
except Exception: except (KeyboardInterrupt, Exception):
if parsed_args.heat_type != 'installed' and self.heat_launcher: if parsed_args.heat_type != 'installed' and self.heat_launcher:
self.log.info("Stopping ephemeral heat.") self.log.info("Stopping ephemeral heat.")
utils.kill_heat(self.heat_launcher) utils.kill_heat(self.heat_launcher)