-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: VOLTHA v2.10
-
Fix Version/s: VOLTHA v2.11
-
Component/s: openolt-adapter
-
Labels:None
-
Story Points:3
There is a problem in handling multiple ONU Discovery indications. The below log snippet is from theĀ https://jenkins.opencord.org/view/Community-PODs/job/build_berlin-community-pod-2-xgspon-zyxel_TP_voltha_TT_master_test/
grep SCOM00001c90 SanityTestTT-combined.log | grep -e onu-processing-completed -e new-discovery-indication -e creating-new-onu -e new-onu-device-discovered -e onu-discovered-reachable -e activate-onu -e activated-onu -e onu-activation-in-progress -e onu-activate-failed | more voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"info","ts":"2022-10-25T17:55:06.841Z","caller":"core/device_handler.go:1523","msg":"new-discovery-indication","instanceId":"vo ltha-voltha-adapter-openolt-5ffd7cf655-c5ngl","op-name":"/voltha.VolthaService/EnableDevice","task-id":"551c250fc1a64a5d","task-name":"onu-discovery-indication","device-id":"14b47ed0-6341-4dba-a760-94f83470a3e f","op-id":"3e84cde1f3bf034d","sn":"SCOM00001c90"} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"debug","ts":"2022-10-25T17:55:06.843Z","caller":"core/device_handler.go:1587","msg":"creating-new-onu","instanceId":"voltha-vo ltha-adapter-openolt-5ffd7cf655-c5ngl","task-name":"onu-discovery-indication","device-id":"14b47ed0-6341-4dba-a760-94f83470a3ef","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaService/EnableDevice","task- id":"551c250fc1a64a5d","sn":"SCOM00001c90"} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"info","ts":"2022-10-25T17:55:06.845Z","caller":"core/device_handler.go:1592","msg":"creating-new-onu-got-onu-id","instanceId": "voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaService/EnableDevice","task-id":"551c250fc1a64a5d","task-name":"onu-discovery-indication","device-id":"14b47 ed0-6341-4dba-a760-94f83470a3ef","sn":"SCOM00001c90","onuId":2} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"debug","ts":"2022-10-25T17:55:06.854Z","caller":"core/device_handler.go:1647","msg":"new-onu-device-discovered","instanceId":" voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaService/EnableDevice","task-id":"551c250fc1a64a5d","task-name":"onu-discovery-indication","device-id":"14b47e d0-6341-4dba-a760-94f83470a3ef","onu":{},"sn":"SCOM00001c90"} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"info","ts":"2022-10-25T17:55:06.858Z","caller":"core/device_handler.go:1662","msg":"onu-discovered-reachable","instanceId":"vo ltha-voltha-adapter-openolt-5ffd7cf655-c5ngl","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaService/EnableDevice","task-id":"551c250fc1a64a5d","task-name":"onu-discovery-indication","device-id":"14b47ed0 -6341-4dba-a760-94f83470a3ef","device-id":"0cb33f40-969c-4913-b003-e5d907da45b6","sn":"SCOM00001c90"} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"debug","ts":"2022-10-25T17:55:06.858Z","caller":"core/device_handler.go:1384","msg":"activate-onu","instanceId":"voltha-voltha -adapter-openolt-5ffd7cf655-c5ngl","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaService/EnableDevice","task-id":"551c250fc1a64a5d","task-name":"onu-discovery-indication","device-id":"14b47ed0-6341-4dba- a760-94f83470a3ef","serialNum":"vendor_id:\"SCOM\" vendor_specific:\"\\000\\000\\034\\220\\201\\005\\003\\000\" ","serialNumber":"SCOM00001c90","device-id":"14b47ed0-6341-4dba-a760-94f83470a3ef","OmccEncryptio n":false,"intf-id":1,"onu-id":2} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"info","ts":"2022-10-25T17:55:06.861Z","caller":"core/device_handler.go:1399","msg":"activated-onu","instanceId":"voltha-voltha -adapter-openolt-5ffd7cf655-c5ngl","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaService/EnableDevice","task-id":"551c250fc1a64a5d","task-name":"onu-discovery-indication","device-id":"14b47ed0-6341-4dba- a760-94f83470a3ef","SerialNumber":"SCOM00001c90","device-id":"14b47ed0-6341-4dba-a760-94f83470a3ef"} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"info","ts":"2022-10-25T17:55:06.861Z","caller":"core/device_handler.go:1556","msg":"onu-processing-completed","instanceId":"vo ltha-voltha-adapter-openolt-5ffd7cf655-c5ngl","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaService/EnableDevice","task-id":"551c250fc1a64a5d","task-name":"onu-discovery-indication","device-id":"14b47ed0 -6341-4dba-a760-94f83470a3ef","sn":"SCOM00001c90"} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"info","ts":"2022-10-25T17:55:06.861Z","caller":"core/device_handler.go:1523","msg":"new-discovery-indication","instanceId":"vo ltha-voltha-adapter-openolt-5ffd7cf655-c5ngl","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaService/EnableDevice","task-id":"48fae02085a21299","task-name":"onu-discovery-indication","device-id":"14b47ed0 -6341-4dba-a760-94f83470a3ef","sn":"SCOM00001c90"} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"debug","ts":"2022-10-25T17:55:06.862Z","caller":"core/device_handler.go:1647","msg":"new-onu-device-discovered","instanceId":" voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl","task-id":"48fae02085a21299","task-name":"onu-discovery-indication","device-id":"14b47ed0-6341-4dba-a760-94f83470a3ef","op-id":"3e84cde1f3bf034d","op-name":"/vol tha.VolthaService/EnableDevice","onu":{},"sn":"SCOM00001c90"} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"info","ts":"2022-10-25T17:55:06.864Z","caller":"core/device_handler.go:1662","msg":"onu-discovered-reachable","instanceId":"vo ltha-voltha-adapter-openolt-5ffd7cf655-c5ngl","op-name":"/voltha.VolthaService/EnableDevice","task-id":"48fae02085a21299","task-name":"onu-discovery-indication","device-id":"14b47ed0-6341-4dba-a760-94f83470a3e f","op-id":"3e84cde1f3bf034d","device-id":"0cb33f40-969c-4913-b003-e5d907da45b6","sn":"SCOM00001c90"} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"debug","ts":"2022-10-25T17:55:06.864Z","caller":"core/device_handler.go:1384","msg":"activate-onu","instanceId":"voltha-voltha -adapter-openolt-5ffd7cf655-c5ngl","task-id":"48fae02085a21299","task-name":"onu-discovery-indication","device-id":"14b47ed0-6341-4dba-a760-94f83470a3ef","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaSer vice/EnableDevice","intf-id":1,"onu-id":2,"serialNum":"vendor_id:\"SCOM\" vendor_specific:\"\\000\\000\\034\\220\\202\\005\\003\\000\" ","serialNumber":"SCOM00001c90","device-id":"14b47ed0-6341-4dba-a760-94f83 470a3ef","OmccEncryption":false} voltha/voltha-voltha-adapter-openolt-5ffd7cf655-c5ngl[adapter-open-olt]: {"level":"info","ts":"2022-10-25T17:55:06.865Z","caller":"core/device_handler.go:1556","msg":"onu-processing-completed","instanceId":"vo ltha-voltha-adapter-openolt-5ffd7cf655-c5ngl","op-id":"3e84cde1f3bf034d","op-name":"/voltha.VolthaService/EnableDevice","task-id":"48fae02085a21299","task-name":"onu-discovery-indication","device-id":"14b47ed0 -6341-4dba-a760-94f83470a3ef","sn":"SCOM00001c90"}
I believe this problem is introduced with this commit
- is caused by
-
VOL-2332 Same ONU added twice
- Resolved
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
33350,1 | [VOL-4830] handling multiple ONU Discovery indications | master | voltha-openolt-adapter | Status: MERGED | +2 | +1 |