Router gateway device are repeatedly configured When ha changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
hujin |
Bug Description
When the router ha changed, the code determines whether the gateway in memory is consistent with the gateway in the database to decide whether it needs to be reconfigured. But there are problems with the judging conditions.
After router HA changed, the relevant parameters of gateway port will be updated by ML2 agent, including binding_host and updated_at.
The code of ha_router, method _gateway_
@staticmethod
def _gateway_
def _get_filtered_
return {k: v for k, v in d.items() if k not in ignore}
return port1_filtered == port2_filtered
So every time ha switches, the gateway is reconfigured.
Changed in neutron: | |
assignee: | nobody → hujin (hujin) |
Changed in neutron: | |
importance: | Undecided → Low |
tags: | added: l3-ha |
Fix proposed to branch: master /review. openstack. org/609587
Review: https:/