Bug 1436538

Summary: [RFE] Satellite 6 - New hosts does not provide options to exclude puppet classes coming from parent or nested hostgroups.
Product: Red Hat Satellite Reporter: Amit Kumar Das <amdas>
Component: Host GroupAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: amdas, bbuckingham, inecas, jcallaha, tbrisker
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-05 17:25:58 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:
Bug Depends On:    
Bug Blocks: 260381    

Description Amit Kumar Das 2017-03-28 07:05:46 UTC
Description of problem:

During provisioning hosts, new hosts does not provide options to exclude puppet classes coming from parent or nested hostgroups.

Customer wants to remove puppet classes which are already included and listed in
"Included Classes" section. This listed classes are coming/inherited from the selected hostgroup in 'Host Group' dropdown under Host tab. These hostgroup can be either parent or nested.

How reproducible:
Steps to Reproduce:
1. Create new host group (Configure>Host Groups> New Host Group)
2. Under Host Group tab, select appropriate CV and Puppet Environment.
3. Select Puppet Class tab, and add some modules and submit. Here, I selected four classes. You can create nested hostgroup as well and add more puppet classes.

4. Hosts>New Hosts> Select Host Group (Parent host group or Nested Host).
5. Under Puppet Class tab, all the puppet classes listed in "Included Classes". These inherited classes be excluded and are grey-out. 

Actual results:
We can add new classes during new host provisioning. But we do not have option to exclude puppet classes which are coming from hostgroup.

Expected results:
Customer want to exclude the puppet classes that's been inherited into a new host through selected hostgroup. 

Additional info:
Looking on Foreman projects there appears to be an existing RFE: http://projects.theforeman.org/issues/6416
linked to bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1294074

However, the bugzilla is more around excluding inherited modules from nested hostgroups whereas our focus is on excluding them directly on hosts. Even we select parent hostgroup or nested hostgroup, we should be able to exclude the puppet classes from the hosts listed in "Included Classes".

Comment 4 Ivan Necas 2017-09-28 05:59:20 UTC
Connecting redmine issue http://projects.theforeman.org/issues/13102 from this bug

Comment 6 Bryan Kearney 2017-10-05 17:25:58 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.