AWS Thinkbox Discussion Forums

Slave takes same task after re queue/blacklist.

Hi,
we have 2 sets of PCs here 1 for Sim/Render and 1 for render only.I made this simple on submit script that checks if the submited job is simulation one and if there are any free Sim PCs and if theres none it re queue and blacklist one of them from another non simulation job.It all works fine but sometimes the slave goes back to the task that I forced him out of and since this is on job submit event the simulation job is not getting the machine T_T.I checked and the slave is in the blacklist for the rendering job T_T.

I`m using Scripting.RepositoryUtils.RequeueTasks(),Scripting.RepositoryUtils.AddSlavesToMachineLimitList() to isolate the slave.The priority/weight of the simulation job is also much higher then the rendering job.

I believe we have last night unearthed an edge case of a stale limit group that could be returned, allowing a recently blacklisted Slave from still picking up a task from a job. Looks like this will be prioritised for the next SP of Deadline 9.

We are still on 8,but will probably switch soon-ish :>.Thx for the info :>.

Privacy | Site terms | Cookie preferences