[ovirt-users] oVirt 4.1.7: Duplicate MAC addresses had to be introduced into mac pool violating no duplicates setting.

nicolas at devels.es nicolas at devels.es
Mon Nov 20 14:47:35 UTC 2017


Hi Alona,

El 2017-11-19 08:31, Alona Kaplan escribió:
> Hi Nicolas,
> 
> There was a bug in oVirt [1] that in some cases a mac pool that
> doesn't support duplicate macs could get duplicates.
> The bug was (hopefully) fixed.
> 
> The error that you see means that you have a mac pool that was
> affected by this bug and have duplicate macs although it doesn't
> support it.
> The second part of the error should contain the list of the duplicate
> macs ("Following MACs violates duplicity restriction, and was pushed
> into MAC pool without respect to it:").
> 

Indeed, being this message:

engine.log-20171117.gz:2017-11-16 10:34:55,373Z ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ServerService Thread Pool -- 52) [] EVENT_ID: 
MAC_ADDRESS_VIOLATES_NO_DUPLICATES_SETTING(10,917), Following MACs 
violates duplicity restriction, and was pushed into MAC pool without 
respect to it:[00:1a:4a:97:5f:16, 00:1a:4a:97:5f:05, 00:1a:4a:97:5f:1d, 
00:1a:4a:97:5f:07, 00:1a:4a:97:5f:0f, 00:1a:4a:4d:cc:1c, 
00:1a:4a:97:5f:15, 00:1a:4a:97:5f:0d]

> It is just a warning, you can ignore it.
> But we advise you to go over the duplicate macs and fix them.

However, recently I made a small script to find duplicate MACs because I 
was having an issue with dupe MACs (which BTW you helped me to debug in 
BZ [1]). I'm attaching the script just in case something is wrong in it, 
but the script shows no dupe MAC addresses currently. Maybe in the past 
(before the upgrade) there was dupes with those MAC addresses, but not 
now.

The output of the script shows only one machine per MAC address:

     00:1a:4a:97:5f:16 ['VM1']
     00:1a:4a:97:5f:05 ['VM2']
     00:1a:4a:97:5f:1d ['VM3']
     00:1a:4a:97:5f:07 ['VM4']
     00:1a:4a:97:5f:0f ['VM5']
     00:1a:4a:4d:cc:1c ['VM6']
     00:1a:4a:97:5f:15 ['VM7']
     00:1a:4a:97:5f:0d ['VM8']

Should I file a bug or simply ignore it?

Thanks.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1497242

> 
> Alona.
> 
> [1] https://bugzilla.redhat.com/1485688 [2]
> 
> On Fri, Nov 17, 2017 at 4:54 PM, <nicolas at devels.es> wrote:
> 
>> Hi,
>> 
>> We just upgraded from 4.1.6 to 4.1.7 and just after the engine was
>> brought back the following event showed up:
>> 
>>    Duplicate MAC addresses had to be introduced into mac pool
>> violating no duplicates setting.
>> 
>> Can someone explain why is that?
>> 
>> Thanks.
>> 
>> Nicolás
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users [1]
> 
> 
> 
> Links:
> ------
> [1] http://lists.ovirt.org/mailman/listinfo/users
> [2] https://bugzilla.redhat.com/1485688
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dupe_macs.py
Type: text/x-python
Size: 1233 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20171120/497c07c2/attachment.py>


More information about the Users mailing list