Skip to content

entrypoint issue with 1.23.0-659 #1

@dtrifiro

Description

@dtrifiro

I'm running the habana operator.

Immediately after deploying using helm (following https://docs.habana.ai/en/latest/Installation_Guide/Additional_Installation/Kubernetes_Installation/Kubernetes_Operator.html#intel-gaudi-operator-for-kubernetes)

the habana-ai-feature-discovery-ds pods go in a crashLoopBackoff with this error:

exec: "--nfd": executable file not found in $PATH: unknown

The reason is simple: ENTRYPOINT was not added here:

So the spec created by the operator is invalid https://github.com/HabanaAI/gaudi-base-operator/blob/ee4ba038b5ab7d8d3231f88a54f1017728392ef4/internal/controller/feature_discovery.go#L256-L274

I can confirm that after building with

FROM intel/gaudi-feature-discovery:1.23.0-695

ENTRYPOINT ["/hfd"]
CMD ["--nfd"]

the pod spins up succesfully (currently published at quay.io/dtrifiro/gaudi-feature-discovery:1.23.0-695)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions