Bug #9532
closedRemoving environment from a host in hostgroup that has environment silently picks hostgroup environment
Description
1. Pick a host with an environment and a connected hostgroup
2. Make sure the hostgroup has an environment.
3. Edit the hot and remov the environment.
The host is saved with the environment that is inherited from the hostgroup.
There are two problems
1. The edit form doesn't show that the environment was chosen from the hostgroup so it appears to be empty until save
2. If the environment is intentionally left blank there should be a validation error and not a silent selection
Updated by Dominic Cleal over 9 years ago
- Related to Bug #6369: Unable to create host without Puppet master when specified on host group added
Updated by Dominic Cleal over 9 years ago
- Related to Feature #9301: Support hosts with no Puppet Environment added
Updated by Dominic Cleal over 9 years ago
- Category changed from Web Interface to Host creation
Updated by Marek Hulán over 9 years ago
Just for the record, the same applies to artchitecture, os etc
Updated by Dominic Cleal over 9 years ago
Indeed, kind of by design... or at least, we have be sure that it works correctly from the API if fixed in the UI. I don't know why it was only fixed for two fields in #6369.
Updated by Dominic Cleal over 9 years ago
- Related to Bug #9591: Override puppet configuration on host level does not work if specified on host group added
Updated by Dominic Cleal about 9 years ago
- Status changed from New to Resolved
I believe this is now fixed since #9591 was merged, although Marek's comment about architecture etc is still the case. I don't feel that the solution in 9591 would really work effectively for architecture, OS etc and that they're probably best left as they are.