Public bug reported:

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 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_chassis()
returned False) and that triggered some changes in the default HA group
which the external ports lives.

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.

** Affects: neutron
     Importance: High
     Assignee: Lucas Alvares Gomes (lucasagomes)
         Status: In Progress


** Tags: ovn

** Tags added: ovn

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron
   Importance: Undecided => High

** Changed in: neutron
     Assignee: (unassigned) => Lucas Alvares Gomes (lucasagomes)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1869389

Title:
  [OVN] SRIOV (external) ports flapping

Status in neutron:
  In Progress

Bug description:
  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 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_chassis() returned False) and that triggered some changes
  in the default HA group which the external ports lives.

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1869389/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to