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

Dashboard fails to delete a job #1429

Closed
roadmapper opened this issue Nov 16, 2016 · 5 comments
Closed

Dashboard fails to delete a job #1429

roadmapper opened this issue Nov 16, 2016 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@roadmapper
Copy link

roadmapper commented Nov 16, 2016

Issue details

When deleting a job in the dashboard, the delete does not complete and returns with an error from the API server: api.DeleteOptions is not suitable for converting to "batch/v1"
k8s_job_delete_failed

Environment
Dashboard version: 1.4.2
Kubernetes version: 1.4.5
Operating system: CentOS 7
Steps to reproduce
  1. Create a job
  2. Attempt to delete the job object
Observed result

The delete operation fails and does not delete the job.

Expected result

The delete operation succeeds and deletes the job.

Comments

I tried looking through the source to find where the api.DeleteOptions is passed by the UI to the unversioned k8s Go client, but I didn't find anything that might be suspect. The job can be deleted from the API server directly by making a correct HTTP DELETE call or via kubectl.

@rf232
Copy link
Contributor

rf232 commented Nov 16, 2016

Thanks for your attention to detail.

We are aware of this issue, and are talking with core how to fix this.

kubernetes/kubernetes#36806

@rf232 rf232 added area/api kind/bug Categorizes issue or PR as related to a bug. labels Nov 16, 2016
@floreks
Copy link
Member

floreks commented Nov 17, 2016

We could apply same fix for our deps as this is critical issue. I have already created PR to fix that (kubernetes/kubernetes#36879) but it always takes much time to merge something into the core.

@bryk
Copy link
Contributor

bryk commented Nov 24, 2016

@rf232 Can you take care of this for 1.5?

@floreks
Copy link
Member

floreks commented Nov 24, 2016

My PR to core was merged so it's just the matter of updating our deps.

@rf232
Copy link
Contributor

rf232 commented Nov 25, 2016

will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants