Skip to content

[GCS][Dashboard] GCS pubsub is incompatible to the dashboard in many times. #8942

@rkooo567

Description

@rkooo567

What is the problem?

As described here, Error channel's channel name is just called b'9', and the log channel's pattern is not properly parsed ("pattern": None).

{'type': 'message', 'pattern': None, 'channel': b'9', 'data': b'\x12\x02\x01\x00\x1a\xb5\x02\n\x02\x01\x00\x12\x04task\x1a\x9f\x02\x1b[36mray::A.ping()\x1b[39m (pid=2350, ip=192.168.1.82)\n  File "python/ray/_raylet.pyx", line 446, in ray._raylet.execute_task\n  File "python/ray/_raylet.pyx", line 400, in ray._raylet.execute_task.function_executor\n  File "test.py", line 9, in ping\n    raise Exception("hoh")\nException: hoh!\xdd\xf0\xe1\xaf\xc3\xb9\xd7A'}
b'9'
None
b'\x12\x02\x01\x00\x1a\xb5\x02\n\x02\x01\x00\x12\x04task\x1a\x9f\x02\x1b[36mray::A.ping()\x1b[39m (pid=2350, ip=192.168.1.82)\n  File "python/ray/_raylet.pyx", line 446, in ray._raylet.execute_task\n  File "python/ray/_raylet.pyx", line 400, in ray._raylet.execute_task.function_executor\n  File "test.py", line 9, in ping\n    raise Exception("hoh")\nException: hoh!\xdd\xf0\xe1\xaf\xc3\xb9\xd7A'

{'type': 'message', 'pattern': None, 'channel': b'RAY_LOG_CHANNEL', 'data': b'{"ip": "192.168.1.82", "pid": 2350, "lines": ["haha", "This must be logged..?"]}'}
b'RAY_LOG_CHANNEL'
None
b'{"ip": "192.168.1.82", "pid": 2350, "lines": ["haha", "This must be logged..?"]}'

Reproduction (REQUIRED)

Please provide a script that can be run to reproduce the issue. The script should have no external library dependencies (i.e., use fake or mock data / environments):

It is always broken.

  • I have verified my script runs in a clean environment and reproduces the issue.
  • I have verified the issue also occurs with the latest wheels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Issues that should be fixed in short orderbugSomething that is supposed to be working; but isn'tdashboardIssues specific to the Ray Dashboardrelease-blockerP0 Issue that blocks the release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions