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 about 10 years ago. Updated over 3 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 #1

Updated by Ward Vandewege about 10 years ago

Looks like a permissions problem, I can see the numbers fine with an admin account.

Actions #2

Updated by Ward Vandewege about 10 years ago

  • Subject changed from 9tee4 does not have proper 'Compute status' information in workbench to [Workbench] 9tee4 does not have proper 'Compute status' information in workbench
Actions #3

Updated by Tim Pierce about 10 years ago

  • Subject changed from [Workbench] 9tee4 does not have proper 'Compute status' information in workbench to [Workbench] users do not have permission to see 'compute status' information
  • Category set to Workbench
  • Assigned To set to Tim Pierce
  • Target version changed from Bug Triage to Arvados Future Sprints

Confirmed, non-admin accounts see 0 for all node status information in the Compute status dashboard pane.

Actions #4

Updated by Tom Clegg about 10 years ago

  • Subject changed from [Workbench] users do not have permission to see 'compute status' information to [API] Non-admin users should see all nodes with crunch_worker_state busy/idle, regardless of ping age.
  • Description updated (diff)
Actions #5

Updated by Tom Clegg about 10 years ago

  • Story points set to 0.5
Actions #6

Updated by Ward Vandewege about 10 years ago

  • Description updated (diff)
Actions #7

Updated by Tom Morris about 8 years ago

  • Assigned To changed from Tim Pierce to Tom Morris
Actions #8

Updated by Ward Vandewege over 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF