-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for job queue information in submission and query tools #4302
Comments
@garlick also made the point that supported queue names should probably be supported in the main flux-core config TOML. This would not only allow validation of queue name on job submission, but also flux-core could support a common set of queue parameters, especially queue limits, which currently I believe are supported only via the flux-accounting multi-factor priority plugin. Limits like maximum number of nodes and duration could be directly supported in the TOML configuration, leaving the responsibility of the priority plugin to calculate priority. Of course, the mf_priority plugin could still reject jobs based on its internal configuration (e.g. for limits set via user/bank combination). Scheduler-specific configuration of queues could occur within the scheduler TOML config namespace, but we might want to encourage the scheduler to also read the main queue TOML config, and verify that the queue names it has configured match what is in the "main" configuration, as well as any applicable generic configuration values. (I'm sure this will be discussed in the upcoming RFC) |
Thanks for starting this discussion @grondo!
I like this idea. I'll go ahead and add that the limits to be enforced on a per-queue basis that @ryanday36 specified were minimum nodes per-job, maximum nodes per-job, and max time per-job. These are not currently enforced in the multi-factor priority plugin, but they are stored there in an internal map. std::map<std::string, struct queue_info> queues; Please correct me if I am wrong, but I think this would also enable flux-accounting to simply read and store the queue configuration information from the TOML configuration file without requiring an admin or scheduler operator to have to also define these queues in the flux-accounting DB directly (i.e using commands like |
Yes, that is the idea. I think we could also move the enforcement of these limits out of flux-accounting and into a plugin provided by flux-core. More complex limits, e.g. that require knowledge of the user/bank combo of a job, could still be enforced by flux-accounting when necessary. |
Closing this issue which predates the design work in RFC 33 and subsequent implementation. We can open separate bugs for remaining stuff. |
This was from a comment in #4143
Opening this issue to track the fact that we need to add support in flux-core for the configuration, submission of jobs, and querying of queues.
The text was updated successfully, but these errors were encountered: