Bug #12834

[Crunch2] Node record's crunch_worker_state field is not populated

Added by Ward Vandewege 12 months ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

In a containers api only scenario, the crunch_worker_state field on the node record is never updated.

# sinfo
PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST
compute*     up   infinite     63 drain* compute[4,6-67]
compute*     up   infinite    445  down* compute[0,68-511]
compute*     up   infinite      4  alloc compute[1-3,5]
crypto       up   infinite     63 drain* compute[4,6-67]
crypto       up   infinite    445  down* compute[0,68-511]
crypto       up   infinite      4  alloc compute[1-3,5]

# RAILS_ENV=production bundle exec rails c
2.3.0 :003 >   Node.where(:slot_number => 1).first.crunch_worker_state
 => "down" 

This means we can't show busy/idle nodes in Workbench, the values are always zero.

History

#1 Updated by Ward Vandewege 12 months ago

  • Status changed from New to In Progress

#2 Updated by Ward Vandewege 12 months ago

  • Description updated (diff)
  • Status changed from In Progress to New

Also available in: Atom PDF