Bug 1672048

Summary: Unable to search according to MODULE (for machine supporting acpi_power_meter)
Product: [Retired] Beaker Reporter: Jaroslav Škarvada <jskarvad>
Component: web UIAssignee: Tomas Klohna 🔧 <tklohna>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: bpeck, breilly, cbeer, tklohna
Target Milestone: 26.5Keywords: Patch, Triaged
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-04-26 10:52:14 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 Jaroslav Škarvada 2019-02-03 11:32:18 UTC
Description of problem:
I want to search for machines which support 'acpi_power_meter', e.g. this one:
https://beaker.engineering.redhat.com/view/gold-4s-a.tpb.lab.eng.brq.redhat.com#keys

There is:
MODULE 	acpi_power_meter 

But in the search dialog when I select Key/Value, it seems there is no 'keyvalue' for the MODULE. Is there a way how to search for it?

Version-Release number of selected component (if applicable):
Beaker 26.3 

How reproducible:
Always

Steps to Reproduce:
1. Try to search for the machine supporting acpi_power_meter
2.
3.

Actual results:
No way to search

Expected results:
Way to search for MODULE acpi_power_meter

Additional info:

Comment 1 Jaroslav Škarvada 2019-02-05 14:29:52 UTC
With the XML query it seems the following works:
<key_value key="MODULE" value="acpi_power_meter"/>

But it seems there is no way how to construct this or similar query from the UI.

Comment 2 Tomas Klohna 🔧 2019-04-18 14:36:33 UTC
Hello Jaroslav,
looks like there is an issue with our UI, not sure why the values are not updated. 
One workaround in the UI would be to generate KeyValue search URL and then modify the params directly in the URL.

I will have a look at it.

Comment 3 Tomas Klohna 🔧 2019-04-18 15:12:58 UTC
Looks like MODULE and PCIID have been made obsolete because they got their own columns on the system table. But looking at the code, MODULE has been made obsolete somewhere in 2010 and just because they needed temporary workaround. It seems to have never received its proper column (or I cannot find it). I'm pretty sure we can un-obsolete the MODULE key.