Exclude router gw subnet ports from port list while port delete.
During port delete Neutron checks if host still handle some ports from subnets that are used by router. It may happen that the same subnet that is used for router gateway port may be used for another VM port. Then we skip notification to update L3 agent about related to router port deletion. Related-Bug: #1957794 Change-Id: Iacc7d4e543ac261a6f566b49834b6865f6eded95
This commit is contained in:
parent
52c4678201
commit
4c6c48956e
|
@ -270,7 +270,8 @@ class L3_DVRsch_db_mixin(l3agent_sch_db.L3AgentSchedulerDbMixin):
|
|||
def _check_for_rtr_serviceable_ports(
|
||||
self, admin_context, router_id, port_host):
|
||||
subnet_ids = self.get_subnet_ids_on_router(admin_context,
|
||||
router_id)
|
||||
router_id,
|
||||
keep_gateway_port=False)
|
||||
return self._check_dvr_serviceable_ports_on_host(
|
||||
admin_context, port_host, subnet_ids)
|
||||
|
||||
|
|
Loading…
Reference in New Issue