Ticket 8035 - sbatch --workdir option dropped without warning
Summary: sbatch --workdir option dropped without warning
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: User Commands (show other tickets)
Version: 19.05.0
Hardware: Linux Linux
: C - Contributions
Assignee: Tim Wickberg
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2019-11-01 03:16 MDT by b1airo
Modified: 2019-11-01 08:23 MDT (History)
0 users

See Also:
Site: -Other-
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed: 19.05.4
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments
patch adding NEWS re. --workdir going away (447 bytes, patch)
2019-11-01 03:16 MDT, b1airo
Details | Diff

Note You need to log in before you can comment on or make changes to this ticket.
Description b1airo 2019-11-01 03:16:58 MDT
Created attachment 12197 [details]
patch adding NEWS re. --workdir going away

The --workdir option was changed to --chdir in 17.11 (though not clear what the rational for changing it was..?), however the actual option was still valid and accepted by sbatch without any warning right up until 19.05.0-rc1 where it was pulled by https://github.com/SchedMD/slurm/commit/9118a41e13c2dfb347c19b607bcce91dae70f8c6. Given it was not properly deprecated in 17.11 it seems reasonable to at least call this behaviour change out in the NEWS file. Hence the attached patch.
Comment 1 Tim Wickberg 2019-11-01 08:23:18 MDT
Hi -

Although this isn't documented well in CONTRIBUTING.md, the NEWS file is not meant to be changed retroactively once a given release is tagged.

As a concession that this particular flag was not well, I've added an entry to RELEASE_NOTES (which we do try to avoid changing as well, but at least is more likely to be read prior to a system upgrade than individual NEWS lines) covering this. Commit details follow below.

- Tim

commit 12a27b1a9600e62b138b5a8cbe756d5fd2a4e28b (HEAD -> slurm-19.05, origin/slurm-19.05)
Author:     Tim Wickberg <tim@schedmd.com>
AuthorDate: Fri Nov 1 08:21:20 2019 -0600

    RELEASE_NOTES - mention cli argument cleanup work done for 19.05.
    
    Bug 8035.

diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index a390a9022f..d7c18dbcc8 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -135,6 +135,10 @@ HIGHLIGHTS
  -- Allocate nodes that are booting. Previously, nodes that were being booted
     were off limits for allocation. This caused more nodes to be booted than
     needed in a cloud environment.
+ -- Overhauled the salloc, sbatch, and srun command-line argument processing
+    code in support of the new cli_filter API. As part of this cleanup, some
+    older deprecated option forms have been removed, such as --mem_bind,
+    --share, and --workdir.