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. 15 Feb, 2022 3 commits
  2. 14 Feb, 2022 1 commit
  3. 11 Feb, 2022 5 commits
    • Tim Gross's avatar
      csi: volume cli prefix matching should accept exact match (#12051) · 4afc67b7
      Tim Gross authored
      The `volume detach`, `volume deregister`, and `volume status` commands
      accept a prefix argument for the volume ID. Update the behavior on
      exact matches so that if there is more than one volume that matches
      the prefix, we should only return an error if one of the volume IDs is
      not an exact match. Otherwise we won't be able to use these commands
      at all on those volumes. This also makes the behavior of these commands
      consistent with `job stop`.
      Unverified
      4afc67b7
    • Tim Gross's avatar
      csi: provide `CSI_ENDPOINT` env var to plugins (#12050) · 16baefcb
      Tim Gross authored
      The CSI specification says:
      > The CO SHALL provide the listen-address for the Plugin by way of the
      `CSI_ENDPOINT` environment variable.
      
      Note that plugins without filesystem isolation won't have the plugin
      dir bind-mounted to their alloc dir, but we can provide a path to the
      socket anyways.
      
      Refactor to use opts struct for plugin supervisor hook config.
      The parameter list for configuring the plugin supervisor hook has
      grown enough where is makes sense to use an options struct similiar to
      many of the other task runner hooks (ex. template).
      Unverified
      16baefcb
    • James Rasell's avatar
      Merge pull request #12053 from marcaurele/fix-typo · 26061886
      James Rasell authored
      doc(typo): technical typo in advertised example
      Unverified
      26061886
    • James Rasell's avatar
      Merge pull request #12041 from hashicorp/b-gh-12040 · d1ffc237
      James Rasell authored
      changelog: add entry for #12040
      Unverified
      d1ffc237
    • James Rasell's avatar
      client: track service deregister call so it's only called once. · 72f411c9
      James Rasell authored
      In certain task lifecycles the taskrunner service deregister call
      could be called three times for a task that is exiting. Whilst
      each hook caller of deregister has its own purpose, we should try
      and ensure it is only called once during the shutdown lifecycle of
      a task.
      
      This change therefore tracks when deregister has been called, so
      that subsequent calls are noop. In the event the task is
      restarting, the deregister value is reset to ensure proper
      operation.
      Unverified
      72f411c9
  4. 10 Feb, 2022 15 commits
  5. 09 Feb, 2022 3 commits
  6. 08 Feb, 2022 9 commits
  7. 07 Feb, 2022 3 commits
    • Dylan Staley's avatar
      Merge pull request #11936 from hashicorp/ds.ie11-warning · 21f7d011
      Dylan Staley authored
      website: display warning in IE 11
      Unverified
      21f7d011
    • Kevin Schoonover's avatar
      address comments · 5cea3663
      Kevin Schoonover authored
      Co-authored-by: default avatarSeth Hoenig <seth.a.hoenig@gmail.com>
      5cea3663
    • Tim Gross's avatar
      scheduler: recover from panic (#12009) · f8111692
      Tim Gross authored
      If processing a specific evaluation causes the scheduler (and
      therefore the entire server) to panic, that evaluation will never
      get a chance to be nack'd and cleared from the state store. It will
      get dequeued by another scheduler, causing that server to panic, and
      so forth until all servers are in a panic loop. This prevents the
      operator from intervening to remove the evaluation or update the
      state.
      
      Recover the goroutine from the top-level `Process` methods for each
      scheduler so that this condition can be detected without panicking the
      server process. This will lead to a loop of recovering the scheduler
      goroutine until the eval can be removed or nack'd, but that's much
      better than taking a downtime.
      Unverified
      f8111692
  8. 06 Feb, 2022 1 commit