Discovery rule needs to have exactly the same 1:1 organisations/locations assigned as the hostgroup used.
Should be enough for discovery rule to exist in a subset of hostgroup taxonomies.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Other relevant data:
Please consider this scenario:
- hostgroup X assigned to locations A, B
- user Y assigned only to location A
- user Y creates discovery rule Z pointing to hostgroup X
- ERROR, because user Y does not belong to location B (cannot assign and generally has no idea about it)
ERROR app : Failed to save: Locations Host group location LOCATION must also be associated to the discovery rule