1. 12 Jan, 2018 4 commits
    • Felip Moll's avatar
      Before, srun allowed execution when checking a command existing · a84852c3
      Felip Moll authored
      in the current directory but not in the --chdir specified cwd.
      
      Now srun looks for the command in specified cwd and differentiates all
      the possible cases where a command starts with ./ (relative), with /
      (absolute), and with a different char indicating a command that is in
      the path.
      
      Fix also for a PATH variable starting by '.', now it is relative to
      specified cwd.
      
      bug 4392
      a84852c3
    • Morris Jette's avatar
      Copy v17.02 NEWS item to v17.11 · 5ae7505b
      Morris Jette authored
      5ae7505b
    • Dominik Bartkiewicz's avatar
      Fix to aftercorr job array dependency logic · 7b5a3674
      Dominik Bartkiewicz authored
      Fix job array dependency with "aftercorr" option and some task arrays in
          the first job fail. This fix lets all task array elements that can run
          proceed rather than stopping all subsequent task array elements.
      Bug 4590
      7b5a3674
    • Felip Moll's avatar
      Global environment was not set correctly in srun · aff20b90
      Felip Moll authored
      Creating a copy of the actual environment in env->env defines a new pointer,
      then next call to setup_env and setenvf doesn't define variables in the global
      environment but in this new copy.
      
      Bug 4615
      aff20b90
  2. 11 Jan, 2018 5 commits
  3. 10 Jan, 2018 3 commits
  4. 08 Jan, 2018 3 commits
    • Dominik Bartkiewicz's avatar
    • Alejandro Sanchez's avatar
      Improve logic when summarizing job arrays mail notifications. · 5f1cc8a8
      Alejandro Sanchez authored
      When --mail-type option isn't requested with ARRAY_TASKS, we need somehow
      to summarize the different states each task finished in the array. We've
      added a new ARRAY_TASK_REQUEUED flag to the array_flags to indicate that
      at least one task was requeued. Also the logic now detects if at least
      one task failed and/or if otherwise all finished successfully.
      
      The patch also removes the RunTime from the the e-mail when summarizing
      whole array, since it doesn't make sense to specify just the RunTime
      of one of the tasks for this case.
      
      Patch also fixes when ARRAY_TASKS is specified, previously the mail
      notification for the master job task record included a range of
      ExitCodes for all the tasks. Since this option is not for summarizing,
      the patch makes it so only the range is shown when the option isn't
      specified.
      
      Bug 4539.
      5f1cc8a8
    • Morris Jette's avatar
      Fix for changing node features · 09e8b368
      Morris Jette authored
      Scheduling fix for changing node features without any NodeFeatures plugins.
      Bug 4577
      09e8b368
  5. 05 Jan, 2018 7 commits
  6. 04 Jan, 2018 5 commits
  7. 03 Jan, 2018 8 commits
  8. 02 Jan, 2018 3 commits
  9. 28 Dec, 2017 1 commit
  10. 22 Dec, 2017 1 commit
    • Alejandro Sanchez's avatar
      jobcomp/elasticsearch - append Content-Type to the HTTP header. · c7fd2e47
      Alejandro Sanchez authored
      The ability to enforce strict content-type checking has existed since
      Elasticsearch 5.3 via the http.content_type.required configuration setting.
      In 5.x it is optional, and defaults to false, in Elasticsearch 6.0, that
      setting defaults to true, and there is no way to disable it.
      
      If required and not appended, Elasticsearch would response with status 406,
      so "Content-Type: application/json" is appended from now on. Tested against
      Elasticsearch 5.5.1 and 6.1.1.
      
      Bug reported to slurm-users list from E.S. Rosenberg. Patch suggested didn't
      check the return code of curl_slist_append() and didn't free the slist.
      c7fd2e47