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 1997921 - Old Registration URL doesn't redirect to the new Registration steps in the Satellite GUI
Summary: Old Registration URL doesn't redirect to the new Registration steps in the Sa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Registration
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: 6.10.0
Assignee: satellite6-bugs
QA Contact: addubey
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-26 04:26 UTC by Avnish Kumar
Modified: 2021-11-16 14:13 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-katello-4.1.1.22-1,tfm-rubygem-katello-4.1.1.28-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:13:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Old Content Host Registration (114.67 KB, image/jpeg)
2021-08-26 04:26 UTC, Avnish Kumar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33442 0 Normal Closed Old Registration URL doesn't redirect to the new URL 2021-09-15 11:20:26 UTC
Github Katello katello pull 9621 0 None Merged Fixes #33442 - Old Registration URL doesn't redirect to the new URL 2021-09-15 11:21:20 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:13:45 UTC

Description Avnish Kumar 2021-08-26 04:26:16 UTC
Created attachment 1817709 [details]
Old Content Host Registration

Created attachment 1817709 [details]
Old Content Host Registration

Description of problem:
Old Registration URL doesn't redirect to the new Registration steps in the Satellite GUI

Old URL: https://satellite.example.com/content_hosts/register
New URL: https://satellite.example.com/hosts/register

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

How reproducible:
Always

Steps to Reproduce:
1. Old Registration steps: Satellite GUI >> Hosts >> Content Hosts >> Register Content Hosts
 
2. Open https://satellite.example.com/content_hosts/register
3. Does not Click or redirect to New registration information.

Actual results:
Shows ERROR as "Resource host not found by id 'register'" & messages as "This Host is not currently registered with subscription-manager. Click here for registration information". But doesn't redirect to the new Registration steps.

Expected results:
Either we could disable the old Registration URL or redirect to the new Registration URL. Hosts >> Register Host

Additional info:

Comment 6 Leos Stejskal 2021-09-01 14:18:26 UTC
I've been looking into it and sadly I couldn't find (easy) way how to do it.
This code part is done in Angular, which I don't have much knowledge about,
changing rail's routes.rb didn't have any affect at it.
And so far I wasn't able to find the way how to do redirect from Angular router to another page (which is managed by React for a change).

Comment 7 Leos Stejskal 2021-09-09 12:54:31 UTC
Created redmine issue https://projects.theforeman.org/issues/33442 from this bug

Comment 11 addubey 2021-10-05 11:08:30 UTC
Verified.


Tested on: Satellite-6.10.0 Snap 21.0


Steps followed: 

1. Registration steps: Satellite GUI >> Hosts >> Content Hosts >> Register Content Hosts



Observation: Clicking on the (Register Content Host) button redirects to Hosts >> Register Host.

Comment 14 errata-xmlrpc 2021-11-16 14:13:37 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


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