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. 24 Apr, 2019 1 commit
  2. 23 Apr, 2019 9 commits
  3. 22 Apr, 2019 7 commits
  4. 19 Apr, 2019 15 commits
  5. 18 Apr, 2019 5 commits
    • Preetha Appan's avatar
      ad77c18c
    • Danielle's avatar
      Merge pull request #5572 from hashicorp/dani/b-docker-volumes · 11388ab9
      Danielle authored
      Switch to pre-0.9 behaviour for handling volumes
      11388ab9
    • Danielle's avatar
      Merge pull request #5573 from hashicorp/dani/update-vol-docs · 4789948b
      Danielle authored
      docs: Clarify docker volume behaviour
      4789948b
    • Danielle Lancashire's avatar
      Switch to pre-0.9 behaviour for handling volumes · ccce364c
      Danielle Lancashire authored
      In Nomad 0.9, we made volume driver handling the same for `""`, and
      `"local"` volumes. Prior to Nomad 0.9 however these had slightly different
      behaviour for relative paths and named volumes.
      
      Prior to 0.9 the empty string would expand relative paths within the task
      dir, and `"local"` volumes that are not absolute paths would be treated
      as docker named volumes.
      
      This commit reverts to the previous behaviour as follows:
      
      | Nomad Version | Driver  |   Volume Spec    | Behaviour                 |
      |-------------------------------------------------------------------------
      | all           | ""      | testing:/testing | allocdir/testing          |
      | 0.8.7         | "local" | testing:/testing | "testing" as named volume |
      | 0.9.0         | "local" | testing:/testing | allocdir/testing          |
      | 0.9.1         | "local" | testing:/testing | "testing" as named volume |
      ccce364c
    • Danielle Lancashire's avatar
      loggging: Attempt to recover logmon failures · 269e2c00
      Danielle Lancashire authored
      Currently, when logmon fails to reattach, we will retry reattachment to
      the same pid until the task restart specification is exhausted.
      
      Because we cannot clear hook state during error conditions, it is not
      possible for us to signal to a future restart that it _shouldn't_
      attempt to reattach to the plugin.
      
      Here we revert to explicitly detecting reattachment seperately from a
      launch of a new logmon, so we can recover from scenarios where a logmon
      plugin has failed.
      
      This is a net improvement over the current hard failure situation, as it
      means in the most common case (the pid has gone away), we can recover.
      
      Other reattachment failure modes where the plugin may still be running
      could potentially cause a duplicate process, or a subsequent failure to launch
      a new plugin.
      
      If there was a duplicate process, it could potentially cause duplicate
      logging. This is better than a production workload outage.
      
      If there was a subsequent failure to launch a new plugin, it would fail
      in the same (retry until restarts are exhausted) as the current failure
      mode.
      269e2c00
  6. 17 Apr, 2019 3 commits