Red Hat Bugzilla – Bug 839201
MAC address is released to the pool even when MAC is used
Last modified: 2016-02-10 14:49:01 EST
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):
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.
suggested patch: http://gerrit.ovirt.org/#/c/6331/
Verified on vdsm-4.9.6-24.0.el6_3.x86_64.