Version: Next
Scheduler Event Log
Current Statusâ
Ambiguous Event Descriptions Make Problem Diagnosis Difficultâ
When a user submits a job scheduled by hami-scheduler, the Pod remains in Pending state. The Pod events only show generic messages like "no available node, all node scores do not meet", without providing sufficient details to help users identify root causes.
If the Pod schedules successfully but ends up on unexpected nodes, users need visibility into:
- Number of failed/successful node candidates
- Detailed scoring metrics for candidate nodes
Example: a pending Pod with insufficient information in its events:
apiVersion: v1
kind: Pod
metadata:
name: gpu-pod
spec:
containers:
- name: worker01
image: ubuntu:22.04
command: ["bash", "-c", "sleep 86400"]
resources:
limits:
nvidia.com/gpu: "1"
nvidia.com/gpumem: "3000"
nvidia.com/gpucores: "30"
$ kubectl describe pod gpu-pod
...
Events:
Type Reason Age From Message
Warning FailedScheduling 10s hami-scheduler 0/1 nodes available: 1 node unregistered
Warning FilteringFailed 11s hami-scheduler no available node, all node scores do not meet
$ kubectl logs -f hami-scheduler-d69cb679b-9vtdg -c vgpu-scheduler-extender
I0422 13:42:30.272812 1 pod.go:44] "collect requestreqs" counts=[{"NVIDIA":{"Nums":2,"Type":"NVIDIA","Memreq":3000,"MemPercentagereq":101,"Coresreq":30}}]
I0422 13:42:30.272827 1 scheduler.go:499] All node scores do not meet for pod gpu-pod
I0422 13:42:30.273047 1 event.go:307] "Event occurred" object="default/gpu-pod" type="Warning" reason="FilteringFailed" message="no available node, all node scores do not meet"