Task #3239

Feature #2881: [OPS] Basic node manager that can start/stop compute nodes based on demand

fix update_node_attributes script and/or merge its remaining functionality into crunch-dispatch

Added by Ward Vandewege about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
09/22/2014
Due date:
% Done:

100%

Estimated time:
(Total: 2.00 h)

Description

this script updates the node objects with information about what is running on them, which us information used by node manager


Subtasks

Task #3944: Review 2881-node-has-job-wipResolvedTom Clegg

Associated revisions

Revision eb430e77 (diff)
Added by Ward Vandewege about 6 years ago

Only symbols in the info hash.

refs #3239

Revision 96f92378 (diff)
Added by Ward Vandewege about 6 years ago

Non-existant node object is not a fatal state; node manager will create
those objects as needed.

refs #3239

Revision 3b613232 (diff)
Added by Ward Vandewege about 6 years ago

crunch_dispatch: when a Node object state is changed to not alloc/comp,
make sure to change the running_job_uuid field to nil.

refs #3239

Revision 1adc3603 (diff)
Added by Ward Vandewege about 6 years ago

crunch-dispatch: be aware of more possible slurm states

refs #3239

Revision 51422b1c (diff)
Added by Ward Vandewege about 6 years ago

update_node_attributes: be aware of more possible slurm states

refs #3239

History

#1 Updated by Tim Pierce about 6 years ago

  • Category set to Crunch

#2 Updated by Brett Smith almost 6 years ago

update_node_attributes sets node.info[:running_job_uuid]. We would rather start expressing this as a relationship, each Node has one Job, so that querying Nodes will use the existing permission code to determine access to the Job UUID. Job queries can join with the Node table to return the full set of Nodes running it.

This seems to be the only functionality left that update_node_attributes currently does that crunch-dispatch doesn't.

#3 Updated by Brett Smith almost 6 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF