Project

General

Profile

Actions

Bug #3976

closed

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

Added by Abram Connelly over 9 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assigned To:
Tom Morris
Category:
Workbench
Target version:
-
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 over 9 years ago

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

Actions #2

Updated by Ward Vandewege over 9 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 over 9 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 over 9 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 over 9 years ago

  • Story points set to 0.5
Actions #6

Updated by Ward Vandewege over 9 years ago

  • Description updated (diff)
Actions #7

Updated by Tom Morris over 7 years ago

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

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #9

Updated by Peter Amstutz about 1 year ago

  • Release set to 60
Actions #10

Updated by Peter Amstutz about 2 months ago

  • Target version set to Future
Actions #11

Updated by Peter Amstutz about 2 months ago

  • Status changed from New to Closed
Actions #12

Updated by Peter Amstutz about 2 months ago

  • Release deleted (60)
  • Target version deleted (Future)
Actions

Also available in: Atom PDF