Bug 2120327

Summary: Discovery Organization setting is shown as Discovery Location setting
Product: Red Hat Satellite Reporter: Griffin Sullivan <gsulliva>
Component: SettingsAssignee: Leos Stejskal <lstejska>
Status: CLOSED ERRATA QA Contact: Shweta Singh <shwsingh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: apatel, mhulan, pcreech, rlavi
Target Milestone: 6.12.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_discovery-21.0.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:35:34 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 Griffin Sullivan 2022-08-22 14:48:24 UTC
Description of problem:
Under Discovery settings, there are two entries for Discovery Location and none for Discovery Organization. One of these entries is actually the Discovery Organization setting but the UI is overriding it as a duplicate Discovery Location setting.

Version-Release number of selected component (if applicable):
6.12 snap 7

How reproducible:
100%

Steps to Reproduce:
1. Go to Settings > Discovery

Actual results:
2 entries for Discovery Location, but one is mapped to organization.

Expected results:
1 entry for location and one entry for organization.

Comment 1 Brad Buckingham 2022-08-25 14:20:20 UTC
Is this a regression from 6.11?

Comment 2 Griffin Sullivan 2022-08-25 14:29:02 UTC
Yes this is a regression.

Comment 3 Leos Stejskal 2022-09-01 13:33:56 UTC
Created redmine issue https://projects.theforeman.org/issues/35474 from this bug

Comment 4 Bryan Kearney 2022-09-01 20:05:23 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35474 has been resolved.

Comment 5 Shweta Singh 2022-09-12 08:53:49 UTC
Verified.

Version Tested: Satellite 6.12 Snap 10.0

Verification Steps:
1. Navigate to Settings->Discovery on UI
2. Verify that no duplication of any setting(like location) should be present and "discovery organization" should be present and can be updated.   

Result: 
"discovery organization" setting is present and can be modified.

Comment 9 errata-xmlrpc 2022-11-16 13:35:34 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.12 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-2022:8506