Bug 1202736 - UI should raise an error when no vlan id is set on selected subnet while configuring the vlan interface
Summary: UI should raise an error when no vlan id is set on selected subnet while conf...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Networking
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-17 10:58 UTC by Sachin Ghai
Modified: 2017-01-11 20:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-11 20:38:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sachin Ghai 2015-03-17 10:58:33 UTC
Description of problem:
I tried and configured vlan interface with sat6.1 beta snap6 compose2. vlan interface configured successfully when i defined the vlan id for selected subnet.

Let's say user forgot to set the vlan id on a selected subnet and configured the vlan interface while creating new host. The new host form was submitted successfully and when host is provisioned successfully, user got to know that interface was not configured. So UI should raise an error/warning on new host form submit, if no vlan id is set on selected subnet. 

Version-Release number of selected component (if applicable):
sat6.1 beta snap6 compose2 (Satellite-6.1.0-RHEL-6-20150311.1).

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
user forgot to set the vlan id on a selected subnet and configured the vlan interface while creating new host. The new host form was submitted successfully and when host is provisioned successfully, user got to know that interface was not configured.

Expected results:
 So UI should raise an error/warning on new host form submit, if no vlan id is set on selected subnet. 

Additional info:

here is the out of config file when when vlan id is not set on selected subnet.

# eth0.1 interface
real=`ip -o link | grep 52:54:00:81:0d:2c | awk '{print $2;}' | sed s/:$//`
  real=`echo eth0.1 | sed s/eth0/$real/`

cat << EOF > /etc/sysconfig/network-scripts/ifcfg-$real
BOOTPROTO="none"
IPADDR="192.168.100.121"
NETMASK="255.255.255.248"
DEVICE="$real"
ONBOOT=yes
PEERDNS=no
PEERROUTES=no
EOF

please note that in this case VLAN=yes is missing. This will be only set when valn id is set on selected subnet.

Comment 2 Marek Hulan 2015-03-26 12:21:37 UTC
The only reason why we require vlan id to be set on subnet is I think because of provisioning template. We could modify it so it consider an interface to be vlan based on interface tag (which inherits the value from subnet).

Comment 3 Tomas Strachota 2016-08-12 11:08:26 UTC
Unassigning myself since I'm not actively working on the bug.

Comment 4 Bryan Kearney 2017-01-11 20:38:46 UTC
This is an older bug which I do not envision being fixed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you.


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