The slave picks the Job to render.
By some reason the renderer fails. Deadline re-starts the Job most likely to be run on the same slave.
Instead of attempting to re-render the same job on the same slave I want to blacklist this slave for the Job it failed on. As a result next time the Job is restarted it is assigned to other slave.
What Deadline Scripting command to use to job-blacklist the slave?
Hey there,
If you use
deadline.Scripting.RepositoryUtils.AddSlavesToMachineLimitList(jobid, slave_names)
you can put a given list of slaves into a job’s machine limit list so that it won’t try and re-use that slave for this job.
That should do what you’re looking for.
Just to add to this, if you don’t want to have to script this with Python take a look at Deadline’s failure detection. Check out the docs for that here. You won’t need to do anything scripting wise.