Bug #1477
closedWhenever you switch environment for a host group - the host group looses its puppet classes.
Description
Whenever you switch environment for a host group - the host group looses its puppet classes. There's no warning and basically someone needs to memorize all the classes the host group had assigned.
I'd expect a warning message notifying about such a major impact, or memorizing the list of already assigned classes somewhere for easy retrieval.
Updated by Benjamin Papillon about 12 years ago
- Status changed from New to Closed
This bug has been fixed in 1.1 at least and you now have an option to manage mismatches between environments. You can see #2124 for more informations
Updated by Dominic Cleal over 11 years ago
Re-opening as it sounds like the UI issue may still exist, even though the mismatch problem was fixed.
Updated by Jon McKenzie about 11 years ago
Any update on this issue? This problem is pretty devastating to the use of hostgroups for class management.
We're currently using Foreman 1.4.2 on CentOS 6.
Updated by Jon McKenzie about 11 years ago
By the way, there seem to be two workarounds for this issue:
- Use hammer (or the API) to update the hostgroup, not the UI
- If updating via the UI, change the environment in the dropdown (which will remove the classes from the Puppet Classes tab), and then refresh the page. The environment will remain the same, but if you navigate back to the Puppet Classes tab, the original classes will reappear. Click Submit.
So this does seem to be isolated to the UI.
Updated by Ondřej Pražák almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 8b98d8e0a1158f56a952cdf3afd45caab363b285.