Bug 863072

Summary: WEBADMIN: Setupnetwork doesn't recognize logical network with vlan id 0
Product: Red Hat Enterprise Virtualization Manager Reporter: Avi Tal <atal>
Component: ovirt-engine-webadmin-portalAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Yaniv Kaul <ykaul>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: dyasny, ecohen, gcheresh, iheim, jkt, masayag, mavital, mpavlik, Rhev-m-bugs, sgrinber, srevivo, ykaul
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: SI21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:04:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Avi Tal 2012-10-04 11:49:13 UTC
Description of problem:
Setupnetworks can't handle vlan id 0 because it is not recognized as vlan interface.

Vlan 0 is a useful id when user will like to treat the vlaned interface as un-tagged.
This is fully supported in RHEL and RHEVM 3.0 there for this bug is actually a regression from 3.0


Setupnetworks display vlan 0 network as a regular network without vlan
and cause few problems:
1. can't add multiple vlans over int/bond if one is vlan 0.
2. adding multiple vlans when one is vlan 0 via rest api (old api)
   will lead setupnetworks freezing when try to display this topology.


Steps to Reproduce:
1. create logical network with vlan 0
2. add to cluster
3. add to host via setupnetworks
  
Actual results:
open setupnetworks and see that the networks doesn't assign as vlaned network

Expected results:
should treat vlan 0 as regular vlan.

Additional info:

Comment 1 Alona Kaplan 2012-10-04 13:21:28 UTC
http://gerrit.ovirt.org/#/c/8358/

Comment 3 GenadiC 2012-10-16 14:06:12 UTC
The same problem occurs when performing upgrade from Cluster 3.0 to Cluster 3.1 - After upgrade it's impossible to drag any network on interface with existing network with vlan 0
When performing verify to this bz, the above scenario should be tested as well

Comment 4 Martin Pavlik 2012-10-18 08:56:40 UTC
on SI21 setup networks works as expected