Bug 1394542 - Hot unlinking vNIC with external network attached is not working as expected
Summary: Hot unlinking vNIC with external network attached is not working as expected
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.1.0
Hardware: x86_64
OS: Linux
unspecified
medium vote
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-13 09:40 UTC by Mor
Modified: 2016-11-13 12:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-13 12:36:30 UTC
oVirt Team: Network
mkalfon: planning_ack?
mkalfon: devel_ack?
mkalfon: testing_ack?


Attachments (Terms of Use)
compressed engine.log (459.81 KB, application/octet-stream)
2016-11-13 09:43 UTC, Mor
no flags Details

Description Mor 2016-11-13 09:40:37 UTC
Description of problem:
In a running VM which has vNIC attached to external network, changing the vNIC link state from "Up" to "Down" pops blocking message in the UI.

Version-Release number of selected component (if applicable):
oVirt Engine Version: 4.1.0-0.0.master.20161112231308.git672bd31.el7.centos

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with additional vNIC.
2. Create external network on external network provider.
3. Attach the additional vNIC to the external network.
4. Turn on the VM.
5. Try to unlink the vNIC while VM is running.

Actual results:
"Cannot edit Interface. External network cannot be changed while the virtual machine is running. This is tested with OpenStack Neutron and OVN provider external networks."

Expected results:
Link state should be changed.

Additional info:
Tested both in Neutron and OVN external provider networks.

engine.log:
2016-11-13 11:24:19,479 WARN  [org.ovirt.engine.core.bll.network.vm.UpdateVmInterfaceCommand] (default task-1) [603bd99f-13ce-498f-a35d-5cb86e0a582d] Validation of action 'UpdateVmInterface' failed for user admin@internal-authz. Reasons: VAR__TYPE__INTERFACE,VAR__ACTION__UPDATE,ACTION_TYPE_FAILED_EXTERNAL_NETWORK_CANNOT_BE_REWIRED

Comment 1 Red Hat Bugzilla Rules Engine 2016-11-13 09:40:44 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Mor 2016-11-13 09:43:11 UTC
Created attachment 1220130 [details]
compressed engine.log

Comment 3 Dan Kenigsberg 2016-11-13 12:36:30 UTC
I'm sorry for misunderstanding your initial bug request.

I do not see a current need to support modification of link state in external network providers.

Thanks for opening this bug.


Note You need to log in before you can comment on or make changes to this bug.