Bug 2163582

Summary: Change Content Source LCE dropdown shows multiple Library entries
Product: Red Hat Satellite Reporter: Jeremy Lenz <jlenz>
Component: Hosts - ContentAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Ian Ballou <iballou>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: iballou, jlenz, pcreech, sajha
Target Milestone: 6.13.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.7.0.15-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 13:24: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:
Attachments:
Description Flags
dropdown showing multiple Library selections none

Description Jeremy Lenz 2023-01-24 00:16:37 UTC
Description of problem:

When I go to change a host's content source, first I select a content source, and the next selection I must make is Lifecycle Environment. It appears that this dropdown contains multiple items for 'Library'.

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


How reproducible: always


Steps to Reproduce:
1. Create at least one extra org
2. Create at least one content view in Default Organization (this will make the problem easier to see)
3. Register a host to Default Organization
4. Go to change that host's content source (host details > kebab > Change Content Source)
5. Select the Satellite as the content source
6. Observe the selections for Lifecycle Environment

Actual results:
There are multiple 'Library' selections in the dropdown. I think it's one for each organization.

If I select the first Library, the selections in the subsequent 'Content view' dropdown are those of Default Organization. If I select the second Library, the content view selection is just 'Default Organization View' since I hadn't created any CVs in my other org.


Expected results:
There is only one 'Library' selection in the dropdown. Which Library it is depends on the organization selector.


Additional info:

Comment 1 Jeremy Lenz 2023-01-24 00:17:25 UTC
Created attachment 1940123 [details]
dropdown showing multiple Library selections

Comment 2 Partha Aji 2023-01-26 15:43:32 UTC
Connecting redmine issue https://projects.theforeman.org/issues/35559 from this bug

Comment 4 Bryan Kearney 2023-02-17 16:03:19 UTC
Upstream bug assigned to lufu

Comment 5 Bryan Kearney 2023-02-17 16:03:21 UTC
Upstream bug assigned to lufu

Comment 10 errata-xmlrpc 2023-05-03 13:24: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.13 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-2023:2097