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

Errors in openolt-adapter logs when OLT deleted

    XMLWordPrintable

    Details

      Description

      The last step of the "sanity test" with BBSim is to disable and delete the OLT device. The test passes but we see the following errors in the openolt-adapter logs:

      {
        "level": "error",
        "ts": "2019-12-18T21:34:29.576Z",
        "msg": "Indications ended",
        "instanceId": "adapter-open-olt-6c87bfdcd8-v2qlz",
        "caller": "device_handler.readIndications:334",
        "stacktrace": "github.com/opencord/voltha-lib-go/v2/pkg/log.Errorw\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/log/log.go:721\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*DeviceHandler).readIndications\n\t/go/src/adaptercore/device_handler.go:334"
      }
      {
        "level": "error",
        "ts": "2019-12-18T21:34:38.098Z",
        "msg": "Update_flows_incrementally failed-device-handler-not-set",
        "instanceId": "adapter-open-olt-6c87bfdcd8-v2qlz",
        "caller": "openolt.Update_flows_incrementally:286",
        "deviceId": "fc726cfe34ed814ff957a8f7",
        "stacktrace": "github.com/opencord/voltha-lib-go/v2/pkg/log.Errorw\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/log/log.go:721\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOLT).Update_flows_incrementally\n\t/go/src/adaptercore/openolt.go:286\ngithub.com/opencord/voltha-lib-go/v2/pkg/adapters/common.(*RequestHandlerProxy).Update_flows_incrementally\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/adapters/common/request_handler.go:398\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:447\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:308\ngithub.com/opencord/voltha-lib-go/v2/pkg/kafka.CallFuncByName\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/kafka/kafka_inter_container_library.go:601\ngithub.com/opencord/voltha-lib-go/v2/pkg/kafka.(*InterContainerProxy).handleMessage\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/kafka/kafka_inter_container_library.go:660"
      }
      {
        "level": "error",
        "ts": "2019-12-18T21:34:38.719Z",
        "msg": "failure sending del tcont to onu adapter",
        "instanceId": "adapter-open-olt-6c87bfdcd8-v2qlz",
        "caller": "openolt_flowmgr.sendDeleteTcontToChild:1277",
        "fromAdapter": "openolt",
        "toAdapter": "brcm_openomci_onu",
        "onuId": "b0a0cc383219bfdcb94cd789",
        "proxyDeviceId": "fc726cfe34ed814ff957a8f7",
        "stacktrace": "github.com/opencord/voltha-lib-go/v2/pkg/log.Errorw\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/log/log.go:721\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOltFlowMgr).sendDeleteTcontToChild\n\t/go/src/adaptercore/openolt_flowmgr.go:1277\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOltFlowMgr).clearResources\n\t/go/src/adaptercore/openolt_flowmgr.go:1402\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOltFlowMgr).clearFlowFromResourceManager\n\t/go/src/adaptercore/openolt_flowmgr.go:1465\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOltFlowMgr).RemoveFlow\n\t/go/src/adaptercore/openolt_flowmgr.go:1503\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*DeviceHandler).UpdateFlowsIncrementally\n\t/go/src/adaptercore/device_handler.go:1086\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOLT).Update_flows_incrementally\n\t/go/src/adaptercore/openolt.go:284\ngithub.com/opencord/voltha-lib-go/v2/pkg/adapters/common.(*RequestHandlerProxy).Update_flows_incrementally\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/adapters/common/request_handler.go:398\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:447\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:308\ngithub.com/opencord/voltha-lib-go/v2/pkg/kafka.CallFuncByName\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/kafka/kafka_inter_container_library.go:601\ngithub.com/opencord/voltha-lib-go/v2/pkg/kafka.(*InterContainerProxy).handleMessage\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/kafka/kafka_inter_container_library.go:660"
      }
      {
        "level": "error",
        "ts": "2019-12-18T21:34:38.719Z",
        "msg": "error processing delete tcont towards onu",
        "instanceId": "adapter-open-olt-6c87bfdcd8-v2qlz",
        "caller": "openolt_flowmgr.clearResources:1403",
        "pon": 0,
        "onuID": 1,
        "uniID": 1,
        "allocId": 1025,
        "stacktrace": "github.com/opencord/voltha-lib-go/v2/pkg/log.Errorw\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/log/log.go:721\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOltFlowMgr).clearResources\n\t/go/src/adaptercore/openolt_flowmgr.go:1403\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOltFlowMgr).clearFlowFromResourceManager\n\t/go/src/adaptercore/openolt_flowmgr.go:1465\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOltFlowMgr).RemoveFlow\n\t/go/src/adaptercore/openolt_flowmgr.go:1503\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*DeviceHandler).UpdateFlowsIncrementally\n\t/go/src/adaptercore/device_handler.go:1086\ngithub.com/opencord/voltha-openolt-adapter/adaptercore.(*OpenOLT).Update_flows_incrementally\n\t/go/src/adaptercore/openolt.go:284\ngithub.com/opencord/voltha-lib-go/v2/pkg/adapters/common.(*RequestHandlerProxy).Update_flows_incrementally\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/adapters/common/request_handler.go:398\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:447\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:308\ngithub.com/opencord/voltha-lib-go/v2/pkg/kafka.CallFuncByName\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/kafka/kafka_inter_container_library.go:601\ngithub.com/opencord/voltha-lib-go/v2/pkg/kafka.(*InterContainerProxy).handleMessage\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v2/pkg/kafka/kafka_inter_container_library.go:660"
      }
      

        Attachments

          Issue Links

          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              khagerma Kent Hagerman
              Reporter:
              acb Andy Bavier
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes