config-resilience: Handle 'locate' failures in service-monitor

Bug #1480402 reported by Hampapur Ajay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Undecided
Rudra Rugge
Trunk
Fix Committed
Undecided
Rudra Rugge

Bug Description

Encountered a case where there were inconsistent index <-> objects in config db (i.e. fq-name-to-id said object was present but in fact object was not present).

In this case service monitor failed in locate of this object (could be VMI/VN/SI) and service would forever be unavailable.

It would be preferable to restrict loss of svc-monitor service only to the failed project/VN.

Tags: config
tags: added: config
Rudra Rugge (rrugge)
Changed in juniperopenstack:
assignee: nobody → Rudra Rugge (rudrarugge)
assignee: Rudra Rugge (rudrarugge) → nobody
assignee: nobody → Prakash Bailkeri (prakashmb)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/12859
Submitter: Rudra Rugge (<email address hidden>)

Rudra Rugge (rrugge)
Changed in juniperopenstack:
assignee: Prakash Bailkeri (prakashmb) → Rudra Rugge (rudrarugge)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/12864
Submitter: Rudra Rugge (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/12859
Submitter: Rudra Rugge (<email address hidden>)

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

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

commit ca2565b516e17f96e31ce74bf86b58d86a8d6e73
Author: Rudra Rugge <email address hidden>
Date: Sat Jul 25 11:54:24 2015 -0700

Handle 'locate' failures in service-monitor

Encountered a case where there were inconsistent index <-> objects in config db
(i.e. fq-name-to-id said object was present but in fact object was not present).
In this case service monitor failed in locate of this object (could be VMI/VN/SI)
and service would forever be unavailable.
Added exception handling to log and skip the missing objects.

Change-Id: Idd3400742f2c3e207d4c149a178524780fa0b003
Closes-Bug: #1480402

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

Reviewed: https://review.opencontrail.org/12864
Committed: http://github.org/Juniper/contrail-controller/commit/237fe711b0d1eafe5387162c2fc347a40ed1b570
Submitter: Zuul
Branch: R2.20

commit 237fe711b0d1eafe5387162c2fc347a40ed1b570
Author: Rudra Rugge <email address hidden>
Date: Sat Jul 25 13:58:57 2015 -0700

Handle 'locate' failures in service-monitor

Encountered a case where there were inconsistent index <-> objects in config db
(i.e. fq-name-to-id said object was present but in fact object was not present).
In this case service monitor failed in locate of this object (could be VMI/VN/SI)
and service would forever be unavailable.
Added exception handling to log and skip the missing objects.

Change-Id: I5163a5bad5d45fdefc6c2484076f4bb3bae07ce9
Closes-Bug: #1480402

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

Review in progress for https://review.opencontrail.org/13927
Submitter: Vinay Vithal Mahuli (<email address hidden>)

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.