openBackhaul / MacAddressTableRecorder

Markus' first Application on the MW SDN Controller
Apache License 2.0
4 stars 0 forks source link

unable to fetch the MAC table for few devices where it is throwing error with body structure is not correct #236

Open Ziabatcha opened 2 months ago

Ziabatcha commented 2 months ago

Observing " Writing operation into Elastic Search Failed : body structure is not correct from element" in docker logs, whereas for the same node we are able to retrieve the MAC table from Controller.

Docker Logs:

500 - Error: Writing operation into Elastic Search Failed : body structure is not correct from element (I time) 529253447 Resend the request....
500 - Error: Writing operation into Elastic Search Failed : body structure is not correct from element (II time) 529253447 --> Dropped from Sliding Window

ODL output:

{
    "mac-fd-1-0:output": {
        "mac-table-entry-list": [
            {
                "mac-address": "8c:68:3a:01:ed:df",
                "vlan-id": "1520",
                "egress-ltp": "LTP-MACINTERFACE-TTP-3-1",
                "affected-mac-fd": "FD-MAC-1-1"
            },
nardecchia-siae commented 1 week ago

in the callback PromptForUpdatingMacTableFromDeviceCausesWritingIntoElasticSearch there is a check which control that the body message is complete, in particular it should contain:

If one of this conditions are not present the application exit with the message reported in the bug

ssomasundara commented 1 week ago

@SIAE team: Pls fix this issue on higher priority as the number of failures in production is more than 1700.