Uploaded image for project: 'SEBA'
  1. SEBA
  2. SEBA-423

Declarative vs. feedback state in olt-service

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: February
    • Component/s: NEM
    • Labels:
      None

      Description

      One source of race conditions observed in the SiaB tests may be that the "admin_state" field in the OLTDevice and ONUDevice objects is used as both declarative and feedback state:  it is set to enable/disable the device, but it's also read from VOLTHA to learn the status of the device.  There is code in the pull step that tries to not update the model if it has been modified since the last sync, but I suspect this just narrows the window for races rather than eliminating them.

      [See solution in comment]

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            acb Andy Bavier
            Reporter:
            acb Andy Bavier
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes