Skip to content

stopping a pending job #58353

@azin536

Description

@azin536

What happened + What you expected to happen

why the pending job which doesn't have job id, but it has submission id, can not get stopped in the code.
for example with the code and submission id:
client.stop_job("raysubmit_g4dnhYV5CdFQ7uYr")
this returns True, but nothing happens and the job doesn't get stopped.

Versions / Dependencies

ray version 2.44.1

Reproduction script

from ray.job_submission import JobSubmissionClient
client = JobSubmissionClient(address="ray url")
client.stop_job("raysubmit_g4dnhYV5CdFQ7uYr")

True

Issue Severity

High: It blocks me from completing my task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that is supposed to be working; but isn'tcommunity-backlogcoreIssues that should be addressed in Ray CorestabilitytriageNeeds triage (eg: priority, bug/not-bug, and owning component)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions