-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
The node-mark-offline script skips nodes in the "mix-" state with the error: State "mix-" not yet handled; ignoring.
"mix-" seems to be a valid state indicating that a node is mixed and is "planned by the backfill scheduler for a higher priority job". Is there a reason that nodes in this state are being skipped?
The responsible code appears to be:
case "$STATUS" in
*'@'*|*'#'*|boot*|*-*|plnd*)
# These states aren't handled yet.
echo "$0: State "$STATUS" not yet handled; ignoring."
exit 0
As far as I can tell all the states being skipped are related to nodes being configured or rebooted or powering on/off except *-*. There are other states related to node power that include underscore in the state name; power_down, power_up, pow_dn, pow_up. Should the case statement be *_* instead of *-*?
Metadata
Metadata
Assignees
Labels
No labels