Bug 2258016

Summary: Provisioning discovered host redirects to old host UI
Product: Red Hat Satellite Reporter: Gaurav Talreja <gtalreja>
Component: Discovery PluginAssignee: nalfassi
Status: CLOSED ERRATA QA Contact: Gaurav Talreja <gtalreja>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.15.0CC: ahumbe, lstejska, nalfassi, rlavi, zhunting
Target Milestone: 6.15.0Keywords: EasyFix, Triaged, UserExperience
Target Release: Unused   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: foreman_discovery-23.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:17:10 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 Gaurav Talreja 2024-01-12 06:52:02 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.15.0 snap 5.0

How reproducible:
always

Steps to Reproduce:
1. Prepare Satellite with provisioning and discovery setup.
2. Navigate to Hosts -> Discovered Host -> Select host and provision -> Create Host

Actual results:
after provision it still redirects to old Host Details page in WebUI 

Expected results:
after provision it should redirects to new Host Details page in WebUI 

Additional info:

Comment 1 Gaurav Talreja 2024-01-12 07:43:11 UTC
I check it for another run and it redirects to old host details page whether we customize or create host directly while provisioning discovered host.

Comment 4 Leos Stejskal 2024-01-18 12:36:10 UTC
Is this a regression? I believe it's not, so I suggest to remove it from the 6.15 scope

Comment 5 nalfassi 2024-01-19 12:47:43 UTC
Created redmine issue https://projects.theforeman.org/issues/37068 from this bug

Comment 7 Bryan Kearney 2024-01-25 12:02:56 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/37068 has been resolved.

Comment 8 Gaurav Talreja 2024-02-06 08:21:45 UTC
Verified.

Tested on Satellite 6.15.0 Snap 9.0

Steps:
1. Prepare Satellite with provisioning and discovery setup.
2. Navigate to Hosts -> Discovered Host -> Select host and provision -> Create Host
OR 
2. Navigate to Hosts -> Discovered Host -> Select host and provision -> Customize Host
3. Try setting "New host details UI" to No, and repeat step2

Observations:
After provision it redirects to new Host Details page in WebUI as expected
Also, now with this fix it depends on setting "New host details UI" which is default to Yes, which will redirect to new host details page and when it is No it'll redirect to old host details page, as expected.

Comment 11 errata-xmlrpc 2024-04-23 17:17:10 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.15.0 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-2024:2010