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.
Reviewed: https:/ /review. opencontrail. org/12864 github. org/Juniper/ contrail- controller/ commit/ 237fe711b0d1eaf e5387162c2fc347 a40ed1b570
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 237fe711b0d1eaf e5387162c2fc347 a40ed1b570
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: I5163a5bad5d45f defc6c2484076f4 bb3bae07ce9
Closes-Bug: #1480402