Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 839201

Summary: MAC address is released to the pool even when MAC is used
Product: Red Hat Enterprise Virtualization Manager Reporter: lpeer <lpeer>
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED CURRENTRELEASE QA Contact: GenadiC <gcheresh>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.0CC: acathrow, dyasny, iheim, lpeer, myakove, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: si12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
screen shot with the same MAC adress used for 2 vnics in the same VM none

Description lpeer 2012-07-11 08:03:22 UTC
Created attachment 597492 [details]
screen shot with the same MAC adress used for 2 vnics in the same VM

Description of problem:

When manually editing a MAC address to a used MAC address the operation fails but the original MAC address is returned to the free MAC addresses list.


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


How reproducible:


Steps to Reproduce:
1. create a VM with vnic (assuming the mac address allocated is A:A:A:A)
2. edit A:A:A:A to a MAC that is already in use by other VMs in the setup
3. The operation should fail and A:A:A:A should still be used by the vnic
4. Allocate new vnics and see that one of them is getting A:A:A:A as the MAC address


to make the 4th step easy you can use a small range of MACs in your setup.
  
Actual results:


Expected results:


Additional info:

Comment 1 Moti Asayag 2012-07-16 22:02:14 UTC
suggested patch: http://gerrit.ovirt.org/#/c/6331/

Comment 2 Moti Asayag 2012-07-17 12:15:52 UTC
Commit-id: fc629a1f2e4bfb17ad99bcde234ebcd29d097992

Comment 3 Meni Yakove 2012-07-29 10:21:31 UTC
Verified on vdsm-4.9.6-24.0.el6_3.x86_64.