-
Type: Bug
-
Status: To Do (View Workflow)
-
Priority: Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Future
-
Component/s: VOLTHA
-
Labels:
-
Story Points:3
-
Epic Link:
Att workflow driver service instances are not created due to missing ONU events in ONOS from voltha.
- Delete whitelist, subscribers and OLT from XOS
- Re-add whitelist, subscriber and OLT into XOS
- After OLT and ONU states become ACTIVE and ENABLED in the voltha
- "ports" command in ONOS did not list the ONU
- as a result att workflow driver instances are not created
Problem is seen after performing delete and re-add OLT from XOS after 14-15times. Once att workflow driver service instances issue is seen, issue is seen consistently [possibly because VOLTHA (which is not rebooted) has corrupt state now]
Logs/Information:
===========================================================
(voltha) devices
Devices:
----------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
id | type | root | parent_id | serial_number | admin_state | oper_status | connect_status | parent_port_no | host_and_port | reason | proxy_address.device_id | proxy_address.onu_id | proxy_address.onu_session_id |
----------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0001defe0328a4f8 | openolt | True | 000100000ac014ce | EC1838000853 | ENABLED | ACTIVE | REACHABLE | 10.192.20.206:9191 | |||||
0001d04bdfbe836c | brcm_openomci_onu | 0001defe0328a4f8 | ALPHe3d1cfa7 | ENABLED | ACTIVE | REACHABLE | 536870912 | initial-mib-downloaded | 0001defe0328a4f8 | 1 | 1 |
----------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(voltha)
=======================================================
onos> ports
id=of:000000000ac014ce, available=true, local-status=connected 3m37s ago, role=MASTER, type=SWITCH, mfr=VOLTHA Project, hw=, sw=, serial=EC1
838000853, chassis=ac014ce, driver=voltha, channelId=10.233.71.54:49708, locType=none, managementAddress=10.233.71.54, name=olt-1, protocol=
OF_13
port=65536, state=enabled, type=fiber, speed=0 , adminState=enabled, portMac=00:00:00:01:00:00, portName=nni-65536
id=of:0000cc37ab5b6da8, available=true, local-status=connected 7h8m ago, role=MASTER, type=SWITCH, mfr=Accton Corp., hw=x86-64-ac
========================================================
ATT WorkFlow driver container
======================
2019-03-06T21:32:21.887914Z [info ] Processing event event_msg=<xossynchronizer.event_engine.XOSKafkaMessage instance at 0x7f0201a0d7a0> step=ONUEventStep synchronizer_name=att-workflow-driver
2019-03-06T21:32:21.889105Z [info ] onu.events: received event synchronizer_name=att-workflow-driver value={u'status': u'disabled', u'timestamp': u'2019-03-06T21:32:21.883Z', u'uni_port_id': 16, u'of_dpid': u'of:000000000ac014ce', u'serial_number': u'ALPHe3d1cfa7'}
2019-03-06T21:32:21.889894Z [info ] onu.events: disabled onu, not taking any action synchronizer_name=att-workflow-driver value={u'status': u'disabled', u'timestamp': u'2019-03-06T21:32:21.883Z', u'uni_port_id': 16, u'of_dpid': u'of:000000000ac014ce', u'serial_number': u'ALPHe3d1cfa7'}
2019-03-06T21:32:21.988516Z [debug ] Reached end of kafka topic onu.events, partition: 0, offset: 50 synchronizer_name=att-workflow-driver