-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[question] volcano pod is always pending after created #243
Comments
@hzxuzhonghu , please help on this one :) |
@xiechengsheng It is because we make kube-batch into volcano volcano-sh/volcano#288, and rename the schedulerName from So let me fix the docs here too. |
Hi, @hzxuzhonghu sorry to disturb you again because I really don't understand the current problem.
# kubectl get pod | grep volcano-release
volcano-release123-admission-576d6979db-dm24w 0/1 CrashLoopBackOff 8 18m
volcano-release123-admission-init-hszjn 0/1 Completed 0 18m
volcano-release123-controllers-7bcc5b6d75-w8vd6 1/1 Running 0 18m
volcano-release123-scheduler-6d5c65d8d8-f8nzc 0/1 CrashLoopBackOff 8 18m
# kubectl logs volcano-release123-scheduler-6d5c65d8d8-f8nzc
panic: failed init default queue, with err: queues.scheduling.sigs.dev is forbidden: User "system:serviceaccount:default:volcano-release123-scheduler" cannot create resource "queues" in API group "scheduling.sigs.dev" at the cluster scope
goroutine 1 [running]:
volcano.sh/volcano/pkg/scheduler/cache.newSchedulerCache(0xc0004a05a0, 0x1485f11, 0x7, 0x14853f7, 0x7, 0x0)
/home/travis/gopath/src/volcano.sh/volcano/pkg/scheduler/cache/cache.go:272 +0x207e
volcano.sh/volcano/pkg/scheduler/cache.New(0xc0004a05a0, 0x1485f11, 0x7, 0x14853f7, 0x7, 0x10, 0xc0003ba750)
/home/travis/gopath/src/volcano.sh/volcano/pkg/scheduler/cache/cache.go:69 +0x53
volcano.sh/volcano/pkg/scheduler.NewScheduler(0xc0004a05a0, 0x1485f11, 0x7, 0x7ffd10c9ff35, 0x29, 0x3b9aca00, 0x14853f7, 0x7, 0x12693c0, 0x1, ...)
/home/travis/gopath/src/volcano.sh/volcano/pkg/scheduler/scheduler.go:55 +0x5d
volcano.sh/volcano/cmd/scheduler/app.Run(0xc000390320, 0x1515810, 0x1515810)
/home/travis/gopath/src/volcano.sh/volcano/cmd/scheduler/app/server.go:85 +0xde
main.main()
/home/travis/gopath/src/volcano.sh/volcano/cmd/scheduler/main.go:62 +0x17d Could you help me to solve the problem? And could you teach me the right way to delete a volcano release operator? Thanks in advance! |
sorry for late As you described, it seems that the deletion is not done cleanly.
This is an authz failure. try this
And also get the serviceAccount of volcano-scheduler pod. |
@hzxuzhonghu Hi, Thx for your reply, I have tried the command The reproduce step of my problem is : 1. delete a volcano release
# helm del --purge volcano-release
release "volcano-release" deleted
2. recreate it but get an error
# helm install --name volcano-release --namespace arena-system kubernetes-artifacts/volcano-operator
Error: customresourcedefinitions.apiextensions.k8s.io "commands.bus.volcano.sh" already exists |
Hi there, when I submit volcano job according to the docx volcano job, the status of created pods is pending, have no idea to deal with this problem.
The reproduce steps:
/cc @SrinivasChilveri @k82cn need your help, thx~
The text was updated successfully, but these errors were encountered: