Fix nova-metadata-api for ovn dhcp native networks

With the change from ml2/ovs DHCP agents towards OVN implementation
in neutron there is no port with device_owner network:dhcp anymore.
Instead DHCP is provided by network:distributed port.

Closes-Bug: 2055245
Change-Id: Ibb569b9db1475b8bbd8f8722d49228182cd47f85
This commit is contained in:
Steven Blatzheim
2024-02-28 07:25:59 +01:00
parent 4c3640599a
commit 135af5230e
4 changed files with 22 additions and 19 deletions

View File

@@ -0,0 +1,9 @@
---
fixes:
- |
With the change from ml2/ovs DHCP agents towards OVN implementation
in neutron there is no port with device_owner ``network:dhcp`` anymore.
Instead DHCP is provided by ``network:distributed`` port.
Fix relies on enable_dhcp provided by neutron-api if no port with
``network:dhcp`` owner is found. See `bug 2055245
<https://bugs.launchpad.net/nova/+bug/2055245>`__ for details.