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 1247624 - Selecting other hostgroup when creating new host removes classes
Summary: Selecting other hostgroup when creating new host removes classes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Group
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-28 13:11 UTC by Maxim Burgerhout
Modified: 2019-09-26 18:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 20:07:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Maxim Burgerhout 2015-07-28 13:11:40 UTC
Description of problem:
Selecting a different hostgroup while creating a new host clears out the selected Puppet classes. The classes that come with a hostgroup are no longer shown as selected.

Version-Release number of selected component (if applicable):
6.1.0 beta
foreman-1.7.2.32-1.el7sat.noarch

How reproducible:


Steps to Reproduce:
1. Open 'New Host' dialogue
2. Select Hostgroup A
3. Change that to Hostgroup B

Actual results:
Puppet classes screen does not show pre-selected classes belonging to Hostgroup B as selected for this new host

Expected results:
Classes belonging to Hostgroup B should show as selected for this new host

Additional info:

Comment 1 Ohad Levy 2015-07-28 13:36:13 UTC
does it remove all classes (e.g. both host, hostgroup and config group classes) or rather just the classes that originate in the hostgroup that was changed?

Comment 2 Maxim Burgerhout 2015-07-29 10:47:45 UTC
After some more tests: it clears everything, but only after I click "Reset Puppet Environment to match selected Content View". The Puppet Environment does not change when I select a different Content View, so I need to do that. Before changing the Puppet Environment, classes are still selected.

And it clears all classes: it deselects the ones I selected manually for the new host before changing the Puppet environment (which is kind of expected) and it does not select the classes that should come selected automatically with the new hostgroup.

Comment 4 Tomer Brisker 2016-12-20 20:07:27 UTC
This appears to work correctly in Satellite 6.2.6. Closing, feel free to reopen if issue persists.


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