Hi, This issue doesn't affect our live traffic, but it is confusing to me why "sinfo -t idle" shows both DRAIN and IDLE. This question might have been asked before, and it might have been done purposely, so I would love to understand the rationale here.
The reason for nodes shown in "drain" state being displayed by sinfo -t idle is that those aren't states in terms of finete state machine, but rather a flags. When you're look at the output of `scontrol show node` for those the state will be shown as: >State=IDLE+DRAIN Starting from slurm 25.05[1] it will be possible to use sinfo with state combination specified like "idle+~drain" - the list of "states" separated by "+" will mean that all the states are required, and the "~" prefix negates the meaning. Let me know if that makes it more clear for you. cheers, Marcin [1]commits: 89e67427..f9e99750
I'm marking the case as info given. Should you have any questions, please reopen.
Thanks for the detailed answer! I'm clear on that now.