-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: VOLTHA v2.9
-
Fix Version/s: VOLTHA v2.10
-
Component/s: openolt-adapter
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:VOLTHA 2.10 - Sprint 6
There is below stale key in etcd after olt device delete
service/voltha/voltha_voltha/resource_manager/
{XGS-PON}/
{2c6cafa5-c55b-4428-86d2-513ec1356860}/onu_id_pool/
{0}It seems like openolt device delete handling and ChildDeviceLost handling are having race condition where olt device delete cleans up all entries, but ChildDeviceLost may be creating entries again by updating the kv store during resource release.
A possible fix is to have the getDeviceDeletionInProgressFlag check to see if olt device delete is in progress and then ignore ChildDeviceLost handling if olt device delete is already in progress.
Logs are attached.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
31849,5 | VOL-4670: Fix for flowIDsForGem cache in openolt adapter resource manager is not updated on adapter restarts | master | voltha-openolt-adapter | Status: MERGED | +2 | +1 |