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

[Bug] Sometimes the worker node logs in the ray dashboard are empty #21785

Open
1 of 2 tasks
chhabrakadabra opened this issue Jan 21, 2022 · 4 comments
Open
1 of 2 tasks
Labels
bug Something that is supposed to be working; but isn't dashboard Issues specific to the Ray Dashboard P2 Important issue, but not time-critical

Comments

@chhabrakadabra
Copy link

Search before asking

  • I searched the issues and found no similar issues.

Ray Component

Dashboard

What happened + What you expected to happen

The "logs" overview for worker nodes is often empty. See this screenshot for what that looks like:
21-02-hcx2q-98hp3

Note that when I open the chrome inspector, I don't see any logs. When I look at the network tab and click on the logs link, I see a GET request to /dashboard/node_logs?ip=10.15.87.61&pid=, with this response: {"result": true, "msg": "Fetched logs.", "data": {"logs": {}}}.

The actual response from the backend is empty. But the link to the logs in the screenshot shows that something else thinks that there are 44 lines of logs.

Versions / Dependencies

  • ray[default,tune]==1.9.1
  • python==3.7.9
  • ubuntu 18.04

Reproduction script

I imagine that spinning up a ray cluster with a dashboard on this version and doing anything that generates log will reproduce the issue.

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@chhabrakadabra chhabrakadabra added bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component) labels Jan 21, 2022
@rkooo567 rkooo567 added the dashboard Issues specific to the Ray Dashboard label Jan 21, 2022
@rkooo567
Copy link
Contributor

@edoakes I will mark dashboard issues with dashboard label

@skabbit
Copy link

skabbit commented Apr 20, 2022

Got the same issue on

ray==1.12.0
python==3.9.8

@richardliaw richardliaw removed the triage Needs triage (eg: priority, bug/not-bug, and owning component) label Jun 20, 2022
@moured
Copy link

moured commented Sep 23, 2022

Got the same issue. Python 3.9, the latest ray version (today). This Log image should show 20 requests but nothing is there :(

image

@scottsun94
Copy link
Contributor

@chhabrakadabra @skabbit @moured Thanks for reporting the issue!
In 2.0, we have changed the previous experimental dashboard to the default dashboard. If you click on the logs button in the node table, it will send you to the logs page.

Does it solve your issues?

Screen Shot 2022-10-05 at 11 51 50 AM

Screen Shot 2022-10-05 at 11 51 55 AM

@richardliaw richardliaw added the P2 Important issue, but not time-critical label Oct 7, 2022
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 P2 Important issue, but not time-critical
Projects
None yet
Development

No branches or pull requests

6 participants