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

Bug 845837

Summary: It's possible to add the VNIC with the same MAC as one, already existed on VM
Product: Red Hat Enterprise Virtualization Manager Reporter: GenadiC <gcheresh>
Component: ovirt-engineAssignee: Muli Salem <msalem>
Status: CLOSED CURRENTRELEASE QA Contact: GenadiC <gcheresh>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: acathrow, dyasny, iheim, lpeer, msalem, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: si14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:01:47 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 GenadiC 2012-08-05 14:44:50 UTC
Created attachment 602364 [details]
engine log

Description of problem:

Add with REST VNIC with some specific MAC and Non VM Network. This action will fail, but then when you add new VNIC to GUI, it will be created with the existing MAC of the NIC on the VM

How reproducible:
Always

Steps to Reproduce:
1. Create VM with VNIC MAC: 00:1a:4a:23:46:c5
2. Through REST try to add VNIC with NON_VM Network and MAC: 00:1a:4a:23:46:c7
3. When 2 fails add new NICs to VM
  
Actual results:
One or several new NICs will be created with MAC of existing NIC (00:1a:4a:23:46:c5)

Expected results:
Every new NIC should be created with different MAC 

Additional info:
Bug was found when testing the solution for Bug 842317

Comment 2 Muli Salem 2012-08-06 12:43:27 UTC
Proposed fix in:

http://gerrit.ovirt.org/#/c/6911/

Comment 3 Muli Salem 2012-08-06 12:47:42 UTC
Fixed in: cc9f7b9dc6adf39a18118736f77f2ea0d4b9d635

Comment 4 GenadiC 2012-08-16 12:28:52 UTC
Verified in SI14