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

Also available in: Atom PDF