Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4672

Stale etcd data in openolt adapter after olt device delete

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Epic Link:
    • Sprint:
      VOLTHA 2.10 - Sprint 6

      Description

      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.

        Attachments

        1. openolt.log
          1.47 MB
        2. openonu.log
          1.13 MB
        3. rw_core.log
          1.15 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            ggowdra Girish Gowdra
            Reporter:
            ggowdra Girish Gowdra
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes