Bug 1077796

Summary: [Neutron integration] unlinked vNIC with external network can be plugged to VM
Product: Red Hat Enterprise Virtualization Manager Reporter: GenadiC <gcheresh>
Component: ovirt-engineAssignee: Yevgeny Zaspitsky <yzaspits>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: high Docs Contact:
Priority: medium    
Version: 3.4.0CC: danken, gklein, iheim, lpeer, lvernia, mpavlik, myakove, nyechiel, oblaut, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: vt3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 17:11:30 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:
Bug Depends On:    
Bug Blocks: 1063716, 1142923, 1156165    

Description GenadiC 2014-03-18 15:13:54 UTC
Description of problem:
The existing behaviour for link/unlink state for external network is as follow:
You get Can do action if you try to unlink NIC with external network.
But if you unplug that NIC and try to plug it back when it is unlinked an action succeeds.
So you find a way to get plugged and unlinked NIC with external network when you are supposed to get Can do action

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


How reproducible:
Always

Steps to Reproduce:
1. Create VM with external network
2. Unlink and unplug it
3. Plug it back

Actual results:
An action succeeds and you have plugged and unlinked NIC with external network on VM

Expected results:
An action should fail with Can do action

Additional info:

Comment 1 Dan Kenigsberg 2014-04-10 14:20:28 UTC
This behavior is inconsistent and misleading, but should not block rhev-3.4.0

Comment 2 Lior Vernia 2014-06-26 13:41:15 UTC
This could be solved on both backend and frontend, I think that blocking this in the backend should be enough.

Comment 3 Eyal Edri 2014-09-10 20:21:53 UTC
fixed in vt3, moving to on_qa.
if you believe this bug isn't released in vt3, please report to rhev-integ

Comment 4 Martin Pavlik 2014-09-12 14:46:05 UTC
VERIFIED

Red Hat Enterprise Virtualization Manager Version: 3.5.0-0.12.beta.el6ev 

Error while executing action:

rhel6.6:

    Cannot edit Interface. Plugged and unlinked VM network interface with external network is not supported.

Comment 5 Eyal Edri 2015-02-17 17:11:30 UTC
rhev 3.5.0 was released. closing.