Bug 904842

Summary: Add nic with unused MAC to VM fails when adding it earlier failed for some reason - MAC address is not freed
Product: Red Hat Enterprise Virtualization Manager Reporter: Meni Yakove <myakove>
Component: ovirt-engineAssignee: Muli Salem <msalem>
Status: CLOSED DEFERRED QA Contact: Meni Yakove <myakove>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: acathrow, dyasny, fei2.wang, iheim, lpeer, masayag, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---Keywords: Regression
Target Release: 3.2.0   
Hardware: x86_64   
OS: All   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-28 09:56:13 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:
Attachments:
Description Flags
engine.log none

Description Meni Yakove 2013-01-27 20:15:35 UTC
Created attachment 688599 [details]
engine.log

Description of problem:
When adding nic to VM and the add operation fails the MAC address from the failed add nic cannot be used again.

Version-Release number of selected component (if applicable):
rhevm-3.2.0-5.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1.Create VM with 1 nic and start the VM
2.while the VM is up hot-unplug the nic and change the MAC address (one operation)> should fail > Bug 904840
3.Create a new nic with the same MAC address from step 2.
  
Actual results:
Fail with error MAC Address is already in use.

Expected results:
MAC address should be free and can add to new nic.

Comment 2 Simon Grinberg 2013-02-28 09:56:13 UTC
This scenario is really a corner case on other bugs since there is no reason to fix it, what should be fixed are the scenarios that caused MAC change to fail.