Project

General

Profile

Actions

Bug #3976

open

[API] Non-admin users should see all nodes with crunch_worker_state busy/idle, regardless of ping age.

Added by Abram Connelly over 10 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assigned To:
Tom Morris
Category:
Workbench
Target version:
-
Start date:
09/24/2014
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

Desired behavior:
  • Show busy and idle nodes regardless of last_ping_at.
Fix:
  • In NodesController#index, filter with something like Node.all.select { |node| ['busy','idle'].includes? node.crunch_worker_state } instead of last_ping_at.

Original bug description below. The actual problem with ping_at not being set on 9tee4 has already been fixed.

Current behavior:
  • 'Queued jobs', 'Busy nodes' and 'Idle nodes' all show 0. Screenshot attached.
  • Investigation reveals node_ping_at is old (evidently ping stopped working ~Sep3).

Files

comput_status_0.jpg (59.1 KB) comput_status_0.jpg Abram Connelly, 09/24/2014 03:41 PM
Actions

Also available in: Atom PDF