Attached are patches that move the QOS update of an existing job to be
before the partition update.  This ensures a new QOS value is the value
used when doing validations against things like a partition's AllowQOS and
DenyQOS.

Currently if a two partitions have AllowQOS that do not share any QOS, the
order of updates prevents a job from being moved from one partition to
another using something like the following:

scontrol update job=<jobID> partition=<new part> qos=<new qos>

The attached patches are specific to slurm-14.03, slurm-14.11 and master
(15.08pre) branches.

Thanks,
- Trey

=============================

Trey Dockendorf
Systems Analyst I
Texas A&M University
Academy for Advanced Telecommunications and Learning Technologies
Phone: (979)458-2396
Email: [email protected]
Jabber: [email protected]

Attachment: slurmctld-update_job-qos_before_partition-14.03.patch
Description: Binary data

Attachment: slurmctld-update_job-qos_before_partition-14.11.patch
Description: Binary data

Attachment: slurmctld-update_job-qos_before_partition-15.08pre.patch
Description: Binary data

Reply via email to