Bug 1404130

Summary: Network Interfaces with duplicate MACs are automatically unplugged when VM started as stateless
Product: Red Hat Enterprise Virtualization Manager Reporter: Roman Hodain <rhodain>
Component: ovirt-engineAssignee: Dominik Holler <dholler>
Status: CLOSED ERRATA QA Contact: Michael Burman <mburman>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.5CC: bgraveno, danken, gklein, lsurette, michal.skrivanek, myakove, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-4.1.0-beta   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ovirt-engine-4.1.0-0.4.master.20170105161132.gitf4e2c11.el7.centos.noarch.rpm Doc Type: Bug Fix
Doc Text:
Previously, when a stateless virtual machine was started and then stopped, the network interface associated with the virtual machine was automatically unplugged if there was another virtual machine with a network interface using the same MAC address. This would happen even if the data center had a MAC pool which allowed duplicate MACs. This update ensures that if a MAC pool allows duplicates, then a vNIC with a duplicate MAC stays plugged when a stateless virtual machine restarts.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-25 00:50:08 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:

Description Roman Hodain 2016-12-13 07:08:13 UTC
Description of problem:
When a stateless VM is started and then stopped the NIC associated with this VM is automatically unplugged if there is another VM with NIC with the same MAC address. This happens even if the DC has a MAC pool which allows duplicate MAC.

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

How reproducible:
100%

Steps to Reproduce:
1. Configure new MAC address range and allow the allow duplicate MACs
2. Create two VMs and mark one as stateless
3. Assign one NIC to each of the VMs and set the same MAC addresses
4. Start the stateless VM
5. Stop the stateless VM

Actual results:
Network Interface eth1 has MAC address xx.xx.xx.xx.xx.xx which is in use, therefore it is being unplugged from VM xxxxx.

Expected results:
The network interface is not unplugged if the mac address range allows duplicates.

Additional info:
This behaviour does not happen with VMs which are not stateless.

Comment 1 Michael Burman 2017-01-08 07:10:31 UTC
Verified on - 4.1.0-0.4.master.20170105161132.gitf4e2c11.el7.centos