Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reported dashboard ip when using 0.0.0.0 #15506

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

fyrestone
Copy link
Contributor

Why are these changes needed?

Related issue number

N/A

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@fyrestone fyrestone added bug Something that is supposed to be working; but isn't dashboard Issues specific to the Ray Dashboard labels Apr 26, 2021
Copy link
Member

@kfstorm kfstorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

assert webui_ip in [
"127.0.0.1", ray_start_with_dashboard["node_ip_address"]
]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also verify that the ip:port stored in redis is correct.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The webui_url returned from ray.init() is fetched from redis. Please refer to: https://github.com/ray-project/ray/blob/master/python/ray/_private/services.py#L1221

Copy link
Member

@kfstorm kfstorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please make the PR title more specific?

@fyrestone fyrestone changed the title Fix dashboard address Fix reported dashboard ip when using 0.0.0.0 Apr 27, 2021
@kfstorm
Copy link
Member

kfstorm commented Apr 27, 2021

test_reference_counting in Windows CI failed.

It should be unrelated. Merging.

@kfstorm kfstorm merged commit 43de7f4 into ray-project:master Apr 27, 2021
@kfstorm kfstorm deleted the fix_dashboard_address branch April 27, 2021 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't dashboard Issues specific to the Ray Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants