This project is mirrored from https://gitee.com/mirrors/nomad.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 14 Jun, 2022 5 commits
  2. 13 Jun, 2022 1 commit
  3. 10 Jun, 2022 6 commits
  4. 09 Jun, 2022 4 commits
    • Seth Hoenig's avatar
      Merge pull request #13308 from hashicorp/f-generic-helpers · 2697e63a
      Seth Hoenig authored
      helpers: provide a few generic helper functions
      2697e63a
    • Seth Hoenig's avatar
      helpers: provide a few generic helper functions · 109f25fe
      Seth Hoenig authored
      This PR deprecates some functions in favor of generic alternatives.
      
      The new functions are compatible only with Nomad v1.4+.
      
      The old functions (nor their use) should not be removed until Nomad v1.6+.
      109f25fe
    • Tim Gross's avatar
      CSI: skip node unpublish on GC'd or down nodes (#13301) · dd1bbbec
      Tim Gross authored
      If the node has been GC'd or is down, we can't send it a node
      unpublish. The CSI spec requires that we don't send the controller
      unpublish before the node unpublish, but in the case where a node is
      gone we can't know the final fate of the node unpublish step.
      
      The `csi_hook` on the client will unpublish if the allocation has
      stopped and if the host is terminated there's no mount for the volume
      anyways. So we'll now assume that the node has unpublished at its
      end. If it hasn't, any controller unpublish will potentially hang or
      error and need to be retried.
      dd1bbbec
    • phreakocious's avatar
      Add `guest_agent` config option for QEMU driver (#12800) · f8774369
      phreakocious authored
      Add boolean 'guest_agent' config option for QEMU driver, which will
      create the socket file for the QEMU Guest Agent in the task dir when
      enabled.
      f8774369
  5. 08 Jun, 2022 12 commits
  6. 07 Jun, 2022 4 commits
    • Tim Gross's avatar
      CSI: no early return when feasibility check fails on eligible nodes (#13274) · b7471232
      Tim Gross authored
      As a performance optimization in the scheduler, feasibility checks
      that apply to an entire class are only checked once for all nodes of
      that class. Other feasibility checks are "available" checks because
      they rely on more ephemeral characteristics and don't contribute to
      the hash for the node class. This currently includes only CSI.
      
      We have a separate fast path for "available" checks when the node has
      already been marked eligible on the basis of class. This fast path has
      a bug where it returns early rather than continuing the loop. This
      causes the entire task group to be rejected.
      
      Fix the bug by not returning early in the fast path and instead jump
      to the top of the loop like all the other code paths in this method.
      Includes a new test exercising topology at whole-scheduler level and a
      fix for an existing test that should've caught this previously.
      b7471232
    • Derek Strickland's avatar
      alloc_runner: stop sidecar tasks last (#13055) · ec3b7150
      Derek Strickland authored
      alloc_runner: stop sidecar tasks last
      ec3b7150
    • James Rasell's avatar
    • James Rasell's avatar
      state: only update index on change when deleting evals. (#13227) · c8c16d98
      James Rasell authored
      When deleting evaluations and allocations during a reap event, the
      index table entries for evals and allocs was updated irregardless
      of whether changes were made.
      
      This change modifies the state logic so that the index table is
      only modified when the corresponding table has actually been
      modified. Along with matching expected behaviour, this change has
      the potential to reduce the number of times blocking queries will
      return without any real state change.
      c8c16d98
  7. 06 Jun, 2022 8 commits