Bug 1158918 - subnet not matching domain available as choice when creating new host
Summary: subnet not matching domain available as choice when creating new host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Shlomi Zadok
QA Contact: Kedar Bidarkar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1139277
TreeView+ depends on / blocked
 
Reported: 2014-10-30 13:58 UTC by David Juran
Modified: 2017-02-23 20:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:18:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 8221 0 None None None 2016-04-22 15:40:48 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description David Juran 2014-10-30 13:58:23 UTC
Description of problem:
We've noticed that subnets which are not part of the selected domain are available as a valid choice in the WEBUI when creating a new host.

Version-Release number of selected component (if applicable):
satellite-6.0.4

How reproducible:
Every time

Steps to Reproduce:
1. Go to https://satellite6ga.lab.arn.redhat.com/subnets 
2. Select a subnet 
3. Go to the "Domains" tab
4. Ensure that there is at least one un-checked domain for your subnet
5. Create a new host
6. On the "Network" tab, select the subnet which was unchecked in the tab above.
7. Note that the subnet for which the domain was unchecked still is a valid option in the "subnets" drop-down

Expected results:
I would expect that only matching subnet/domain pairs would be choosable in the UI.

Comment 1 RHEL Program Management 2014-10-30 14:03:04 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2014-10-30 15:41:28 UTC
Created redmine issue http://projects.theforeman.org/issues/8221 from this bug

Comment 4 Bryan Kearney 2014-12-03 09:04:15 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/8221 has been closed
-------------
Shlomi Zadok
Applied in changeset commit:e23023e29632a755582b2bd080fc7b226e606620.

Comment 5 Bryan Kearney 2015-01-09 14:50:02 UTC
Upstream bug assigned to szadok

Comment 8 Kedar Bidarkar 2015-02-13 12:19:06 UTC
VERIFIED with Sat6.1 Beta-snap2

with the above mentioned build, only matching subnet/domain pairs would be choosable in the UI.

Comment 10 Bryan Kearney 2015-08-11 13:36:10 UTC
This bug is slated to be released with Satellite 6.1.

Comment 11 errata-xmlrpc 2015-08-12 05:18:35 UTC
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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:1592


Note You need to log in before you can comment on or make changes to this bug.