-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Low
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.2
-
Component/s: openomci
-
Labels:
-
Environment:
Edgecore OLT
Alpha ONU
Arris RG
-
Story Points:1
-
Epic Link:
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}
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
16185,1 | VOL-2214: Clearing of alarm bit map to 0 must be long type | master | pyvoltha | Status: MERGED | +2 | +1 |