1. 31 Aug, 2018 7 commits
    • Tim Wickberg's avatar
      Merge branch 'slurm-18.08' · 95184891
      Tim Wickberg authored
      95184891
    • Tim Wickberg's avatar
      Modify trigger_backup_ctld_fail() to include index of controller. · 602a80b5
      Tim Wickberg authored
      Further work will be needed to track these independently.
      
      Bug 5256.
      602a80b5
    • Tim Wickberg's avatar
      Replace _ping_backup_controller() with ping_controllers(). · a06b4cb0
      Tim Wickberg authored
      Move the trigger_backup_ctld_fail() call into ping_controllers(),
      and use the ping_all boolean as a standin for whether we're the active
      controller or not.
      
      Bug 5256.
      a06b4cb0
    • Tim Wickberg's avatar
      Change to a responding bool instead of response_time time_t value. · c15be2f2
      Tim Wickberg authored
      The handling for response_time was a bit odd, as care was needed to make
      the timestamp values match up. Meaning they're not really time values,
      just a complicated way of signaling whether the remote controller is
      responding. So, simplify this by just indicating through a bool whether
      a given controller is responding or not.
      
      Bug 5256.
      c15be2f2
    • Tim Wickberg's avatar
      Make active_controller argument to ping_controllers() work. · 443b3e27
      Tim Wickberg authored
      If true, ping everyone except outselves. If false, continue to ping
      only the higher priority controllers.
      
      Also move the ctld_ping xmalloc and xfree in here so we don't need
      to recreate them in the controller code later.
      
      Bug 5256.
      443b3e27
    • Tim Wickberg's avatar
      Change signature in backup.c to extern for (renamed) ping_controllers(). · c5d16f23
      Tim Wickberg authored
      Both the primary and backup need to provide similar ping capabilities.
      This implementation - with multiple threads launched in parallel - is
      the more advanced one, so start reworking it to be able to use it in
      the primary controller as well instead of _ping_backup_controller().
      
      Add a boolean option to indicate whether this is running in the active
      controller or the backup. This will control whether all other controllers
      are pinged (needed by the primary) or only the higher priority controllers
      (as done in the backups).
      
      Bug 5256.
      c5d16f23
    • Morris Jette's avatar
      cons_tres enforce-binding fix · 67f68a8c
      Morris Jette authored
      with some configurations test39.1 would fail. This was due to
      not considering use of GRES that are non-local to available
      CPUs, even without enforced binding. This was due to always
      trying to enforce binding on the first pass. If that fails,
      then consider use of non-local GRES. The problem in the logic
      is it would never try non-local GRES if avail_res_array->avail_res_cnt
      was zero. This patch sets its value to the node's CPU count,
      which may not be ideal, but is a reasonable option.
      67f68a8c
  2. 30 Aug, 2018 23 commits
  3. 29 Aug, 2018 10 commits