Red Hat Bugzilla – Bug 872100
It's possible to create 2 VMs with the same MAC address on NIC when performing import VM
Last modified: 2016-02-10 14:48:40 EST
Created attachment 636484 [details]
Description of problem:
When performing import VM (with specific MAC on its NIC) and there is another VM with the same MAC on its NIC, the action of import succeeds even though on the engine you get an error message:"Try to add duplicate values with same name. Type: UNASSIGNED. Value: vmname"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create VM1 with MAC "AA"
2. Export VM1
3. Delete VM1 and create VM2 with the same MAC "AA"
4. Import VM1
The operation of import succeeds and the MAC "AA" is shown on both VMs
Operation should fail or the user should be asked to reconfigure the MAC when importing VM
Try to add duplicate values with same name. Type: UNASSIGNED. Value: vmname
What is the value of the allow duplicate MAC configuration?
1. If it's disabled - operation must fail
2. If it's enabled then we must have popup suggesting to replace or confirm using the dup.
(In reply to comment #1)
> What is the value of the allow duplicate MAC configuration?
> 1. If it's disabled - operation must fail
> 2. If it's enabled then we must have popup suggesting to replace or confirm
> using the dup.
Simon, the fix you are describing here is the RFE covered by Bug 624655.
This bug is about failing the import in case duplicate mac is disabled.
Proposed fix in:
Can't verify - 892645
Depend on - https://bugzilla.redhat.com/show_bug.cgi?id=890951
Verified in SI 27.1
3.2 has been released