Skip to content

[Bug] Ray command not found when installed using uv. #3247

@a-pichard

Description

@a-pichard

Search before asking

  • I searched the issues and found no similar issues.

KubeRay Component

ray-operator

What happened + What you expected to happen

Using a custom docker image with ray installed using uv (eg uv sync). ray binary will be located in a uv specific path. But when the worker starts with bash -lc --, -l will alter the PATH, removing the uv bin path.

KubeRay worker(s) failing with

bin/bash: line 1: ray: command not found

Related issue: #409

Reproduction script

No special script, just the custom docker img with ray installed using uv.

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

Labels

1.4.0P0Critical issue that should be fixed ASAPbugSomething isn't workingrelease-blocker

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions