1. 12 Jul, 2016 1 commit
  2. 06 Jul, 2016 1 commit
  3. 22 Jun, 2016 1 commit
  4. 15 Jun, 2016 1 commit
  5. 14 Jun, 2016 1 commit
  6. 10 Jun, 2016 3 commits
  7. 09 Jun, 2016 2 commits
  8. 07 Jun, 2016 1 commit
    • 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
  9. 06 Jun, 2016 1 commit
    • Morris Jette's avatar
      move buffer from stack to heap · fe2c6827
      Morris Jette authored
      The buffer to be used for reading the system /proc/*/stat files
      is moved from the stack to the heap (i.e. malloc'ed memory) and
      initialized to zero, and increased in size from 1k to 4k.
      I don't see how this could make any difference, but this anomaly
      was reported by valgrind.
      bug 2234
      fe2c6827
  10. 03 Jun, 2016 2 commits
  11. 02 Jun, 2016 3 commits
  12. 31 May, 2016 4 commits
  13. 27 May, 2016 3 commits
    • 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
  14. 25 May, 2016 2 commits
  15. 24 May, 2016 6 commits
  16. 18 May, 2016 2 commits
  17. 17 May, 2016 1 commit
  18. 16 May, 2016 2 commits
  19. 13 May, 2016 1 commit
    • Danny Auble's avatar
      Fix race condition with respects to cleaning up the profiling threads · b1fbeb85
      Danny Auble authored
      when in use.
      
      The problem here is the polling threads in the various acct_gather codes
      were detached and could possibly still be polling after the plugin had
      been unloaded making a seg fault with a backtrace like this...
      
      #0  0x00007fe7af008c00 in ?? ()
      #1  0x00007fe7b1138479 in __nptl_deallocate_tsd () at pthread_create.c:175
      #2  0x00007fe7b11398b0 in __nptl_deallocate_tsd () at pthread_create.c:326
      #3  start_thread (arg=0x7fe7b1f12700) at pthread_create.c:346
      #4  0x00007fe7b0e6fb5d in clone ()
          at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      
      The fix was to make the threads non-detached and join them before calling
      a dlclose.
      b1fbeb85
  20. 12 May, 2016 1 commit
    • Danny Auble's avatar
      If the cluster name and state are stored on NFS (with root_squash), · e422127c
      Danny Auble authored
      trying to verify the cluster name (which may try to /create/ files or
      directories) *before* dropping privs results in a fatal error as
      slurmctld tries to create items which ultimately fail.  Moving
      this process until after the privs and uid have changed allows
      the process to succeed.
      
      Reported by Jon Nelson <jdnelson@dyn.com>
      
      Bug 2728
      e422127c
  21. 11 May, 2016 1 commit