Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1436538 - [RFE] Satellite 6 - New hosts does not provide options to exclude puppet classes coming from parent or nested hostgroups.
Summary: [RFE] Satellite 6 - New hosts does not provide options to exclude puppet clas...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Group
Version: Unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 260381
TreeView+ depends on / blocked
 
Reported: 2017-03-28 07:05 UTC by Amit Kumar Das
Modified: 2020-12-14 08:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-05 17:25:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 13102 0 Low New Exclude class from certain hosts 2021-01-28 11:48:34 UTC
Red Hat Knowledge Base (Solution) 3091641 0 None None None 2017-06-23 03:12:52 UTC

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.


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