Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1829412

Summary: Unable to search by value of certain Hostgroup parameter
Product: Red Hat Satellite Reporter: Bharati Kailas Shahu <bshahu>
Component: ParametersAssignee: Kavita <kgaikwad>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: high    
Version: 6.6.0CC: ahumbe, anerurka, inecas, jjeffers, kgaikwad, orabin, pcreech, sigbjorn.lie, sigbjorn, svaughn
Target Milestone: 6.7.4Keywords: Regression, Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: foreman-1.24.1.27-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1874176 (view as bug list) Environment:
Last Closed: 2020-09-30 13:12:09 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 Bharati Kailas Shahu 2020-04-29 14:13:35 UTC
Description of problem:
When we try to search the hostgroups with the help of Host Parameter
value. On Satellite 6.6 and Satellite 6.7, this fails with an error  

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


How reproducible:
Always

Steps to Reproduce:

1. Login to Satellite > Configure -> Hostgroups > Select hostgroup[testgrp] > click on Parameter tab > Add a new Parameter

Name= cfme_catalog_display	
Type= String	
Value= yes

2. Login to Satellite > Configure -> Hostgroups > Enter below below
value in Search bar
 params.cfme_catalog_display=yes

Now when trying to search the hostgroups with the help of Host Parameter value. On Satellite 6.6 and Satellite 6.7, this fails with an error  "Field'params.cfme_catalog_display not recognized for searching' 

Also, on search bar unable to see any value/type option with "param."

Actual results:

Login to Satellite > Configure -> Hostgroups > Enter below below value in Search bar
 params.cfme_catalog_display=yes

fails with an error "Field'params.cfme_catalog_display not recognized for searching' 

Expected results:

Login to Satellite > Configure -> Hostgroups > Enter below below value in Search bar
 params.cfme_catalog_display=yes

Successfully able to search hostgrouop :testgrp, when searched with "params.cfme_catalog_display=yes" in search bar.

Additional info:

Same works perfectly in Red Hat Satellite 6.5.

On Satellite 6.5:

1. Login to Satellite > Configure -> Hostgroups > Slecet hostgroup[testgrp] > click on Parameter tab > Add a new Parameter.

Name: cfme_catalog_display
Value: yes

2. When we are trying to search with help of above Parameter value. On Satellite 6.5,  

Login to Satellite > Configure -> Hostgroups > Enter below below value in Search bar
 params.cfme_catalog_display=yes

Successfully able to search hostgrouop :testgrp, when searched with "params.cfme_catalog_display=yes" in search bar.

Comment 3 Kavita 2020-05-04 10:27:38 UTC
Created redmine issue https://projects.theforeman.org/issues/29683 from this bug

Comment 4 Bryan Kearney 2020-05-20 08:02:00 UTC
Upstream bug assigned to kgaikwad

Comment 6 Bryan Kearney 2020-07-14 16:06:25 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/29683 has been resolved.

Comment 16 Peter Ondrejka 2020-09-14 14:18:32 UTC
Verified on Satellite 6.7.4, parameter search (params.name =/~ value) works as expected on Hostgroup, OS, Subnet and Domain pages

Comment 21 errata-xmlrpc 2020-09-30 13:12:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.7.4 Async Bug Fix Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4127