Actions
Feature #15087
closed[Workbench] Show number of queued containers on dashboard (instead of busy/idle nodes)
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench
Target version:
Story points:
1.0
Release:
Release relationship:
Auto
Description
Background: Currently Workbench1 has "busy/idle nodes" counters on the dashboard, but they stop working or disappear if the deprecated crunch1 services are not running. This issue suggests a low-cost way to maintain some semblance of an "is anything happening?" indicator on Workbench after migrating to crunch2.
Feature: On the Workbench1 dashboard, if crunch2 is enabled, show- the number of containers (visible to the current user) that have
state=Locked
, orstate=Queued
andpriority>0
- the number of containers (visible to the current user) that have
Running
- time since the earliest start time of any running container (visible to the current user)
- how long the oldest visible queued container has been waiting
- Easy to implement1 in Workbench in a way that works with all dispatch setups
- Corresponds to reasonable user expectations ("it shouldn't take 2 hours to start a container")
- "Lots of other users' containers are queued ahead of yours" looks identical to "nothing is running at all" (assuming user is not admin)
- "Cluster is at capacity, with long-running containers" looks identical to "cluster is unable to run anything at all"
- Doesn't take advantage of the metrics we are (or could be) tracking in arvados-dispatch-cloud, like recent queued-to-starting delays and # busy/idle/booting cloud instances.
1 Assuming we aren't too picky about the definition of "oldest" -- currently we don't record how long a container has been ready to run, only when it was created (since when it might have spent lots of time having priority=0) and when it was last modified (at which point it might have merely raised its priority long after it was ready to run)
Actions