Bug 1422447 - [TEXT] Moving an existing NIC from an oVirt network to one on an external provider does not require stopping a VM, unplug is fine too
Summary: [TEXT] Moving an existing NIC from an oVirt network to one on an external pro...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: future
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ovirt-4.1.2
: 4.1.2
Assignee: Marcin Mirecki
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-15 11:18 UTC by Simone Tiraboschi
Modified: 2017-05-23 08:15 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-05-23 08:15:20 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.1+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 72736 0 master MERGED webadmin: Change message when failing to update plugged nic 2017-02-22 15:31:08 UTC
oVirt gerrit 72915 0 ovirt-engine-4.1 MERGED webadmin: Change message when failing to update plugged nic 2017-02-28 10:49:40 UTC

Description Simone Tiraboschi 2017-02-15 11:18:02 UTC
Description of problem:
I have a VM on the management network, I add the new OVN provider as an external provider in oVirt and I create a new logical network there.

If I try to unplug the 'virtual cable' of the nic of my VM from the management network and plug it into the new logical network on the OVN external provider I get an error from the engine:
Cannot edit Interface. External network cannot be changed while the virtual machine is running.

So it seams that I've to reboot a VM if I just want to unplug a virtual cable and plug somewhere else.

Unplugging the previous nic and hot-plugging a new one seams instead to work but has an impact on the guest OS.

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

How reproducible:
100%

Steps to Reproduce:
1. add an external network
2. try changing an existing nic from an oVirt logical network to a logical network on an external provider without creating a new nic for that
3.

Actual results:
Error message: Cannot edit Interface. External network cannot be changed while the virtual machine is running.

Expected results:
Two options:
1. oVirt internally unplug the previous device and adds a new one with the same uuid pointing to the external network
2. we simply change the error message saying to the user that he has to hpt-unplug and hot-plug a new ic and not just the virtual cable

Additional info:

Comment 1 Dan Kenigsberg 2017-02-20 10:25:20 UTC
I suggest only a text change:

"""
Cannot edit Interface. External network cannot be changed while plugged into a running virtual machine. Stop the VM or unplug the vNIC before editing.
"""

Comment 2 Mor 2017-04-26 14:53:05 UTC
Verified on:
Red Hat Virtualization Manager Version: 4.1.2-0.1.el7

"Cannot edit Interface. External network cannot be changed while plugged into a running virtual machine. Stop the VM or unplug the vNIC before editing."


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