Error submistting a job

Error submistting a job  

  By: MaiAShaaban on Feb. 4, 2024, 10:44 a.m.

I tried to submit a job on the jobman cluster. However, I got the error below. What could be the problem?

[ERROR] Error message from Kubernetes: admission webhook "mutate-job-fn.chaimeleon.eu" denied the request: You already have 2 pods. Please delete jobs or deployments (desktops) to submit a new one.

Re: Error submistting a job  

  By: khatridhruv on Feb. 4, 2024, 2:45 p.m.

Same error encountered after submitting the job a second time after the first one finished.

Re: Error submistting a job  

  By: khatridhruv on Feb. 4, 2024, 3:06 p.m.

Solved for me: !jobman delete -j "First job" Had to delete the older job from the !jobman list

Re: Error submistting a job  

  By: MaiAShaaban on Feb. 7, 2024, 10:59 a.m.

In fact, I haven't submitted any jobs, but I'm encountering the error above when submitting my first job. Could it be that the issue occurs when two desktops are running simultaneously, even in the absence of any submitted jobs?

Re: Error submistting a job  

  By: khatridhruv on Feb. 7, 2024, 1:26 p.m.

Can't confirm, but that could be a reason. Try closing the connection.

Re: Error submistting a job  

  By: alvaroparicio on Feb. 8, 2024, 7:22 a.m.

Hi, Keep in mind you will be able to create 2 pods in total (usually 1 desktop and 1 job). You will need to delete a previous job if you want to submit another. So effectively, if you have already used the two pods on two desktops, you will not be able to create any job.