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 1522934 - Searching with "not has" on params does not return expected results
Summary: Searching with "not has" on params does not return expected results
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts
Version: 6.2.12
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: 1546813
TreeView+ depends on / blocked
 
Reported: 2017-12-06 18:53 UTC by Dylan Gross
Modified: 2024-06-13 20:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-01 18:35:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dylan Gross 2017-12-06 18:53:13 UTC
Description of problem:

If a customer creates a custom Host Parameter (we'll call it "myparameter") for a number of Hosts, they can search on that parameter in the hosts search field with the following search and get the list of hosts that have it set:

   "has params.myparameter"

However, if they invert the search with the following, they get no hosts results returned.

   "not has params.myparameter"

This is not the situation with other searchable criteria (e.g. "has hostgroup" vs. "not has hostgroup").   This appears to only be related to searching for parameters (params).   This appears the same whether searching via API or via WebUI


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

  Satellite 6.2.12
  Also appears to be the same in Satellite 6.3 Beta

How reproducible:
Steps to Reproduce:
1.  Create a host parameter 
  under "Hosts", specific host, "Edit", Parameters tab, add parameter "myparameter" with some value.

2.  Search on hosts that do not have that parameter set.

Actual results:

   Under hosts, search for "has params.myparameter" and the hosts with the parameter will be returned in the result set.

   Invert the search with "not has params.myparameter" and the returned result set will be empty.


Expected results:

   The inverted "not has params.myparameter" should return all the hosts that do not have that parameter set.

Comment 10 Bryan Kearney 2019-07-02 18:02:08 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 13 Bryan Kearney 2019-08-01 18:35:37 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.

Comment 14 Red Hat Bugzilla 2023-09-14 04:13:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.