<div dir="ltr"><div>Hi fellow slurm users,<br></div><div><br>Today I noticed that scontrol returns 0 when it denies a drain request because no reason was supplied.<br></div><div>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.<br><br></div><div>Thanks,<br></div><div>Eli<br><br></div><div>Slurm version: 2017.11.2<br></div><div>Platform: Debian<br></div><div>command run:<br>scontrol update node=${node} state=drain reason=""<br></div><div>or<br>scontrol update node=${node} state=drain <br></div></div>