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 1383729 - Unable to filter Errata's applicable content hosts by environment using corresponding env dropdown
Summary: Unable to filter Errata's applicable content hosts by environment using corre...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.3.0
Hardware: x86_64
OS: Linux
low
low
Target Milestone: Unspecified
Assignee: Andrew Kofink
QA Contact: Ales Dujicek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 15:33 UTC by Andrii Balakhtar
Modified: 2021-06-10 11:35 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
wrong filtering on applicable content hosts list (56.59 KB, image/png)
2016-10-11 15:33 UTC, Andrii Balakhtar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17208 0 None None None 2016-11-03 18:46:10 UTC
Github Katello katello pull 6936 0 None None None 2017-09-18 19:43:39 UTC
Red Hat Bugzilla 1431254 0 medium CLOSED Errata "filter by lifecycle environment" does not filter content hosts properly 2021-06-10 12:02:30 UTC

Internal Links: 1431254

Description Andrii Balakhtar 2016-10-11 15:33:08 UTC
Created attachment 1209195 [details]
wrong filtering on applicable content hosts list

Description of problem:
`Filter by Environment` drop-down on Content-Hosts tab of Errata page seems not working and showing content hosts from all environments.

Version-Release number of selected component (if applicable):
Sat6.3 Beta SNAP 3

How reproducible:
Always

Steps to Reproduce:
1. Make sure you have errata and at least 2 applicable hosts in different environments
2. Navigate to Content -> Errata -> (errata-id) -> Content Hosts, try to filter hosts by environment

Actual results:
`Filter by Environment` drop-down doesn't filter content hosts by environment and shows all the content hosts regardless of selected environment.

Expected results:
`Filter by Environment` drop-down should correctly filter list of hosts by environment

Additional info:

Comment 2 Andrew Kofink 2016-11-03 18:46:09 UTC
Created redmine issue http://projects.theforeman.org/issues/17208 from this bug

Comment 3 Bryan Kearney 2016-11-04 14:13:34 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17208 has been resolved.

Comment 4 Walden Raines 2017-08-09 17:17:24 UTC
This doesn't work for me on 6.3.0 snap 9.  When selecting an environment I don't see the environment id included in the request to /api/v2/hosts/post_index and when I click the 'x' the environment is not cleared from the select.

Comment 5 Walden Raines 2017-08-10 14:34:10 UTC
(In reply to Walden Raines from comment #4)
> This doesn't work for me on 6.3.0 snap 9.  When selecting an environment I
> don't see the environment id included in the request to
> /api/v2/hosts/post_index and when I click the 'x' the environment is not
> cleared from the select.

Sorry, I now see that the environment is included in the search query but the selection still doesn't clear when the 'x' is clicked.  It is removed from the query but the UI isn't updated.

Comment 7 Neha Samant 2018-01-31 05:41:09 UTC
Hello,

We would like to have update on this as we need to inform the customer about the progress.

Thanks,
Neha

Comment 8 Andrew Kofink 2018-01-31 12:42:58 UTC
This patch has been verified in 6.3; you can expect it in 6.3 GA.

Comment 9 Satellite Program 2018-02-21 16:54:17 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, 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-2018:0336


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