Bug 842734

Summary: [RHEVM] [backend] [Host Networking] DC/CL 3.0 VLAN is offered multiple times
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engine-webadmin-portalAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: medium Docs Contact:
Priority: high    
Version: 3.1.0CC: acathrow, dyasny, ecohen, gklein, iheim, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: si13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:08:08 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:
Attachments:
Description Flags
logs
none
screenshot 1
none
screenshot 2 none

Description Martin Pavlik 2012-07-24 13:38:50 UTC
Created attachment 600027 [details]
logs

Description of problem:
For DC/CL 3.0 VLAN is offered to be connected to host NIC despite the fact it is already connected to the interface (see screenshot 1)

In case user selects the VLAN to be connected second time, error message which does not make much sense appears: (see screenshot 2)

Error:

dell-05:

    Previous network name is required.



Version-Release number of selected component (if applicable):
oVirt Engine Version: '3.1.0-7.el6ev' 

How reproducible:
100%

Steps to Reproduce:
1.create multiple VLANs and attach it to cluster 3.0
2.Hosts -> your host -> Network Interfaces -> some free NIC -> Add/Edit -> assign VLAN
3.Hosts -> your host -> Network Interfaces -> some free NIC -> Add/Edit -> observe drop down menu for Network: (screenshot 1) -> Pick same VLAN as in step 2 (screenshot 2)

  
Actual results:
1) VLAN is offered to be connected to host NIC despite the fact it is already connected

Expected results:
1) VLAN should not be offered if already connected to the NIC

Additional info:

engine.log
2012-07-24 15:25:33,603 WARN  [org.ovirt.engine.core.bll.UpdateNetworkToVdsInterfaceCommand] (ajp-/0.0.0.0:8009-11) [c04b26e] CanDoAction of action UpdateNetworkToVdsInterface failed. Reasons:NETWROK_OLD_NETWORK_NOT_SPECIFIED

Comment 1 Martin Pavlik 2012-07-24 13:42:45 UTC
Created attachment 600030 [details]
screenshot 1

Comment 2 Martin Pavlik 2012-07-24 13:43:04 UTC
Created attachment 600031 [details]
screenshot 2

Comment 4 Alona Kaplan 2012-07-29 07:45:50 UTC
fixeed in commit e8984e444707891102808adc6df03e8b7dc5f39a

Comment 5 lpeer 2012-08-15 08:48:29 UTC
*** Bug 843856 has been marked as a duplicate of this bug. ***