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 1966942

Summary: After creating new host group or Http proxy, page doesn't redirect to main landing page.
Product: Red Hat Satellite Reporter: Jameer Pathan <jpathan>
Component: NavigationAssignee: Tomer Brisker <tbrisker>
Status: CLOSED ERRATA QA Contact: tstrych
Severity: medium Docs Contact:
Priority: medium    
Version: 6.10.0CC: ahumbe, ehelms, inecas, kgaikwad, oezr, tbrisker, zhunting
Target Milestone: 6.10.0Keywords: Regression, Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-2.5.2.15-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:11:21 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 Jameer Pathan 2021-06-02 08:06:36 UTC
Description of problem:
After creating new Http proxy, page doesn't redirect to main landing page.

Version-Release number of selected component (if applicable):
- Satellite 6.10.0 snap 2

How reproducible:
- Always

Steps to Reproduce:
1. Go to Infrastructure > HTTP Proxies > New HTTP Proxy 
2. Add proxy Name and url
3. Click on submit

Actual results:
- Page doesn't redirect to main HTTP Proxy page

Expected results:
- Page redirects to main HTTP Proxy page and show all http proxies created.

Additional info:

Comment 2 Jameer Pathan 2021-07-02 09:25:21 UTC
I am seeing same behavior while creating a host group.

Comment 3 Tomer Brisker 2021-07-22 08:09:17 UTC
*** Bug 1980313 has been marked as a duplicate of this bug. ***

Comment 4 Tomer Brisker 2021-07-22 08:10:32 UTC
Jameer, is this still the case in more recent snaps?

Comment 5 Jameer Pathan 2021-07-26 09:22:24 UTC
(In reply to Tomer Brisker from comment #4)
> Jameer, is this still the case in more recent snaps?

Yes, I still see this issue on snap 10.

Comment 6 Tomer Brisker 2021-07-28 09:46:40 UTC
Further investigation:
Looks like this only occurs when the previous page is not the index page - e.g. when getting to the form directly from the login page, or from a welcome page when there are no resources of the type yet. When clicking on "create" button in the index page the redirect is done correctly. Updating component to Navigation.

Comment 7 Ondřej Ezr 2021-07-29 08:55:00 UTC
Created redmine issue https://projects.theforeman.org/issues/33177 from this bug

Comment 8 Bryan Kearney 2021-07-29 12:06:34 UTC
Upstream bug assigned to ymakias

Comment 9 Bryan Kearney 2021-07-29 12:06:39 UTC
Upstream bug assigned to ymakias

Comment 16 Bryan Kearney 2021-09-01 12:05:00 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33177 has been resolved.

Comment 20 tstrych 2021-09-23 15:39:48 UTC
Hi Tomer, this solution works for http proxies but it doesn't for host groups. Host groups are mentioned in comment #2.
 So I guess I should put it into Failed_qa. Let me know what do you think. Thanks

Comment 21 Tomer Brisker 2021-10-05 13:12:48 UTC
Looks like the hostgroups page indeed uses a different mechanism for the redirects. Please fail, i'll work on a fix for the hostgroups page as well.

Comment 22 Tomer Brisker 2021-10-05 13:21:37 UTC
Added new upstream issue with the fix for the hostgroups page.

Comment 23 tstrych 2021-10-06 07:55:09 UTC
FailedQA.

Comment 24 Tomer Brisker 2021-10-06 07:57:06 UTC
Additional upstream has been merged, moving to MODIFIED for cherry-picking to next snap.

Comment 26 tstrych 2021-10-14 12:18:05 UTC
Verified with sat 6.10 snap 22. 
Both http proxy and hostgroups works as expected.

Comment 29 errata-xmlrpc 2021-11-16 14:11:21 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 (Moderate: Satellite 6.10 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-2021:4702