Skip to content

Reducing the severity of oper fec attribute get failure#2924

Merged
prsunny merged 3 commits intosonic-net:masterfrom
dgsudharsan:oper_fec_fix
Oct 13, 2023
Merged

Reducing the severity of oper fec attribute get failure#2924
prsunny merged 3 commits intosonic-net:masterfrom
dgsudharsan:oper_fec_fix

Conversation

@dgsudharsan
Copy link
Copy Markdown
Collaborator

What I did
Reduced the severity of log when get attribute of oper fec failed.

Why I did it
The oper fec is not a mandatory attribute and may not be implemented by vendor SAI, in which case throwing an error is wrong. Reduced the severity of the log message to notice. This will also fix the checker issues in sonic-net/sonic-buildimage#16785

How I verified it

Details if related

@dgsudharsan
Copy link
Copy Markdown
Collaborator Author

/azpw run Azure.sonic-swss

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-swss

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

prsunny
prsunny previously approved these changes Oct 12, 2023
@prsunny prsunny requested review from prgeor and removed request for prgeor October 12, 2023 22:38
@prgeor
Copy link
Copy Markdown
Contributor

prgeor commented Oct 12, 2023

@dgsudharsan do we need in 202305? if so please add the branch tag

@dgsudharsan
Copy link
Copy Markdown
Collaborator Author

@dgsudharsan do we need in 202305? if so please add the branch tag

Not required as the feature is only present in master.

@prsunny prsunny merged commit b9313df into sonic-net:master Oct 13, 2023
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
What I did
Reduced the severity of log when get attribute of oper fec failed.

Why I did it
The oper fec is not a mandatory attribute and may not be implemented by vendor SAI, in which case throwing an error is wrong. Reduced the severity of the log message to notice. This will also fix the checker issues in sonic-net/sonic-buildimage#16785
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants