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

OfAgent received two FlowDeleteStrict for the same flow

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Epic Link:
    • Sprint:
      VOLTHA 2.9 - Sprint 7, VOLTHA 2.9 - Release sprint

      Description

      When removing the default EAPOL flow (and others) OfAgent logs two FlowDeleteStrict back to back:

      {"level":"debug","ts":"2021-11-24T02:06:46.394Z","caller":"openflow/flowMod.go:349","msg":"handleFlowDeleteStrict called","instanceId":"voltha-voltha-ofagent-6fc5655546-xj8xp","op-id":"0f852be784955069","op-name":"openflow-flow-delete-strict","flow":{"Version":4,"Type":14,"Length":72,"Xid":6,"Cookie":48695174597773444,"CookieMask":0,"TableId":0,"Command":4,"IdleTimeout":0,"HardTimeout":0,"Priority":10000,"BufferId":4294967295,"OutPort":4294967295,"OutGroup":4294967295,"Flags":{"SendFlowRem":true},"Match":{"Type":1,"Length":18,"OxmList":[{"Type":"in_port","Value":256},{"Type":"eth_type","Value":"pae"}]},"Instructions":null},"device-id":"d08293ab-e691-4d5a-8bf0-cefd54b83d26"}
      {"level":"debug","ts":"2021-11-24T02:06:46.446Z","caller":"openflow/flowMod.go:349","msg":"handleFlowDeleteStrict called","instanceId":"voltha-voltha-ofagent-6fc5655546-xj8xp","op-id":"05649573a421bf16","op-name":"openflow-flow-delete-strict","device-id":"d08293ab-e691-4d5a-8bf0-cefd54b83d26","flow":{"Version":4,"Type":14,"Length":72,"Xid":7,"Cookie":48695174597773444,"CookieMask":0,"TableId":0,"Command":4,"IdleTimeout":0,"HardTimeout":0,"Priority":10000,"BufferId":4294967295,"OutPort":4294967295,"OutGroup":4294967295,"Flags":{"SendFlowRem":true},"Match":{"Type":1,"Length":18,"OxmList":[{"Type":"in_port","Value":256},{"Type":"eth_type","Value":"pae"}]},"Instructions":null}}
      {"level":"error","ts":"2021-11-24T02:06:46.448Z","caller":"openflow/flowMod.go:478","msg":"Error calling FlowDelete ","instanceId":"voltha-voltha-ofagent-6fc5655546-xj8xp","op-id":"05649573a421bf16","op-name":"openflow-flow-delete-strict","device-id":"d08293ab-e691-4d5a-8bf0-cefd54b83d26","error":"rpc error: code = Unavailable desc = adapter(s)-not-ready","stacktrace":"github.com/opencord/ofagent-go/internal/pkg/openflow.(*OFConnection).handleFlowDeleteStrict\n\t/go/src/internal/pkg/openflow/flowMod.go:478\ngithub.com/opencord/ofagent-go/internal/pkg/openflow.(*OFConnection).parseHeader\n\t/go/src/internal/pkg/openflow/connection.go:422"}
      

        Attachments

        1. ofagent.48695174597773444.log
          2 kB
        2. ofagent.log
          4.44 MB
        3. onos.AD0000D82D0884.log.clean
          79 kB
        4. onos.log
          329 kB
        5. pipeline.log
          16 kB
        6. pipeline.log.clean
          14 kB

          Issue Links

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

            Activity

              People

              Assignee:
              teone Matteo Scandolo
              Reporter:
              teone Matteo Scandolo
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes