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 Nov, 2020 14 commits
  2. 11 Nov, 2020 23 commits
  3. 10 Nov, 2020 3 commits
    • Chris Baker's avatar
    • Jerome Gravel-Niquet's avatar
      Don't ignore nil devices in plugin fingerprint · 66ddf629
      Jerome Gravel-Niquet authored
      Even if a plugin sends back an empty `[]*device.DeviceGroup`, it's transformed to `nil` during the RPC. Our custom device plugin is returning empty `FingerprintResponse.Devices` very often. Our temporary fix is to send a dummy `*DeviceGroup` if the slice is empty. This has the effect of never triggering the "first fingerprint" and therefore timing out after 50s.
      
      In turn, this made our node exceed its hearbeat grace period when restarting it, revoking all vault tokens for its allocations, causing a restart of all our allocations because the token couldn't be renewed.
      
      Removing the logic for `f.Devices == nil` does not appear to affect the functionality of the function.
      66ddf629
    • Mahmood Ali's avatar
      Custom message when job file is HCL2 incompatible · 73df83ff
      Mahmood Ali authored
      Use a custom message when the job file is a valid HCL1 but no longer
      valid under HCL 2 syntax.
      73df83ff