Bug 840378

Summary: Can detach network from host while the network used by running VM
Product: Red Hat Enterprise Linux 6 Reporter: Meni Yakove <myakove>
Component: vdsmAssignee: Dan Kenigsberg <dkenigsb>
Status: CLOSED DUPLICATE QA Contact: Haim <hateya>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 6.3CC: abaron, bazulay, iheim, lpeer, yeylon, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-16 08:02:07 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:
Attachments:
Description Flags
vdsm.log none

Description Meni Yakove 2012-07-16 07:22:25 UTC
Created attachment 598384 [details]
vdsm.log

Description of problem:
Can detach network that assign to VM while the VM running. 

Version-Release number of selected component (if applicable):
vdsm-4.9.6-21.0.el6_3.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Create network (NET_1) and attach it to interface on the host.
2.Create VM and use the network (NET_1) from step 1.
3.Run the VM
4.While the VM is running detach the network (NET_1) from the host.
  
Actual results:
The network removed from the host.

Expected results:
Should get error that the network is used by running VM and can't be removed.

Comment 2 lpeer 2012-07-16 08:02:07 UTC
we'll block it on the engine side.
There are many validations done only on the engine side I think this should be one of them.

*** This bug has been marked as a duplicate of bug 824497 ***