Azure/az-hop

fix return_to_idle to add dead nodes

Opened this issue · 0 comments

dead nodes are not treated by the return_to_idle.sh script, add the command to mark these nodes down.

scontrol update nodename=$(sinfo --dead | grep idle~ | cut -d'~' -f 2 | xargs | sed 's/ /,/g') state=down reason=dead