diff --git a/ovn_bgp_agent/drivers/openstack/ovn_bgp_driver.py b/ovn_bgp_agent/drivers/openstack/ovn_bgp_driver.py index d7c8dfda..24bfcd3c 100644 --- a/ovn_bgp_agent/drivers/openstack/ovn_bgp_driver.py +++ b/ovn_bgp_agent/drivers/openstack/ovn_bgp_driver.py @@ -120,6 +120,7 @@ class OVNBGPDriver(driver_api.AgentDriverBase): tables=OVN_TABLES + ["Chassis_Private"], events=events).start() except AssertionError: + events.remove("ChassisPrivateCreateEvent") self.sb_idl = ovn.OvnSbIdl( self.ovn_remote, chassis=self.chassis, @@ -135,7 +136,8 @@ class OVNBGPDriver(driver_api.AgentDriverBase): "FIPSetEvent", "FIPUnsetEvent", "OVNLBMemberCreateDeleteEvent", - "ChassisCreateEvent"]) + "ChassisCreateEvent", + "ChassisPrivateCreateEvent"]) if self._expose_tenant_networks: events.update(["SubnetRouterAttachedEvent", "SubnetRouterDetachedEvent", diff --git a/ovn_bgp_agent/drivers/openstack/ovn_evpn_driver.py b/ovn_bgp_agent/drivers/openstack/ovn_evpn_driver.py index b935707c..39a33bce 100644 --- a/ovn_bgp_agent/drivers/openstack/ovn_evpn_driver.py +++ b/ovn_bgp_agent/drivers/openstack/ovn_evpn_driver.py @@ -87,6 +87,7 @@ class OVNEVPNDriver(driver_api.AgentDriverBase): tables=OVN_TABLES + ["Chassis_Private"], events=events).start() except AssertionError: + events.remove("ChassisPrivateCreateEvent") self.sb_idl = ovn.OvnSbIdl( self.ovn_remote, chassis=self.chassis, @@ -103,7 +104,8 @@ class OVNEVPNDriver(driver_api.AgentDriverBase): "SubnetRouterDetachedEvent", "TenantPortCreatedEvent", "TenantPortDeletedEvent", - "ChassisCreateEvent"]) + "ChassisCreateEvent", + "ChassisPrivateCreateEvent"]) return events @lockutils.synchronized('evpn')