[IEC-31] [IEC][SEBA] Synchronization failed for ONU Device and SwitchPort in xos-gui Created: 19/Mar/20  Updated: 30/Mar/20  Resolved: 30/Mar/20

Status: Done
Project: Integrated Edge Cloud
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Ciprian Barbu Assignee: Catalin Iova
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

On the newer SEBA version which we are trying to update to, we have already built the necessary images and are tracking the remaining issues.

The first obvious error happens in the XOS GUI (port 30001), showing error notifications in the form of red boxes with the message "Synchronization Failed for ONU Device" and "Synchronization Failed for SwitchPort". 



 Comments   
Comment by Catalin Iova [ 27/Mar/20 ]

The issue is caused by an error reported by seba-services-volt for an http post request to voltha core through voltha envoy. seba-services-volt synchronizer is trying to synchronize ONU device by enabling it while is already enabled and voltha core respond back to envoy with grpc error that device cannot be enabled while enabled but also with Bad Request http 400 error. Using envoy commit 29361deae91575a1d46c7a21e913f19e75622ebe or early, the http post request error is not passing through envoy for voltha core response. This may be an issue on opencord version too but not sure thought. With a newer envoy than the current used one (cachengo/envoy:29361deae91575a1d46c7a21e913f19e75622ebe) seems that http 1.0 is implemented and also grpc responses for grpc requests making the error passing through envoy leading to this synchronization issue.

SwithcPort is synchronizing later.

The fix consist in using cachengo/envoy:29361deae91575a1d46c7a21e913f19e75622ebe version for voltha-envoy image (iecedge/voltha-envoy_arm64:1.7.0).

Generated at Sat Feb 10 06:02:17 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.