volcano icon indicating copy to clipboard operation
volcano copied to clipboard

bug with the gang scheduler plugin pending reason overrwrite

Open hudson741 opened this issue 3 years ago • 0 comments

What happened: pod pending, get pod -o yaml the reason show: 1/1 tasks in gang unschedulable: pod group is not ready, 1 Pending, 1 minAvailable; Pending: 1 Undetermined

What you expected to happen: show the real pending reason,maybe I cusom defined

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

Anything else we need to know?: the reason is gang plugin overwtrite the pending reason 。 https://github.com/volcano-sh/volcano/blob/9def57eca437314d5faaa49d9aa9493a0e5ae8cf/pkg/scheduler/plugins/gang/gang.go#L186

we can fix it with if job.JobFitErrors != "" { continue }

Environment:

  • Volcano Version:
  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

hudson741 avatar Jul 18 '22 03:07 hudson741