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

Support deferred job start time #1013

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Oct 10, 2023

  1. policies: add deferred_orelse_reserve

    For upcoming Fluxion use cases users will need the capability to request
    a deferred allocation. The desired behavior is equivalent to match
    allocate_orelse_reserve, but with a request time in the future.
    
    Add DEFERRED_ORELSE_RESERVE match_op_t to provide the needed type.
    milroy committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    368f129 View commit details
    Browse the repository at this point in the history
  2. traversers: read deferred_start time

    Problem: the user needs to set an optional key "deferred_start" in their
    jobspec to specify the earliest time at which the job should start.
    
    Add capability in jobspec build function to find the optional key and
    set the job "at" time to the user provided value.
    milroy committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    f6c5aaf View commit details
    Browse the repository at this point in the history
  3. traversers: add DEFERRED_ORELSE_RESERVE case

    The DEFERRED_ORELSE_RESERVE case should behave exactly like
    MATCH_ALLOCATE_ORELSE_RESERVE with an "at" time set in the future.
    
    Add a "fall through" case for DEFERRED_ORELSE_RESERVE so that it
    executes the logic of MATCH_ALLOCATE_ORELSE_RESERVE.
    milroy committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    d548a1d View commit details
    Browse the repository at this point in the history
  4. modules: add deferred_orelse_reserve

    The resource_match module needs to support deferred_orelse_reserve.
    
    Add a new conditional check for the "deferred_orelse_reserve" command.
    milroy committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    22619fe View commit details
    Browse the repository at this point in the history
  5. scripts: add deferred_orelse_reserve to flux-ion-resource

    Add functions and parsing for deferred_orelse_reserve RPCs and actions
    in flux-ion-resource.
    milroy committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    7b1e1da View commit details
    Browse the repository at this point in the history
  6. resource-query: add deferred_orelse_reserve support

    Add functions, command parsing, and help string for
    deferred_orelse_reserve in resource-query.
    milroy committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    40534a7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e3b7a96 View commit details
    Browse the repository at this point in the history