flux-sched icon indicating copy to clipboard operation
flux-sched copied to clipboard

fluxion assigns queues to jobs

Open garlick opened this issue 3 years ago • 2 comments
trafficstars

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).

garlick avatar Aug 15 '22 19:08 garlick

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.

garlick avatar Aug 16 '22 01:08 garlick

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.

garlick avatar Aug 18 '22 19:08 garlick

@JaeseungYeom - FYI I've made some progress on this today and will get a PR posted shortly.

garlick avatar Sep 17 '22 01:09 garlick