On Fri, Oct 22, 2021 at 3:35 AM Alberto Donato
<email address hidden> wrote:
>
> I agree that in MAAS we should skip devices without a MAC.
I'm not sure if there is a reliable way to detect a NIC without a MAC.
If the driver doesn't find a "burned in" MAC, it will generate a
random MAC for the device on every boot. The only thing we'll know for
sure about the random MAC is that it will have the "local assignment
bit" set. But we can't skip a device just because it has that bit set
in the MAC, because that bit is also set in MACs used by QEMU
instances, and likely other forms of virtualization. So my best
suggestion is to tackle the specific subset of devices with random
MACs that are causing real problems today - the RedFish NICs, which
can be easily identified from the SMBIOS table.
On Fri, Oct 22, 2021 at 3:35 AM Alberto Donato
<email address hidden> wrote:
>
> I agree that in MAAS we should skip devices without a MAC.
I'm not sure if there is a reliable way to detect a NIC without a MAC.
If the driver doesn't find a "burned in" MAC, it will generate a
random MAC for the device on every boot. The only thing we'll know for
sure about the random MAC is that it will have the "local assignment
bit" set. But we can't skip a device just because it has that bit set
in the MAC, because that bit is also set in MACs used by QEMU
instances, and likely other forms of virtualization. So my best
suggestion is to tackle the specific subset of devices with random
MACs that are causing real problems today - the RedFish NICs, which
can be easily identified from the SMBIOS table.
-dann