As we discussed, the solution will be to include a new infoSource field. This way, the vmi.status will be easier to understand when mac change occurs https://github.com/kubevirt/kubevirt/pull/6793 https://github.com/kubevirt/user-guide/pull/504
Verified. OCP version - 4.10. virt-handler version - 4.10.0-197 Deployed vmi with nad. Before change - [cnv-qe-jenkins@n-adiz410-6v626-executor ~]$ oc get vmi -n adi-mac test-vm -o yaml ... interfaces: - infoSource: domain, guest-agent interfaceName: eth0 ipAddress: 10.128.2.67 ipAddresses: - 10.128.2.67 mac: 02:dd:42:00:00:03 name: default - infoSource: domain, guest-agent interfaceName: eth1 mac: 02:dd:42:00:00:04 After mac change - [cnv-qe-jenkins@n-adiz410-6v626-executor ~]$ oc get vmi -n adi-mac test-vm -o yaml interfaces: - infoSource: domain, guest-agent interfaceName: eth0 ipAddress: 10.128.2.67 ipAddresses: - 10.128.2.67 mac: 02:dd:42:00:00:03 name: default - infoSource: guest-agent interfaceName: eth1 mac: 02:00:b5:b5:b5:c9
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.10.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0947