[OVN] SRIOV (external) ports flapping
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Lucas Alvares Gomes |
Bug Description
The "old" parameter passed to the handle_
The absence of the "external_ids" column lead to the method into believe that the "old" object was no longer a gateway chassis (because since the external_ids column wasn't present, the code from is_gateway_
The combination of the agents health check (that triggers updates to the chassis) plus this problem with the absence of the "external_ids" column in the old object for certain updates is resulting in the SRIOV (external in OVN) ports to flap between the gateway chassis.
tags: | added: ovn |
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
Changed in neutron: | |
status: | Confirmed → In Progress |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
Reviewed: https:/ /review. opendev. org/715445 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ea999564a5b 80dcf13c0c43f10 7165f0754210b7
Committed: https:/
Submitter: Zuul
Branch: master
commit ea999564a5b80dc f13c0c43f107165 f0754210b7
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Mar 27 15:23:49 2020 +0000
[OVN] HA Chassis Group: Ignore UPDATES when external_ids hasn't changed
The "old" parameter passed to the handle_ ha_chassis_ group_changes( )
method is a delta object and sometimes it does not contain the
"external_ids" column (because it hasn't changed).
The absence of that column was misleading that method into believe that
the "old" object was no longer a gateway chassis and that triggered some
changes in the HA group. Changing the HA group resulted in the SRIOV
(external in OVN) ports to start flapping between the gateway chassis.
This patch is adding a check to verify that the "external_ids" column
has changed before acting on it, otherwise just ignore the update and
return.
Closes-Bug: #1869389 c78c3546b9c34ea 81d0a0524d3
Change-Id: I3f7de633e5546d
Signed-off-by: Lucas Alvares Gomes <email address hidden>