Description of problem:
Even though a location only has one domain selected, when creating Hosts for that location all domains are in the pull down list, but only the Subnets assigned to the location are in the pull down list.
Version-Release number of selected component (if applicable):
Red Hat Satellite 6.4
Steps to Reproduce:
1. Create multiple domains.
2. Associate only a single domain with the location.
3. While creating a host via provisioning, select the appropriate location and notice the availability of multiple domains on the "Interface" tab even when a particular location has been selected, which should only show one single domain associated with that location.
The domains that have not even been tied to the location are being shown on the "Interface" tab while creating a host on Satellite Web UI.
When a location is selected, only the domain/s associated with that location should be shown/displayed.
Screenhosts have been attached to bugzilla.
Created redmine issue https://projects.theforeman.org/issues/28945 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28945 has been resolved.
Verified on Satellite 6.8 snap 2, domain drop-down in host dialogue now honours the location selected
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.