[ToR Agent] very slow Logical switch withdraw due VxLAN resource unavailable

Bug #1583556 reported by Prabhjot Singh Sethi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Prabhjot Singh Sethi
Trunk
Fix Committed
High
Prabhjot Singh Sethi

Bug Description

Logical switch withdraw from ovsdb-server due to VxLAN unavailable is very slow.

it sends delete for one dependent entry and then wait for Ack before sending delete for another, resulting in very slow withdrawal of logical switch entry.

This however can be avoided by keep on triggering delete for all the dependent entries without waiting for Acks for the previously send deletes.

Tags: bms scale vrouter
Changed in juniperopenstack:
assignee: nobody → Prabhjot Singh Sethi (prabhjot)
milestone: none → r3.1.0.0-fcs
importance: Undecided → High
tags: added: bms scale vrouter
Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/20448
Submitter: Prabhjot Singh Sethi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/20449
Submitter: Prabhjot Singh Sethi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20449
Committed: http://github.org/Juniper/contrail-controller/commit/4204e72d0552c9ff5bfb9cdfe2fbdcad3adab3f0
Submitter: Zuul
Branch: R3.0

commit 4204e72d0552c9ff5bfb9cdfe2fbdcad3adab3f0
Author: Prabhjot Singh Sethi <email address hidden>
Date: Fri May 20 11:41:57 2016 +0530

Fix Slow withdraw of Logical Switch from OVSDB

Issue:
------
Logical Switch withdraw from OVSDB server due to VxLAN
unavailable is very slow, as DeleteOvs task sends delete
for one dependent entry and then waits for an ack to
trigger delete for next entry.

Fix:
----
keep reference to the next entry for which a delete needs
to be send and use it to trigger deletes for the next
entry after the process yield completes. this allows the
task to proceed without waiting for Delete Acks

Closes-Bug: 1583556
Change-Id: Ie7fd5c1fe696cb1f47023b4ca3c399eb6d2707df
(cherry picked from commit a10c1c1da92cc3d4bc93b15dc441c888541fa454)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/20448
Committed: http://github.org/Juniper/contrail-controller/commit/a10c1c1da92cc3d4bc93b15dc441c888541fa454
Submitter: Zuul
Branch: master

commit a10c1c1da92cc3d4bc93b15dc441c888541fa454
Author: Prabhjot Singh Sethi <email address hidden>
Date: Fri May 20 11:41:57 2016 +0530

Fix Slow withdraw of Logical Switch from OVSDB

Issue:
------
Logical Switch withdraw from OVSDB server due to VxLAN
unavailable is very slow, as DeleteOvs task sends delete
for one dependent entry and then waits for an ack to
trigger delete for next entry.

Fix:
----
keep reference to the next entry for which a delete needs
to be send and use it to trigger deletes for the next
entry after the process yield completes. this allows the
task to proceed without waiting for Delete Acks

Closes-Bug: 1583556
Change-Id: Ie7fd5c1fe696cb1f47023b4ca3c399eb6d2707df

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.