Project

General

Profile

Actions

Bug #9532

closed

Removing environment from a host in hostgroup that has environment silently picks hostgroup environment

Added by Tomer Brisker about 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Host creation
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #6369: Unable to create host without Puppet master when specified on host groupClosedTom Caspy06/25/2014Actions
Related to Foreman - Feature #9301: Support hosts with no Puppet EnvironmentClosedJustin Sherrill02/09/2015Actions
Related to Foreman - Bug #9591: Override puppet configuration on host level does not work if specified on host groupClosedShimon Shtein03/01/2015Actions
Actions #1

Updated by Dominic Cleal about 9 years ago

  • Related to Bug #6369: Unable to create host without Puppet master when specified on host group added
Actions #2

Updated by Dominic Cleal about 9 years ago

  • Related to Feature #9301: Support hosts with no Puppet Environment added
Actions #3

Updated by Dominic Cleal about 9 years ago

  • Category changed from Web Interface to Host creation
Actions #4

Updated by Marek Hulán about 9 years ago

Just for the record, the same applies to artchitecture, os etc

Actions #5

Updated by Dominic Cleal about 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.

Actions #6

Updated by Dominic Cleal almost 9 years ago

  • Related to Bug #9591: Override puppet configuration on host level does not work if specified on host group added
Actions #7

Updated by Dominic Cleal over 8 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.

Actions

Also available in: Atom PDF