Project

General

Profile

Actions

Bug #15014

closed

[Workbench] Hide busy/idle nodes display when crunch1 is not active

Added by Tom Clegg over 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench
Target version:
Story points:
-
Release relationship:
Auto

Description

The busy/idle nodes display on the dashboard is supposed to be hidden when it would be wrong/misleading, i.e., when info[slurm_state] is not updated in the nodes table because crunch_dispatch.rb is not running.

Currently, it's hidden when the crunch1 APIs are completely disabled (pipeline_instances.index API doesn't exist). This is true for a site that has never used crunch1, but it's not true for a site that has migrated to crunch2, isn't running crunch_dispatch.rb, but still allows users to view their old crunch1 pipelines/jobs.

The condition in source:apps/workbench/app/views/projects/_show_dashboard.html.erb could be changed:

-  if !PipelineInstance.api_exists?(:index)
+  if !PipelineInstance.api_exists?(:create)

Subtasks 1 (0 open1 closed)

Task #15668: Review 15014-wrong-node-countResolvedPeter Amstutz09/30/2019Actions

Related issues

Related to Arvados - Bug #11014: [Workbench] Hide the "idle/busy nodes" part of the dashboard if crunch1 APIs are disabledResolvedLucas Di Pentima03/17/2017Actions
Related to Arvados - Feature #15087: [Workbench] Show number of queued containers on dashboard (instead of busy/idle nodes)ResolvedPeter Amstutz06/14/2019Actions
Has duplicate Arvados - Bug #15036: [Crunch2] Idle/busy node count not accurate if crunch1 not runningDuplicateActions
Actions #1

Updated by Tom Clegg over 5 years ago

  • Category set to Workbench
Actions #2

Updated by Tom Clegg over 5 years ago

  • Related to Idea #10524: [Crunch2] In Crunch2-only environments, workbench should use "processes" instead of "pipelines and processes" and "workflows" instead of "pipeline templates" as is used in a mixed environment. added
Actions #3

Updated by Tom Clegg over 5 years ago

  • Related to deleted (Idea #10524: [Crunch2] In Crunch2-only environments, workbench should use "processes" instead of "pipelines and processes" and "workflows" instead of "pipeline templates" as is used in a mixed environment.)
Actions #4

Updated by Tom Clegg over 5 years ago

  • Related to Bug #11014: [Workbench] Hide the "idle/busy nodes" part of the dashboard if crunch1 APIs are disabled added
Actions #5

Updated by Tom Clegg over 5 years ago

  • Has duplicate Bug #15036: [Crunch2] Idle/busy node count not accurate if crunch1 not running added
Actions #6

Updated by Tom Clegg over 5 years ago

  • Related to Feature #15087: [Workbench] Show number of queued containers on dashboard (instead of busy/idle nodes) added
Actions #7

Updated by Tom Clegg about 5 years ago

  • Status changed from New to In Progress
Actions #11

Updated by Tom Morris about 5 years ago

  • Target version set to 2019-09-25 Sprint
Actions #12

Updated by Tom Clegg about 5 years ago

  • Assigned To set to Tom Clegg
  • Target version changed from 2019-09-25 Sprint to 2019-10-09 Sprint
Actions #17

Updated by Tom Clegg about 5 years ago

  • Status changed from In Progress to Resolved
Actions #18

Updated by Peter Amstutz almost 5 years ago

  • Release set to 22
Actions

Also available in: Atom PDF