diff --git a/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_db_sync.py b/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_db_sync.py index bb6a11500b0..0a307f78ee2 100644 --- a/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_db_sync.py +++ b/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_db_sync.py @@ -778,7 +778,7 @@ class OvnNbSynchronizer(OvnDbSynchronizer): LOG.debug('OVN-NB Sync DHCP options for Neutron subnets started') db_subnets = {} - filters = {'enable_dhcp': [1]} + filters = {'enable_dhcp': [True]} for subnet in self.core_plugin.get_subnets(ctx, filters=filters): if (subnet['ip_version'] == constants.IP_VERSION_6 and subnet.get('ipv6_address_mode') == constants.IPV6_SLAAC):