1. 10 Jun, 2016 1 commit
    • Morris Jette's avatar
      Fix for job hung configuring · be15bba8
      Morris Jette authored
      Prevent job stuck in configuring state if slurmctld daemon restarted while
          PrologSlurmctld is running.
      bugs 2789 and 2810
      be15bba8
  2. 09 Jun, 2016 3 commits
  3. 07 Jun, 2016 2 commits
    • Morris Jette's avatar
      Fix for possible invalid memory reference · 2bbc0add
      Morris Jette authored
      Make sure that /proc/#/stat file is NULL terminated to avoid
      having sscan() go off the end of a buffer.
      bug 2234
      2bbc0add
    • Dominik Bartkiewicz's avatar
      Fix hostrange_hn_within to allow for mixed prefix lengths. · 7843e158
      Dominik Bartkiewicz authored
      While here, mark options const, and add leading underscore to denote this
      as a static function (only called within hostlist.c). Also change strcmp
      to xstrcmp.
      
      Commit a6ffef22 changed this function and would alter the input hn,
      which led to subsequent calls to the function having wrong prefix
      lengths for that hostrange precluding it from matching correctly.
      
      Bug 2558.
      7843e158
  4. 06 Jun, 2016 2 commits
  5. 03 Jun, 2016 2 commits
  6. 02 Jun, 2016 3 commits
  7. 31 May, 2016 5 commits
  8. 28 May, 2016 2 commits
  9. 27 May, 2016 4 commits
    • Morris Jette's avatar
      remove some dead stores · b1d5df62
      Morris Jette authored
      b1d5df62
    • Morris Jette's avatar
      Fix for tracking a node's allocated CPUs with gang scheduling. · 4ce62678
      Morris Jette authored
      This bug was introduced by commit 21c52d2f
      which fixed a different problem tracking resources associated with suspended
      jobs. There are subtle differences between jobs that are suspended by a
      user/administrator and jobs suspended by gang scheduling which resulted in
      undercounting allocated CPUs when a job suspended by gang scheduling
      was active at the same time of a slurmctld reconfiguration request.
      See bugs 2353 (original bug related to commit 21c52d2f
      and bug 2765
      4ce62678
    • Danny Auble's avatar
      If no default account is given for a user when creating (only a list of · 9917c49d
      Danny Auble authored
      accounts) no default account is printed, previously NULL was printed.
      
      This is just not printing it, but whole function should probably be
      revisited as the rigmarole can probably be avoided as we always know what
      the default is going to be if none is specified (first off the list).
      
      The problem with that though is if the user has been added to a cluster
      already and they have a default, but then added to a new cluster where
      they don't have a default.  In this case you want to keep the first
      clusters default, but set the default for the second cluster.
      
      Bug 2725
      9917c49d
    • Danny Auble's avatar
      2a817734
  10. 25 May, 2016 2 commits
  11. 24 May, 2016 6 commits
  12. 23 May, 2016 1 commit
    • Nicolas Joly's avatar
      Fix scancel(1) uninitialized condition variable · 370e828e
      Nicolas Joly authored
      Still testing 16.05 on my NetBSD/amd64 workstation ...
      Just encountered a crash with scancel(1).
      njoly@lanfeust [~]> sbatch --wrap "sleep 3600"
      Submitted batch job 4680
      njoly@lanfeust [~]> scancel 4680
      scancel: Error detected by libpthread: Invalid condition variable.
      Detected by file "/local/src/NetBSD/src/lib/libpthread/pthread_cond.c", line 140, function "pthread_cond_timedwait".
      See pthread(3) for information.
      zsh: abort (core dumped)  scancel 4680
      Checking the code show indeed that pthread_cond_wait() call from scancel.c:_signal_job_by_str() use an uninitialised condition variable "num_active_threads_cond"
      The attached patch, which add the missing pthread_cond_init() seems to fix it.
      bug 2753
      370e828e
  13. 18 May, 2016 2 commits
  14. 17 May, 2016 4 commits
  15. 16 May, 2016 1 commit