Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod creating is denied by admission with podgroup phase is Pending #621

Closed
hzxuzhonghu opened this issue Dec 17, 2019 · 1 comment · Fixed by #634
Closed

Pod creating is denied by admission with podgroup phase is Pending #621

hzxuzhonghu opened this issue Dec 17, 2019 · 1 comment · Fixed by #634

Comments

@hzxuzhonghu
Copy link
Collaborator

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:

When job controller try to create pods, it is denied by admission controller with as the podgroup phase is Pending.

This is caused by the podgroup's status phase is set by scheduler and the scheduler is running periodically. There must be a delay before the podgroup InQueue.

What you expected to happen:

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

Anything else we need to know?:

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:
@hzxuzhonghu
Copy link
Collaborator Author

E1216 12:31:28.678835 1 job_controller_actions.go:252] Failed to create pod failed-delete-job-fail-0 for Job failed-delete-job, err &errors.StatusError{ErrStatus:v1.Status{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ListMeta:v1.ListMeta{SelfLink:"", ResourceVersion:"", Continue:""}, Status:"Failure", Message:"admission webhook "validatepod.volcano.sh" denied the request: failed to create pod <test/failed-delete-job-fail-0> as the podgroup phase is Pending", Reason:"", Details:(*v1.StatusDetails)(nil), Code:400}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant