Use 127.0.0.1 for ephemeral Heat server instead of ctlplane ip

127.0.0.1 should be used for the ephemeral Heat api endpoint IP instead
of the ctlplane IP. There is no need for the api to be listening
externally, and it's more secure if it isn't.

Change-Id: Id9992ee242d381c02cb530838fef21e60d10dfa6
Signed-off-by: James Slagle <jslagle@redhat.com>
This commit is contained in:
James Slagle 2021-11-12 15:17:19 -05:00
parent 0b90f0dce8
commit f1fd9d0982
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ class HeatPodLauncher(HeatContainerLauncher):
super(HeatPodLauncher, self).__init__(*args, **kwargs)
if not os.path.isdir(self.log_dir):
os.makedirs(self.log_dir)
self.host = self._get_ctlplane_ip()
self.host = "127.0.0.1"
self._chcon()
def _chcon(self):