Closed przemeklal closed 1 year ago
I think we should introduce a per-hostname override. It's fine that we use mac addresses for our heuristic, and it's fine that we can affect the algorithm via mac address overrides. However, at the end of the day every host can have multiple mac addresses so it'd seem cleaner to me that if we want to truly sidestep the autodetection we'd do so at the host level
I have a metal machine with the following MAC addresses:
Because there's a virbr0 bridge with 52:54:00 MAC address prefix it gets incorrectly recognized as a KVM. There's no option to override this as we can currently do with KVMs incorrectly recognized as metals. This mainly affects MAAS nodes that often host KVMs and hence the virbr0 bridge exists on them, but there were occurrences of regular OpenStack compute nodes incorrectly recognized as KVMs due to the same issue (virbr0 with KVM-specific MAC address).