-
Type: Sub-task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.8
-
Component/s: openolt-adapter
-
Labels:None
-
Story Points:3
- FindAllTpInstances is reading the wrong KV store data path
The method is reading
service/voltha/technology_profiles/XGS-PON/{tpID}/pon-{ponID}/onu-{onuID}
instead of
service/voltha/technology_profiles/XGS-PON/{tpID}/olt-{deviceID}/pon-{ponID}/onu-{onuID}
Missing deviceID must be added.
- Internal Error While Creating US Scheduler (Alloc)
When the openolt agent conveys "CreateTrafficSchedulers" request to BAL API for an already created and active allocID (even if it is for another UNI port), BAL API doesn't send alloc indication to the agent and it causes an internal error.
[210603-102655.904: I OPENOLT ] core_api_handler.cc 2378| Creating alloc_id 1024 with pir = 7488000 bytes/sec, cir = 5000000 bytes/sec, gir = 0 bytes/sec, additional_bw = 2. (onu 3 uni 0)
[210603-102722.427: I OPENOLT ] core_api_handler.cc 2378| Creating alloc_id 1024 with pir = 7488000 bytes/sec, cir = 5000000 bytes/sec, gir = 0 bytes/sec, additional_bw = 2. (onu 3 uni 1)
[210603-102727.499: E OPENOLT ] core_utils.cc 578| timeout waiting for alloc cfg complete indication intf_id 0, alloc_id 1024
[210603-102727.499: E OPENOLT ] core_api_handler.cc 2473| Failed to create upstream bandwidth allocation, intf_id 0, onu_id 3, uni_id 1,port_no 49, alloc_id 1024, err = Internal error
[210603-102727.499: E OPENOLT ] core_api_handler.cc 2520| Failed to create scheduler, err = Internal error
The easiest way to solve this problem is checking already created alloc information on the openolt adapter. If the openolt adapter finds an active alloc that is already used for a different UNI port of the related ONU, it will not send createTrafficSchedulers requests to the agent.
- Upstream scheduler removal must be updated to check AllocID usage and free resources - Addition of isAllocUsedByAnotherUNI control
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
25248,2 | [VOL-4173] Fix for wrong KV store path in FindAllTpInstances method | master | voltha-lib-go | Status: MERGED | +2 | +1 |
25249,5 | [VOL-4173] Multi UNI changes in OLT adapter - FindAllTpInstances method will read right KV store path - Do not send US createTrafficSchedulers requests to the agent if the related AllocID is already created for other UNI ports of the ONU - Addition of isAllocUsedByAnotherUNI control | master | voltha-openolt-adapter | Status: MERGED | +2 | +1 |