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. 12 Oct, 2022 1 commit
  2. 30 Sep, 2022 4 commits
  3. 29 Sep, 2022 3 commits
  4. 28 Sep, 2022 6 commits
  5. 27 Sep, 2022 21 commits
  6. 26 Sep, 2022 5 commits
    • Michael Schurter's avatar
      docs: write a lot of words about heartbeats (#14679) · a6dc5ea5
      Michael Schurter authored
      
      * docs: write a lot of words about heartbeats
      
      Alternative to #14670
      
      * Apply suggestions from code review
      Co-authored-by: default avatarTim Gross <tgross@hashicorp.com>
      
      * use descriptive title for link
      
      * rework example of high failover ttl
      Co-authored-by: default avatarTim Gross <tgross@hashicorp.com>
      a6dc5ea5
    • Seth Hoenig's avatar
      e2e: convert chroot env unit tests into e2e tests (#14710) · 32be8683
      Seth Hoenig authored
      This PR translates two of our most flakey unit tests into
      e2e tests where they are fit much more naturally.
      32be8683
    • Michael Schurter's avatar
      fingerprint: add node attr for reserverable cores (#14694) · 2e059c62
      Michael Schurter authored
      * fingerprint: add node attr for reserverable cores
      
      Add an attribute for the number of reservable CPU cores as they may
      differ from the existing `cpu.numcores` due to client configuration or
      OS support.
      
      Hopefully clarifies some confusion in #14676
      
      * add changelog
      
      * num_reservable_cores -> reservablecores
      2e059c62
    • Luiz Aoqui's avatar
      client: recover from getter panics (#14696) · 1b831f3d
      Luiz Aoqui authored
      The artifact getter uses the go-getter library to fetch files from
      different sources. Any bug in this library that results in a panic can
      cause the entire Nomad client to crash due to a single file download
      attempt.
      
      This change aims to guard against this types of crashes by recovering
      from panics when the getter attempts to download an artifact. The
      resulting panic is converted to an error that is stored as a task event
      for operator visibility and the panic stack trace is logged to the
      client's log.
      1b831f3d
    • Michael Schurter's avatar
      fingerprint: lengthen Vault check after seen (#14693) · d677b486
      Michael Schurter authored
      Extension of #14673
      
      Once Vault is initially fingerprinted, extend the period since changes
      should be infrequent and the fingerprint is relatively expensive since
      it is contacting a central Vault server.
      
      Also move the period timer reset *after* the fingerprint. This is
      similar to #9435 where the idea is to ensure the retry period starts
      *after* the operation is attempted. 15s will be the *minimum* time
      between fingerprints now instead of the *maximum* time between
      fingerprints.
      
      In the case of Vault fingerprinting, the original behavior might cause
      the following:
      
      1. Timer is reset to 15s
      2. Fingerprint takes 16s
      3. Timer has already elapsed so we immediately Fingerprint again
      
      Even if fingerprinting Vault only takes a few seconds, that may very
      well be due to excessive load and backing off our fingerprints is
      desirable. The new bevahior ensures we always wait at least 15s between
      fingerprint attempts and should allow some natural jittering based on
      server load and network latency.
      d677b486