Drop incorrect reference to heat_launch

I99ce8abde838f16cabefe641b107e55b508c2cf9 updated the failure message to
not actually be a template, however the undercloud was attempting to use
self.heat_launch when formatting the failure message. The heat_launch
code only exists in the TripleoDeploy so this leads to a misleading
error message during failures.

Change-Id: Ica15fe506c06a8557d27675e450646dc96c5e6c4
Closes-Bug: #1783389
This commit is contained in:
Alex Schultz 2018-08-01 09:11:38 -06:00
parent 1c9f386a2f
commit 2376fdf6fe
1 changed files with 2 additions and 6 deletions

View File

@ -155,9 +155,7 @@ class InstallUndercloud(command.Command):
'~/stackrc'
))
except Exception as e:
self.log.error(UNDERCLOUD_FAILURE_MESSAGE.format(
self.heat_launch.install_tmp
))
self.log.error(UNDERCLOUD_FAILURE_MESSAGE)
self.log.error(e)
raise exceptions.DeploymentError(e)
@ -208,8 +206,6 @@ class UpgradeUndercloud(InstallUndercloud):
'~/stackrc'
))
except Exception as e:
self.log.error(UNDERCLOUD_FAILURE_MESSAGE.format(
self.heat_launch.install_tmp
))
self.log.error(UNDERCLOUD_FAILURE_MESSAGE)
self.log.error(e)
raise exceptions.DeploymentError(e)