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

Error log "Error in obtaining media setting for EthernetX" not representing an error #404

Open
tshalvi opened this issue Nov 12, 2023 · 0 comments

Comments

@tshalvi
Copy link
Contributor

tshalvi commented Nov 12, 2023

Please take a look at the following error log:
https://github.com/sonic-net/sonic-platform-daemons/blob/3b969c3142210d0439d11aa480fb29afb1ac546a/sonic-xcvrd/xcvrd/xcvrd.py#L777C1-L777C105

On Nvidia platforms, we expect to see this log printed for every non-CMIS module as part of the code's regular operation, even though it doesn't represent an actual error. This is because our media_settings.json file intentionally contains data for CMIS modules only. That's why for CMIS modules we expect the data from the json to be published to APP_DB, and for the others we expect encountering this particular message.

Is there a possibility to modify this log from 'log_error()' to 'log_notice()'?

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

No branches or pull requests

1 participant