Skip to content

tmp directory path issue between Windows client and Linux Ray cluster head #45010

@Kuurusch

Description

@Kuurusch

What happened + What you expected to happen

When starting Ray on client in python with:
ray.init(address=REMOTE_ADDRESS, ignore_reinit_error=True)
I'm getting the following error:

2024-04-25 14:29:30,423	INFO worker.py:1567 -- Connecting to existing Ray cluster at address: <numbercruncher-IP>:6379...
2024-04-25 14:29:31,463	INFO node.py:1010 -- Can't find a `node_ip_address.json` file from /tmp/ray\session_2024-04-25_14-29-35_864002_909423. Have you started Ray instsance using `ray start` or `ray.init`?

It looks for me, that there is an issue in the tmp-path, which is half linuxish half windowish.

Versions / Dependencies

Client and Cluster Head have Ray 2.10.0

Reproduction script

I've started the cluster-head with:

ray start --head --port=6379

And executed on the client a python script with the following lines:

import ray

ray.init(address=REMOTE_ADDRESS, ignore_reinit_error=True)

Issue Severity

High: It blocks me from completing my task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issue moderate in impact or severitybugSomething that is supposed to be working; but isn'tcoreIssues that should be addressed in Ray Corecore-clientray client related issueswindows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions