-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.9
-
Component/s: openonu-adapter
-
Labels:None
-
Story Points:3
-
Epic Link:
If flows are removed from a port while the openonu-device is not running the reconcile fails.
What happens is that all flows are removed from a port the openolt-adapter removes the corresponding TP-instance from ETCD, thus when the openonu-adapter restarts and asks for it the request fails.
There are two sides of this:
- "Process_tech_profile_instance_request" does not differentiate between and error and a missing tech-profile, and more than that if the TP-instance is not found the request never returns (see https://jira.opencord.org/browse/VOL-4351)
- If the request returns with a missing TP some cleanup is most likely needed in the openonu-adapter (eg: the tcont, gemport and flows need to be removed)
How to replicate
- Deploy the ATT workflow using
- onos image: matteoscandolo/voltha-onos:oltapp
- openolt image: matteoscandolo/voltha-openolt-adapter:reconcile
- Run Reconcile For Disabled Onu Device test: "KVSTOREPREFIX=voltha/voltha_voltha ROBOT_MISC_ARGS='-v ONOS_SSH_PORT:30115 -v ONOS_REST_PORT:30120 -v INFRA_NAMESPACE:default -v NAMESPACE:default' make reconcile-openonu-go-adapter-test-att"
NOTE:
- matteoscandolo/voltha-onos:oltapp contains the new version of the org.opencord.olt app. It is a major refactoring of the app. One of the differences is that the new app will remove all the flows for a disabled port, while the previous one wasn't.
- matteoscandolo/voltha-openolt-adapter:reconcile contains the patches to resolve
VOL-4351
- relates to
-
VOL-4351 Process_tech_profile_instance_request does not return errors
- Resolved