Red Hat Bugzilla – Bug 1247624
Selecting other hostgroup when creating new host removes classes
Last modified: 2016-12-20 15:07:27 EST
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):
Steps to Reproduce:
1. Open 'New Host' dialogue
2. Select Hostgroup A
3. Change that to Hostgroup B
Puppet classes screen does not show pre-selected classes belonging to Hostgroup B as selected for this new host
Classes belonging to Hostgroup B should show as selected for this new host
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?
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.
This appears to work correctly in Satellite 6.2.6. Closing, feel free to reopen if issue persists.