Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SONIC-SWSS] [DASH_APPLIANCE_TABLE] | syslog errors when applying DASH_APPLIANCE_TABLE config without "local_region_id" attribute #21696

Open
ram25794 opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
smartswitch Triaged this issue has been triaged

Comments

@ram25794
Copy link

local_region_id is an optional attribute in the DASH_APPLIANCE_TABLE config, so the case where local_region_id is not defined in the config should also be handled. Else we get the following log error.

2024 Nov  9 19:13:59.571705 sonic ERR syncd#syncd#SAI: :- sendApiResponse: api SAI_COMMON_API_CREATE failed in syncd mode: SAI_STATUS_NOT_IMPLEMENTED
2024 Nov  9 19:13:59.572190 sonic ERR swss#orchagent: :- create: create status: SAI_STATUS_NOT_IMPLEMENTED
2024 Nov  9 19:13:59.573071 sonic ERR syncd#syncd#SAI: :- processQuadEvent: attr: SAI_DASH_APPLIANCE_ATTR_LOCAL_REGION_ID: 0

"create_dash_appliance" method can be called only when "local_region_id" is configured - https://github.com/sonic-net/sonic-swss/blob/4eb74f0082f0f8c4537fe58621ac902c870d217c/orchagent/dash/dashorch.cpp#L106 to avoid the above mentioned log errors.

Issue is found on the latest Master branch.

Steps to Reproduce :

  1. Load the switch the latest master image which doesn't support DASH_APPLIANCE_TABLE.
  2. Apply DASH_APPLIANCE_TABLE config
[

{
        "DASH_APPLIANCE_TABLE:1": {
            "sip": "1.1.1.1", 
            "vm_vni": "1"
        },
        "OP": "SET"
    }

]
  1. Log Error seen in syslog
@bingwang-ms bingwang-ms added the Triaged this issue has been triaged label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
smartswitch Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

4 participants