Bug 1915943

Summary: Puppet Environments are not listed properly in the SCP details page
Product: Red Hat Satellite Reporter: Vladimír Sedmík <vsedmik>
Component: PuppetAssignee: Tomer Brisker <tbrisker>
Status: CLOSED ERRATA QA Contact: Vladimír Sedmík <vsedmik>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: tbrisker
Target Milestone: 6.9.0Keywords: EasyFix, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: foreman-2.3.1.8-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:25:03 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
screenshot 1
none
screenshot 2
none
screenshot 3 none

Description Vladimír Sedmík 2021-01-13 19:11:22 UTC
Created attachment 1747164 [details]
screenshot 1

Description of problem:
The Puppet Environments are not listed properly in Smart Class Parameters details page, based on the selected Organization taxonomy.


Version-Release number of selected component (if applicable):
6.8.2, 6.9.0


How reproducible:
always


Steps to Reproduce:
1. Have a Satellite with two or more organizations and two or more puppet environments containing a class with parameters
2. Go to Configure > Classes > select some class with params > tab "Smart Class Parameter"
3. See the Puppet Environments field and try to change the Organization scope


Actual results:
environments are not listed properly, for example:
", common, and production"
"KT_abc_Library_def_1, common, and"
", , and KT_abc_Library_def_1"


Expected results:
better phrasing


Additional info:
see the attached screenshots

Comment 1 Vladimír Sedmík 2021-01-13 19:13:02 UTC
Created attachment 1747166 [details]
screenshot 2

Comment 2 Vladimír Sedmík 2021-01-13 19:13:39 UTC
Created attachment 1747167 [details]
screenshot 3

Comment 3 Tomer Brisker 2021-01-14 08:56:00 UTC
Created redmine issue https://projects.theforeman.org/issues/31625 from this bug

Comment 4 Bryan Kearney 2021-01-15 14:04:04 UTC
Upstream bug assigned to tbrisker

Comment 5 Bryan Kearney 2021-01-15 14:04:06 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31625 has been resolved.

Comment 7 Vladimír Sedmík 2021-03-02 09:07:10 UTC
Verified on 6.9.0 snap 15, environments are now displayed as expected.

Comment 10 errata-xmlrpc 2021-04-21 13:25:03 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.9 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:1313