Skip to content
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

allow job duration of pending jobs to be updated #4844

Closed
3 tasks done
garlick opened this issue Dec 16, 2022 · 1 comment
Closed
3 tasks done

allow job duration of pending jobs to be updated #4844

garlick opened this issue Dec 16, 2022 · 1 comment
Labels
feature tracking Tracking issue for larger feature made up of smaller issues

Comments

@garlick
Copy link
Member

garlick commented Dec 16, 2022

This is a tracking issue for allowing jobspec duration to be updated on a job after it is submitted, but before it is allocated resources.

Note that the extension of expiration time on running jobs is a separate issue. See #4175.

The duration is part of jobspec, thus changing it should employ the jobspec-update event. The change should only be permitted if requested by the instance owner or the job owner, and must respect the duration limit (general or for the selected queue) if configured. If an alloc request has already been sent to the scheduler, it needs to be canceled and resent with the new jobspec.

  • need job manager service method for updating duration of pending job
  • need front end tool for requesting duration update
  • job-list should process the jobspec-update event so that the new duration can be returned to users job-list: handle jobspec-update event #4404
@grondo
Copy link
Contributor

grondo commented Sep 13, 2023

This is now complete.

@grondo grondo closed this as completed Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature tracking Tracking issue for larger feature made up of smaller issues
Projects
None yet
Development

No branches or pull requests

2 participants