| Summary: | Change priority on held jobs return no error | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Thomas Cadeau <thomas.cadeau> |
| Component: | Scheduling | Assignee: | Brian Christiansen <brian> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | 5 - Enhancement | ||
| Priority: | --- | CC: | brian, da, yiannis.georgiou |
| Version: | 14.11.8 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | Atos/Eviden Sites | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | 14.11.8 15.08.0pre6 | Target Release: | --- |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
As you used the solution I proposed, why Nathan is the author of the commit? My mistake. It's fixed in the commit: https://github.com/SchedMD/slurm/commit/cd86abea2fe2eb44979056964b0c00211a8b509f Thank you, I see it but in: https://github.com/SchedMD/slurm/commit/d798caa9665a188be62eac630fdee5fa3bda58c8 |
Using "scontrol update job=10 priority=0" set the job in JobHeldUser/JobHeldAdmin state. But if we use "scontrol update job=10 priority=10", of course priotity is not changed, there is no error. Then with "scontrol release job=10", we can see the priority is reset to initial one, but not to 10. Maybe an error can printed when trying to change the priority of an held job? Something like: @file job_mgr.c : info("ignore priority reset request on held job %u", job_ptr->job_id); + error_code = ESLURM_JOB_HELD; Thomas