Bug 788100

Summary: [ovirt-core][RFE]-When a VM's MAC address is already in use -It will be very helpful if the VM's name with that MAC will be provided in the WARN message
Product: [Retired] oVirt Reporter: zvi <zfridler>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, iheim, kripper, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 13:45:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description zvi 2012-02-07 13:33:56 UTC
Description of problem:
When a VM's MAC address is already in use -It will be very helpful if the VM's name with that MAC will be provided in the WARN message

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


How reproducible:
Always

Steps to Reproduce:
1.Attempt to create a VM's NIC with a custom MAC address, that is already in use in a different VM.
2.
3.
  
Actual results:

VM name with that MAC address is not specified: 

ACTION__ADD,VAR__TYPE__INTERFACE,NETWORK_MAC_ADDRESS_IN_USE
2012-02-07 15:18:43,693 INFO  [org.ovirt.engine.core.bll.AddVmInterfaceCommand] (http-0.0.0.0-8443-1) Running command: AddVmInterfaceCommand internal: false. Entities affected :  ID: 3032468f-5bd7-4d64-94cc-2577ad6a3f98 Type: VM
2012-02-07 15:19:02,317 WARN  [org.ovirt.engine.core.bll.AddVmInterfaceCommand] (http-0.0.0.0-8443-1) CanDoAction of action AddVmInterface failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__INTERFACE,NETWORK_MAC_ADDRESS_IN_USE




Expected results:
VM's name should be provided within the WARN message.

Additional info:

Comment 1 Yaniv Kaul 2012-02-07 13:45:50 UTC
1. In the coming version we'll actually allow duplicate MACs - based on a user's request.
2. We will have a warning.

Comment 2 Christopher Pereira 2015-07-18 08:27:41 UTC
+1

I'm getting this error even after removing the NIC using the same MAC.
This error is inconsistent with the VM clone feature (preserving MACs).

Comment 3 Christopher Pereira 2015-07-18 08:28:00 UTC
BTW, I'm testing 3.6 alpha-2