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 1779638 - Unable to filter/search http-proxies using Organization/Location for Satellite UI.
Summary: Unable to filter/search http-proxies using Organization/Location for Satellit...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: Ian Ballou
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks: 1774324
TreeView+ depends on / blocked
 
Reported: 2019-12-04 12:21 UTC by Jameer Pathan
Modified: 2020-10-27 12:59 UTC (History)
3 users (show)

Fixed In Version: foreman-2.1.0-0, tfm-rubygem-katello-3.16.0-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 12:59:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28552 0 Normal Closed Unable to filter/search http-proxies using Organization/Location for UI. 2020-10-28 17:19:59 UTC
Foreman Issue Tracker 28792 0 Normal Closed product update proxy test - fix it 2020-10-28 17:20:00 UTC
Foreman Issue Tracker 29070 0 Normal Closed Searching for HTTP Proxy by Organization/Location is wrong in certain cases with Any Organization and Any Location 2020-10-28 17:20:00 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:59:49 UTC

Description Jameer Pathan 2019-12-04 12:21:20 UTC
Description of problem:
Unable to filter http-proxies using Organization/Location on Satellite UI.

Version-Release number of selected component (if applicable):
- Satellite 6.7.0 snap 1

How reproducible:
- Always

Steps to Reproduce:
1. Go to Infrastructure > HTTP Proxies
2. Create two or more HTTP Proxies having different organization assigned to them.
3. Use filter to search HTTP Proxies based on Organization/Location. OR
4. Switch to any other Organization.

Actual results:
- All the HTTP Proxies get listed for every Organization.

Expected results:
- HTTP Proxies should be listed based on Organization/Location assigned to them.

Additional info:

[root@hpe-ml350egen8-01 ~]# hammer http-proxy list --organization-id 3
---|-------------------------------
ID | NAME                          
---|-------------------------------
1  | proxy1
3  | proxy3                        
---|-------------------------------

[root@hpe-ml350egen8-01 ~]# hammer http-proxy list --organization-id 1
---|-------------------------------
ID | NAME                          
---|-------------------------------
1  | proxy1
2  | kjk                           
3  | proxy3                        
---|-------------------------------

Comment 3 Brad Buckingham 2019-12-19 22:06:15 UTC
Created redmine issue https://projects.theforeman.org/issues/28552 from this bug

Comment 4 Brad Buckingham 2020-01-17 18:30:31 UTC
Both the foreman and katello PRs have been merged; therefore, moving to POST.

Comment 7 Jameer Pathan 2020-02-10 11:30:44 UTC
FailedQA

Failed on:
- Satellite 6.7.0 snap 11

Test steps:
1. Go to Infrastructure > HTTP Proxies
2. Create two or more HTTP Proxies having different organization assigned to them.
3. Switch to Any Organization and Any Location
4. From search bar, try searching/filtering Http proxy based on location/organization.

Observation:
- Search based on Organization/Location from search tab of Http proxy 
page doesn't work.
- Now switching to different Organization/Locations shows Http proxies assigned to them.
So the part of this issue is fixed. Only filtering/searching http proxies from search bar
doesn't work as expected.

Comment 9 Ian Ballou 2020-02-24 22:58:33 UTC
My PR to Foreman to fix this has been merged.  Related redmine: https://projects.theforeman.org/issues/29070

Comment 10 Jameer Pathan 2020-06-05 14:08:54 UTC
Verified:

Verified with:
- Satellite 6.8.0 snap 3

Test steps:
1. Go to Infrastructure > HTTP Proxies
2. Create two or more HTTP Proxies having different organization assigned to them.
3. Switch to Any Organization and Any Location
4. From search bar, try searching/filtering Http proxy based on location/organization.

Observation:
- Search based on Organization/Location from search tab of Http proxy 
page worked as expected.

Comment 13 errata-xmlrpc 2020-10-27 12:59:33 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.8 release), 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:4366


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