Skip to content

[Bug] RayJob not failed when metadata is invalid #3980

@machichima

Description

@machichima

Search before asking

  • I searched the issues and found no similar issues.

KubeRay Component

ray-operator

What happened + What you expected to happen

When trying to create rayjob with name that's too long, we get the validation error. However, the RayJob just keep retrying and does not fail, which cause RayJob to stuck without any status update

Image

Reproduction script

Running https://raw.githubusercontent.com/ray-project/kuberay/v1.4.2/ray-operator/config/samples/ray-job.sample.yaml by changing the name to: rayjob-sample-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa. You will see there's no status update for RayJob, and it keeps retrying

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions