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. 20 Aug, 2021 4 commits
  2. 19 Aug, 2021 1 commit
  3. 18 Aug, 2021 3 commits
    • Mahmood Ali's avatar
      tests: attempt deflaking TestAutopilot_CleanupDeadServer · c66d2a41
      Mahmood Ali authored
      Attempt to deflake the test by avoiding shutting down the leaders, as leadership
      recovery takes more time, and consequently longer to process raft configuration
      changes and potentially failing the test.
      c66d2a41
    • Mahmood Ali's avatar
      tests: deflake TestLeader_LeftLeader · 794a08cc
      Mahmood Ali authored
      Wait for leadership to be established before killing leader.
      794a08cc
    • Mahmood Ali's avatar
      Consider all system jobs for a new node (#11054) · 327d461b
      Mahmood Ali authored
      When a node becomes ready, create an eval for all system jobs across
      namespaces.
      
      The previous code uses `job.ID` to deduplicate evals, but that ignores
      the job namespace. Thus if there are multiple jobs in different
      namespaces sharing the same ID/Name, only one will be considered for
      running in the new node. Thus, Nomad may skip running some system jobs
      in that node.
      327d461b
  4. 17 Aug, 2021 1 commit
    • Mahmood Ali's avatar
      e2e: Run system jobs on all datacenters (#11060) · 2bb03170
      Mahmood Ali authored
      Target all e2e datacenters for system and sysbatch e2e tests.  They
      require that the system jobs run on all linux clients.
      
      However, the jobs currenly only target `dc1` datacenter, but the nightly
      e2e cluster has 4 clients spread in `dc1` and `dc2` datacenters, causing
      the tests to fail.
      
      I missed this problem in e2e dev cluster because it only used a single
      dc1 datacenter.
      2bb03170
  5. 16 Aug, 2021 2 commits
  6. 13 Aug, 2021 1 commit
  7. 11 Aug, 2021 3 commits
  8. 10 Aug, 2021 9 commits
  9. 09 Aug, 2021 3 commits
  10. 06 Aug, 2021 2 commits
  11. 05 Aug, 2021 5 commits
  12. 04 Aug, 2021 2 commits
  13. 03 Aug, 2021 4 commits
    • Luiz Aoqui's avatar
    • Mahmood Ali's avatar
      e2e: fix tests · 141ea605
      Mahmood Ali authored
      Use basic sleeps in busybox images. busybox are very light, and ping has
      permissions complications, and it may fail for network related
      issues.
      141ea605
    • Seth Hoenig's avatar
      core: implement system batch scheduler · 61ee443e
      Seth Hoenig authored
      This PR implements a new "System Batch" scheduler type. Jobs can
      make use of this new scheduler by setting their type to 'sysbatch'.
      
      Like the name implies, sysbatch can be thought of as a hybrid between
      system and batch jobs - it is for running short lived jobs intended to
      run on every compatible node in the cluster.
      
      As with batch jobs, sysbatch jobs can also be periodic and/or parameterized
      dispatch jobs. A sysbatch job is considered complete when it has been run
      on all compatible nodes until reaching a terminal state (success or failed
      on retries).
      
      Feasibility and preemption are governed the same as with system jobs. In
      this PR, the update stanza is not yet supported. The update stanza is sill
      limited in functionality for the underlying system scheduler, and is
      not useful yet for sysbatch jobs. Further work in #4740 will improve
      support for the update stanza and deployments.
      
      Closes #2527
      61ee443e
    • James Rasell's avatar