Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4352

Device reconcile fails if flows are removed while the openonu-adapter is down

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              HolgerH Holger Hildebrandt
              Reporter:
              teone Matteo Scandolo
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes