flux-sched
flux-sched copied to clipboard
fluxion assigns queues to jobs
Problem: if queues are configured, qmanager assigns a default queue to jobs that don't specify one, but the default queue should be configured (and assigned) in flux-core not in fluxion.
If a queue is not specified, qmanager's configured default-queue is assigned, or if undefined, the first queue (lexicographically) is assigned.
To avodi confusion, fluxion should simply raise a fatal exception on a job that does not specify a queue (if queues are configured).
Also, the annotation of the queue in the alloc response should be dropped, as this is not information that the scheduler needs to provide. Tools should instead be using the system.queue attribute in the jobspec.
The test script t/t1006-qmanager-multiqueue.t will need to be changed as a result of this change. That script might be a good place to start to understand how the current queue support is implemented in fluxion.
@JaeseungYeom - FYI I've made some progress on this today and will get a PR posted shortly.