Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1202736

Summary: UI should raise an error when no vlan id is set on selected subnet while configuring the vlan interface
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: NetworkingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, mhulan
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-11 20:38:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.