Bug 1145244 - Cannot select puppet classes when creating new Host Group
Summary: Cannot select puppet classes when creating new Host Group
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-22 15:44 UTC by Vladimir Vasilev
Modified: 2017-02-23 20:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:16:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Works as expected... (127.43 KB, image/png)
2015-02-16 12:26 UTC, Tom Caspy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Vladimir Vasilev 2014-09-22 15:44:53 UTC
Description of problem:
When I try to create new Host Group and add some puppet classes to it I'm always getting "Warning. Please select an environment first" although I selected puppet environment. 

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


How reproducible:
100%

Steps to Reproduce:
1. Go to Configure -> Host Groups -> New Host Group
2. Put some name, select puppet environment 
3. Go to "Puppet Classes"

Actual results:
Warning. Please select an environment first.

Expected results:
Display available puppet classes.

Additional info:
As a work-around I did an empty "Content View" assigned to "Library", then in the New Host Group page I choose the Lifecycle Environment with the Content View, then click on "Puppet Classes" to "unlock" it, then go back to the main tab and switch back to empty Lifecycle Environment, choose desired Puppet Environment and go to Puppet Classes.

Also the message is misleading, it could be Lifecycle Environment or Puppet Environment.

Comment 1 RHEL Program Management 2014-09-22 15:53:22 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2014-09-23 07:52:31 UTC
Setting to Katello as it might be an interaction with the additional combo boxes.

Comment 5 Tom Caspy 2015-02-16 12:26:20 UTC
Created attachment 992160 [details]
Works as expected...

This worked as expected in my test. Could be that the original test used a DB which doesn't have any puppet classes or that there were no classes associated with the selected environments?

Comment 6 Ohad Levy 2015-03-01 14:19:52 UTC
AFAIU this happens due to defacing katello does on the form, changing back to katello.

Comment 7 Justin Sherrill 2015-03-06 18:23:38 UTC
This should be resolved in 6.1 builds already.

Comment 9 Kedar Bidarkar 2015-03-26 10:53:25 UTC
I used foreman_scap_client puppet-module to test this.

a) Installed the puppet-foreman_scap_client rpm
b) Installing this would make foreman_scap_client module get added to '/usr/share/puppet/modules/'
c) Now added 'foreman_scap_client' to 'example_env' via the puppet-class via the import button.
d) Now when creating a Host-Group, I selected the puppet-environment as "example-env", this does show up 'foreman_scap_client' under the "puppet-classes" tab.

VERIFIED with Satellite-6.1.0-RHEL-7-20150320.1

Comment 10 Bryan Kearney 2015-08-11 13:29:27 UTC
This bug is slated to be released with Satellite 6.1.

Comment 11 errata-xmlrpc 2015-08-12 05:16:52 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, 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-2015:1592


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