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

Fix potential conncurency issues in olt-service

    XMLWordPrintable

    Details

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

      Description

      The multithread-save tool indicates that these model fields may be being saved from multiple locations concurrently:

      Inspecting model:  OLTDevice
        [WARNING] Object being saved with no changes!
        Field:  oper_status
           /opt/xos/synchronizers/volt/pull_steps/pull_olts.py
           /opt/xos/synchronizers/volt/steps/sync_olt_device.py
        Field:  of_id
           /opt/xos/synchronizers/volt/pull_steps/pull_olts.py
           /opt/xos/synchronizers/volt/steps/sync_olt_device.py
        Field:  serial_number
           /opt/xos/synchronizers/volt/pull_steps/pull_olts.py
           /opt/xos/synchronizers/volt/steps/sync_olt_device.py
        Field:  backend_status
           /opt/xos/synchronizers/volt/pull_steps/pull_olts.py
           /opt/xos/synchronizers/volt/steps/sync_olt_device.py
        Field:  device_id
           /opt/xos/synchronizers/volt/pull_steps/pull_olts.py
           /opt/xos/synchronizers/volt/steps/sync_olt_device.py
      
      Inspecting model:  VOLTServiceInstance
        [WARNING] Object being saved with no changes!
        Field:  onu_device_id
           /opt/xos/synchronizers/volt/steps/sync_volt_service_instance.py
           /opt/xos/synchronizers/volt/model_policies/model_policy_voltserviceinstance.py
        Field:  subscribed_links_ids
           /opt/xos/synchronizers/volt/steps/sync_volt_service_instance.py
           /opt/xos/synchronizers/volt/model_policies/model_policy_voltserviceinstance.py
      
      Inspecting model:  PONPort
        [WARNING] Object being saved with no changes!
      
      Inspecting model:  NNIPort
        [WARNING] Object being saved with no changes!
      

      Correct these issues if possible.

        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