-
Notifications
You must be signed in to change notification settings - Fork 10
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
idea: record bank name in priority event #272
Comments
alternately, could it be added via a memo event? |
Actually, the user can specify Alternatively, it could be done at ingest by providing a python plugin for the frobnicator (flux-framework/flux-core#4529). That would have the advantage of being able to immediately reject jobs that don't have bank configurations yet instead of holding them in PRIORITY. Edit: just remembered that the priority plugin could actually still reject the job immediately via the jobtap |
I started taking a look at this this morning, thanks for the suggestion on this idea!
That's right. In the case where a user sets their bank explicitly, the bank is already in the jobspec under Are there any examples in flux-core anywhere of using |
The one example we had was the |
Ah, okay, I hadn't realized it was removed! Maybe a dumb question, but is it possible to use the either the memo event or the frobnicator in the priority plugin? I think it would be relatively straightforward to find the bank name in the |
Sorry to leave you hanging on this one. When I read through it last I was kind of on the fence about what to recommend. Doing this in the frobnicator would require a frobnicator plugin (python) that runs wherever the job is submitted, e.g. login node. I think right now there is no mechanism for such a thing to directly query the accounting database to grab a default bank for the user, correct? You could add an RPC handler in the OTOH, having |
The |
I think I made some good progress on this over the last couple days. Followed much of the similar process I proposed in #294 and can add a |
This should be fixed by #301 now; closing! |
Problem: the job eventlog doesn't record the bank a job used when its priority was assigned, but this may be useful information, e.g. see flux-framework/flux-core#4569
Perhaps we could let the multifactor priority plugin record accounting-specific info, like the bank, in the priority event?
The text was updated successfully, but these errors were encountered: