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

OMCI Alarms are not clearing

    XMLWordPrintable

    Details

      Description

      UNI link state alarms happen when a UNI is unplugged/re-plugged back into an RG or other Ethernet device.   The clear event for these alarms (UNI is up) is not being processed due to a bug casting the zero'ed alarm bit map to a long:

      This is represented by the following in the onu adapter errors logs:

      20191108T162359.484 ERROR    MainThread mib_db_dict.set {class_id: 11, instance_id: 4acace69d9cf_1573229934, e: New value type for attribute 'alarm_bit_map' type is changing from '<type 'long'>' to '<type 'int'>', attributes: {'alarm_bit_map': 0}, event: set-failure, vcore_id: None}
      20191108T162359.485 ERROR    MainThread alarm_sync.process_alarm_data {device_id: c452ee40052cdb2a8aea964c, entity_id: 257, e: New value type for attribute 'alarm_bit_map' type is changing from '<type 'long'>' to '<type 'int'>', class_id: 11, value: 0, event: alarm-save-failure, exception: Traceback (most recent call last):
        File "/usr/local/lib/python2.7/dist-packages/pyvoltha/adapters/extensions/omci/state_machines/alarm_sync.py", line 475, in process_alarm_data
          self._database.set(self._device_id, class_id, entity_id, {key: bitmap})
        File "/usr/local/lib/python2.7/dist-packages/pyvoltha/adapters/extensions/omci/database/mib_db_dict.py", line 304, in set
          format(attribute, type(db_value), type(value))
      AssertionError: New value type for attribute 'alarm_bit_map' type is changing from '<type 'long'>' to '<type 'int'>', instance_id: 4acace69d9cf_1573229934, vcore_id: None}
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mjeanneret Matt Jeanneret
            Reporter:
            mjeanneret Matt Jeanneret
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes