From 9c158c6a87922e1ddc886ab33d8b4b6aac376ad2 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Wed, 20 Mar 2019 13:04:06 -0700 Subject: [PATCH] Start dashboard on all nodes and other small fixes. (#4428) * Start reporter on all nodes. * More fixes --- python/ray/dashboard/dashboard.py | 2 +- python/ray/node.py | 2 +- python/ray/scripts/scripts.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/ray/dashboard/dashboard.py b/python/ray/dashboard/dashboard.py index 97e13de02..403a6c414 100644 --- a/python/ray/dashboard/dashboard.py +++ b/python/ray/dashboard/dashboard.py @@ -181,7 +181,7 @@ class Dashboard(object): def run(self): self.log_dashboard_url() self.node_stats.start() - aiohttp.web.run_app(self.app, host=self.ip, port=self.port) + aiohttp.web.run_app(self.app, host="0.0.0.0", port=self.port) class NodeStats(threading.Thread): diff --git a/python/ray/node.py b/python/ray/node.py index c3d0e0866..875d15799 100644 --- a/python/ray/node.py +++ b/python/ray/node.py @@ -432,7 +432,7 @@ class Node(object): self.start_plasma_store() self.start_raylet() - if PY3 and self._ray_params.include_webui: + if PY3: self.start_reporter() if self._ray_params.include_log_monitor: diff --git a/python/ray/scripts/scripts.py b/python/ray/scripts/scripts.py index c9de2c0cb..f4503c6c2 100644 --- a/python/ray/scripts/scripts.py +++ b/python/ray/scripts/scripts.py @@ -151,7 +151,7 @@ def cli(logging_level, logging_format): "--include-webui", is_flag=True, default=False, - help="provide this argument if the UI should not be started") + help="provide this argument if the UI should be started") @click.option( "--block", is_flag=True,