[slurm-users] scontrol return values

E.S. Rosenberg esr+slurm-dev at mail.hebrew.edu
Wed Mar 14 08:01:59 MDT 2018


Hi fellow slurm users,

Today I noticed that scontrol returns 0 when it denies a drain request
because no reason was supplied.
It seems to me that this is wrong behavior, it should return 1 or some
other error code so that scripts will know that the node was not actually
drain.

Thanks,
Eli

Slurm version: 2017.11.2
Platform: Debian
command run:
scontrol update node=${node} state=drain reason=""
or
scontrol update node=${node} state=drain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180314/69ac5693/attachment.html>


More information about the slurm-users mailing list