cd03bbc1c3
Today Nova updates the mac_address of a direct-physical port to reflect the MAC address of the physical device the port is bound to. But this can only be done before the port is bound. However during migration Nova does not update the MAC when the port is bound to a different physical device on the destination host. This patch extends the libvirt virt driver to provide the MAC address of the PF in the pci_info returned to the resource tracker. This information will be then persisted in the extra_info field of the PciDevice object. Then the port update logic during migration, resize, live migration, evacuation and unshelve is also extended to record the MAC of physical device in the port binding profile according to the device on the destination host. The related neutron change Ib0638f5db69cb92daf6932890cb89e83cf84f295 uses this info from the binding profile to update the mac_address field of the port when the binding is activated. Closes-Bug: #1942329 Change-Id: Iad5e70b43a65c076134e1874cb8e75d1ba214fde
10 lines
433 B
YAML
10 lines
433 B
YAML
---
|
|
fixes:
|
|
- |
|
|
As a fix for `bug 1942329 <https://bugs.launchpad.net/neutron/+bug/1942329>`_
|
|
nova now updates the MAC address of the ``direct-physical`` ports during
|
|
mova operations to reflect the MAC address of the physical device on the
|
|
destination host. Those servers that were created before this fix need to be
|
|
moved or the port needs to be detached and the re-attached to synchronize the
|
|
MAC address.
|