Description of problem: it is possible to remove logical network from host interface while running VM is attached Version-Release number of selected component (if applicable): oVirt Enterprise Virtualization Engine Manager Version: 3.1.0_0001-11.el6ev How reproducible: 100% Steps to Reproduce: 1. crate logical network and attach it to host NIC 2. create virtual machine and attach it to logical network created in step 1 3. start VM 4. go to hosts -> your host -> Network Interfaces -> pick your interface -> click detach a) check Save Network Configuration b) click OK Actual results: network is detached from host while VM attached to network is running Expected results: network should be not detached, appropriate error message should be displayed Additional info:
Created attachment 586385 [details] vdsm.log + engine.log
*** Bug 840378 has been marked as a duplicate of this bug. ***
A proposed patch: http://gerrit.ovirt.org/#/c/7107/
Commit-ids: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=fc3a0148f755d3dec969cd34caa998ecd4a918e5 http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=746c749c4693954fa2e523617fdba06f715becd1
It does not work on SI14 it is still possible to remove host network which is attached to running VM. Logs are attached as logs2. Versions: libvirt-0.9.10-21.el6_3.3.x86_64 qemu-img-rhev-0.12.1.2-2.298.el6_3.x86_64 vdsm-4.9.6-28.0.el6_3.x86_64 Thread-3732::DEBUG::2012-08-16 11:33:27,390::BindingXMLRPC::864::vds::(wrapper) client [10.34.63.65]::call setupNetworks with ({'NET3': {'remove': 'true'}}, {}, {'connectivityCheck': 'true', 'connectivityTimeout': 120}) {} flowID [595a8884]
Created attachment 604860 [details] logs2
The suggest patch denies removal of a used network by SetupNetworks: http://gerrit.ovirt.org/#/c/7518/