Commit f8ca2840 authored by Moe Jette's avatar Moe Jette
Browse files

01_Cray-scontrol-warning-node-update.diff

scontrol: warn user that base node state can not be changed on Cray

The base node state (UP, DOWN, ALLOCATED, ...) is handled by ALPS and inferred
from reading the output of ALPS inventory requests.

To avoid inconsistencies, it is not possible for a user to alter this node state.
This patch adds a warning to scontrol if a user wants to change node state through
slurm:

palu> scontrol update NodeName=nid00171 State=DOWN
State=DOWN can not be changed through slurm: use native Cray tools such as e.g. xtprocadmin(8)

The 'meta' states such as DRAIN can still be changed.
parent 3e7505dd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment