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:
parent
0b90f0dce8
commit
f1fd9d0982
|
@ -460,7 +460,7 @@ class HeatPodLauncher(HeatContainerLauncher):
|
||||||
super(HeatPodLauncher, self).__init__(*args, **kwargs)
|
super(HeatPodLauncher, self).__init__(*args, **kwargs)
|
||||||
if not os.path.isdir(self.log_dir):
|
if not os.path.isdir(self.log_dir):
|
||||||
os.makedirs(self.log_dir)
|
os.makedirs(self.log_dir)
|
||||||
self.host = self._get_ctlplane_ip()
|
self.host = "127.0.0.1"
|
||||||
self._chcon()
|
self._chcon()
|
||||||
|
|
||||||
def _chcon(self):
|
def _chcon(self):
|
||||||
|
|
Loading…
Reference in New Issue