Created attachment 1015209 [details] engine log and screenshots Description of problem: Operation cancelled: MAC Address is already in use error when trying to create new vNIC with custom MAC address(MAC that is already in use), manually assigned in DC with 'allow duplication' 2015-04-16 15:55:59,514 WARN [org.ovirt.engine.core.bll.network.vm.AddVmInterfaceCommand] (ajp--127.0.0.1-8702-10) [30c56c3e] CanDoAction of action 'AddVmInterface' failed for user admin@internal. Reasons: VAR__TYPE__INTERFACE,VAR__ACTION__ADD,NETWORK_MAC_ADDRESS_IN_USE MAC pool per DC feature should allow this when 'allow duplication' is checked. Version-Release number of selected component (if applicable): 3.6.0-0.0.master.20150412172306.git55ba764.el6 Steps to Reproduce: 1. Create new MAC pool via Configure with range 00:00:00:00:00:01-00:00:00:00:00:02 and assign to DC 2. Add 2 vNICs to VM 3. Try to add another vNIC with custom MAC address 00:00:00:00:00:02 Actual results: Operation canceled with error: MAC Address is already in use Expected results: Should be acceptable when duplication allowed in DC
*** Bug 1220797 has been marked as a duplicate of this bug. ***
I guess this is also in the 3.6 branch, as it was merged some month ago?
nothing was merged yet, target release is 3.6.0, there's no current effort to make it available for previous versions.
This bug is not fixed. Same behavior as reported.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Tested on - 3.6.0.2-0.1.el6 and still failing on the same error: MAC Address is already in use. 'Allow duplicate' checkbox is checked for the MAC pool range.
Created attachment 1086467 [details] duplicate mac added. I just tested this in my development environment using latest change in ovirt-engine-3.6 branch (f9a7b1ba7a248595e4ebab40faa85aa2975f885b) and following 'steps to reproduce' I ended up with three macs, two duplicate ones. So I believe this should be ok.
(In reply to Martin Mucha from comment #7) > Created attachment 1086467 [details] > duplicate mac added. > > I just tested this in my development environment using latest change in > ovirt-engine-3.6 branch (f9a7b1ba7a248595e4ebab40faa85aa2975f885b) and > following 'steps to reproduce' I ended up with three macs, two duplicate > ones. So I believe this should be ok. The patch is merged to ovirt-engine-master and to ovirt-engine-3.6.1 but it wasn't merged to ovirt-engine-3.6.0. Therefore the current version the QE has does not include the fix.
In oVirt testing is done on single release by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone.
Verified on - 3.6.1-0.2.el6
According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release.