Bug 1616163

Summary: [RFE] Extend `possible system` page with `LoanedTo` column for easier readability
Product: [Retired] Beaker Reporter: Yash Mankad <ymankad>
Component: web UIAssignee: Tomas Klohna 🔧 <tklohna>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: developCC: bpeck, breilly, cbeer, mastyk, tklohna
Target Milestone: 26.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-20 12:46:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yash Mankad 2018-08-15 07:02:46 UTC
Description of problem:
Whenever systems are not free to run jobs on, beaker usually displays a list of 'possible systems'[1]  the job can run on. In this list, it does not show systems that are idle, but have been loaned to a user/group and are marked Idle. Many systems which have been loaned out, are usually idle for months/weeks at a time.

It would be helpful if these show up in the list of possible systems, so if a user wishes to follow up with the beaker group owner or user regarding scheduling reservation for the idle systems, it would make it easier.

In our case, it would also help us put a number on how many systems are *actually* available in the beaker pool. For example, to run recipes on Power9, we are only looking for POWER9 Boston (ibm-p9b-) or POWER9 Witherspoon (ibm-p9-wr-) systems with two particular CPU model IDs, 5116417 or 5116418, as these correspond to the CPU models that we intend to support. For our recipes, beaker usually shows us a list of 15 possible systems, but we routinely come across systems that satisfy our requirements, but are loaned to other groups and are sitting idle for months. Here's an example of our recipe [2] that was Cancelled without finding a system.

[1] https://beaker.engineering.redhat.com/recipes/systems?recipe_id=XYZ
[2] https://beaker.engineering.redhat.com/recipes/5511813#installation

Comment 2 Tomas Klohna 🔧 2019-02-25 16:26:12 UTC
Hello Yash,
I have recently closed https://bugzilla.redhat.com/show_bug.cgi?id=1655770 by adding the LoanedTo column to the System page.

Can I close this or was your request also about modifying the query for possible systems?

Comment 3 Yash Mankad 2019-02-25 19:43:30 UTC
Hi Tomas,

If your bug addresses my concern, where Loaned/Idle systems are listed in the list of "possible systems" for recipes awaiting systems, then you can close it.
But I am not sure it does.

Although, your fix of adding a "LoanedTo" column is of big help as well! So thank you for addressing that!

Comment 4 Martin Styk 2019-02-27 12:05:18 UTC
Tomas, can you investigate it, please?

Comment 5 Martin Styk 2019-03-26 09:46:30 UTC
Beaker 26.4 has been released.