Skip to content
Snippets Groups Projects
Commit a53716e2 authored by Moe Jette's avatar Moe Jette
Browse files

Add new error code for invalid node state.

parent 90932071
No related branches found
No related tags found
No related merge requests found
.TH "Slurm API" "3" "July 2003" "Morris Jette" "Slurm administrative calls"
.TH "Slurm API" "3" "August 2003" "Morris Jette" "Slurm administrative calls"
.SH "NAME"
slurm_init_part_desc_msg,
slurm_reconfigure, slurm_shutdown, slurm_update_job,
......@@ -94,6 +94,9 @@ On success, zero is returned. On error, -1 is returned, and the Slurm error code
.LP
\fBESLURM_INVALID_NODE_NAME\fR the requested node name(s) is/are not valid.
.LP
\fBESLURM_INVALID_NODE_STATE\fR the specified state node state or requested node
state transition is not valid.
.LP
\fBESLURM_INVALID_PARTITION_NAME\fR the requested partition name is not valid.
.LP
\fBESLURM_ACCESS_DENIED\fR the requesting user lacks authorization for the requested action (e.g. trying to delete or modify another user's job).
......
......@@ -122,6 +122,7 @@ enum {
ESLURM_BAD_TASK_COUNT,
ESLURM_INVALID_JOB_CREDENTIAL,
ESLURM_IN_STANDBY_MODE,
ESLURM_INVALID_NODE_STATE,
/* Quadrics Elan routine error codes */
ENOSLURM = 3000,
......
......@@ -145,6 +145,8 @@ static slurm_errtab_t slurm_errtab[] = {
"Error generating job credential" },
{ ESLURM_IN_STANDBY_MODE,
"Slurm backup controller in standby mode" },
{ ESLURM_INVALID_NODE_STATE,
"Invalid node state specified" },
/* Quadrics Elan routine error codes */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment