Skip to content

Deleted/restarted pod for autoscaling RayJob stuck in scheduling gated status #9986

@hiboyang

Description

@hiboyang

What happened:

During a RayJob with autoscaling enabled running time, if kill a worker pod, a new pod will be started but stuck in scheduling gate status. The new pod does not change to running state.

What you expected to happen:

After the new pod starts, Kueue should ungate it and switch it to running state.

How to reproduce it (as minimally and precisely as possible):

  1. Start a RayJob with autoscaling
  2. Trigger autoscaling (e.g. scaling-up)
  3. Delete a worker pod using kubectl delete
  4. Watch the new worker pod created with scheduling gated
  5. Keep watching the new worker pod, will see it stuck in scheduling gated, not change to running

Anything else we need to know?:

RayService seems have similar issue

Environment:

  • Kubernetes version (use kubectl version): any
  • Kueue version (use git describe --tags --dirty --always): 0.15, probably also in 0.16 and latest
  • Cloud provider or hardware configuration: any
  • OS (e.g: cat /etc/os-release): any
  • Kernel (e.g. uname -a): any
  • Install tools: KubeRay
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions