Description of problem: When adding a network interface to a vm, a validation error is displayed: NETWORK_MAC_ADDRESS_IN_USE. Steps to Reproduce: 1. Go to vm tab, select interfaces sub tab 2. Click new, add interface, click ok 3. Error message is displayed: NETWORK_MAC_ADDRESS_IN_USE Additional info: The validation error is in MacAddressValidator:isMacAssignableValidator The reason is that the macPool used to validate the macs of new interfaces is initialized with the pool of possible macs, and not the macs actually used. This happens in MacPoolManagerRanges:44 : this.macsStorage = createMacsStorage(rangesBoundaries); The range boundaries are retrieved from the db using MacPoolDao.
Verified on 3.6.0-0.18.el6
THe problem started happen again. Engine try to assign MAC address that is already used in DB to VM NIC. Adding custom MAC from range succeeds. Though it looks like a different bug we get the same error message
Verified on 3.6.0-0.18.el6 Comment2 is a different issue, so will open another bug
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue. If problems still persist, please open a new BZ and reference this one.