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. 06 Apr, 2020 5 commits
    • Tim Gross's avatar
      e2e/csi: add waiting for alloc stop · f858d4e1
      Tim Gross authored
      f858d4e1
    • Tim Gross's avatar
      csi: make volume GC in job deregister safely async · b9469068
      Tim Gross authored
      The `Job.Deregister` call will block on the client CSI controller RPCs
      while the alloc still exists on the Nomad client node. So we need to
      make the volume claim reaping async from the `Job.Deregister`. This
      allows `nomad job stop` to return immediately. In order to make this
      work, this changeset changes the volume GC so that the GC jobs are on a
      by-volume basis rather than a by-job basis; we won't have to query
      the (possibly deleted) job at the time of volume GC. We smuggle the
      volume ID and whether it's a purge into the GC eval ID the same way we
      smuggled the job ID previously.
      b9469068
    • Tim Gross's avatar
      csi: fix unpublish workflow ID mismatches · a11fb6a3
      Tim Gross authored
      The CSI plugins uses the external volume ID for all operations, but
      the Client CSI RPCs uses the Nomad volume ID (human-friendly) for the
      mount paths. Pass the External ID as an arg in the RPC call so that
      the unpublish workflows have it without calling back to the server to
      find the external ID.
      
      The controller CSI plugins need the CSI node ID (or in other words,
      the storage provider's view of node ID like the EC2 instance ID), not
      the Nomad node ID, to determine how to detach the external volume.
      a11fb6a3
    • Tim Gross's avatar
    • Mahmood Ali's avatar
      Merge pull request #7612 from hashicorp/b-auth-alloc-exec-ws · 6021ea6d
      Mahmood Ali authored
      Authenticate alloc/exec websocket requests
      Unverified
      6021ea6d
  2. 03 Apr, 2020 28 commits
  3. 02 Apr, 2020 7 commits