While creating a host for a particular location, all the domains are in the pull down list, even if only one domain is selected for that location.
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.