Detect route add/delete without subscribe or pending subscribe for routing-instance

Bug #1466562 reported by Nischal Sheth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Medium
Nischal Sheth
Trunk
Fix Committed
Medium
Nischal Sheth

Bug Description

Along the lines of bug 1431025, it will be useful to detect cases where
CN receives route add/delete without a subscribe or a pending subscribe,
log an error or warning message and trigger close of the xmpp connection,
so that both sides can start with a clean slate.

Nischal Sheth (nsheth)
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/11805
Submitter: Nischal Sheth (<email address hidden>)

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

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

commit 6dc5cb9e8cd912a94312fe1598fe6e7716e29d88
Author: Nischal Sheth <email address hidden>
Date: Wed Jun 17 09:52:25 2015 -0700

Handle spurious route add/delete by closing xmpp connection

This protects against bugs and/or race conditions in agent code.
It allows both sides to recover cleanly, without getting the CN
stuck.

Change-Id: I785c45c201bf70b32bd2e120fcfacf4052df5bd1
Closes-Bug: 1466562

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

Review in progress for https://review.opencontrail.org/11853
Submitter: Nischal Sheth (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/11853
Committed: http://github.org/Juniper/contrail-controller/commit/81a066341c8090661e765542216e81827c279577
Submitter: Zuul
Branch: R2.20

commit 81a066341c8090661e765542216e81827c279577
Author: Nischal Sheth <email address hidden>
Date: Wed Jun 17 09:52:25 2015 -0700

Handle spurious route add/delete by closing xmpp connection

This protects against bugs and/or race conditions in agent code.
It allows both sides to recover cleanly, without getting the CN
stuck.

Change-Id: I785c45c201bf70b32bd2e120fcfacf4052df5bd1
Closes-Bug: 1466562

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.