Summary: | "sinfo -t idle" shows DRAIN node | ||
---|---|---|---|
Product: | Slurm | Reporter: | thanhnh |
Component: | Accounting | Assignee: | Marcin Stolarek <cinek> |
Status: | RESOLVED INFOGIVEN | QA Contact: | |
Severity: | 4 - Minor Issue | ||
Priority: | --- | CC: | cinek |
Version: | 24.05.4 | ||
Hardware: | Linux | ||
OS: | Linux | ||
See Also: | https://support.schedmd.com/show_bug.cgi?id=21428 | ||
Site: | FB (PSLA) | 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: | ||
Target Release: | --- | DevPrio: | --- |
Emory-Cloud Sites: | --- |
Description
thanhnh
2025-04-15 18:21:27 MDT
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. |