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