Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Easy way to discover which tasks are using VMs from a pool #1162

Closed
jagunter opened this issue Aug 18, 2021 · 0 comments · Fixed by #1169 or #1170
Closed

Easy way to discover which tasks are using VMs from a pool #1162

jagunter opened this issue Aug 18, 2021 · 0 comments · Fixed by #1169 or #1170
Assignees
Labels
enhancement New feature or request

Comments

@jagunter
Copy link
Member

If a pool is running low on the number of available VMs, it would be nice to have an easy way to discover which jobs are consuming the most VMs from the pool. Current options:

  1. Use OneFuzz CLI to list tasks and filter based on the impacted pool, and retrieve relevant data. This works though is a bit cumbersome.
onefuzz tasks list --query "[?config.pool.pool_name == '$POOL_NAME'].{vm_count: config.pool.count, tags: config.tags, job_id: job_id, task_id: task_id}"
  1. Use onefuzz status top to view the list of tasks and pools. This is much cleaner, but unfortunately while this view shows the tasks and pools, it does not the number of VMs used by the tasks. Maybe it should?
@jagunter jagunter added the enhancement New feature or request label Aug 18, 2021
@ghost ghost added the Needs: triage label Aug 18, 2021
@jagunter jagunter changed the title Easy way to discover which jobs are using VMs from a pool Easy way to discover which tasks are using VMs from a pool Aug 18, 2021
@bmc-msft bmc-msft self-assigned this Aug 23, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
2 participants