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

[Mellanox][202205] Change severity to NOTICE in Mellanox buffer migrator when unable to fetch DEVICE_METADATA due to empty CONFIG_DB during initialization #2570

Merged
merged 1 commit into from
Dec 29, 2022

Conversation

stephenxs
Copy link
Collaborator

What I did

This is to cherry-pick PR #2569 to 202205.
It is expected that db_migrator is not able to fetch DEVICE_METADATA when it is invoked before the CONFIG_DB is initialized. In this case, we should not use ERROR to log the message since it's not an error.
Change the severity to NOTICE

Signed-off-by: Stephen Sun stephens@nvidia.com

How I did it

Change the severity.

How to verify it

Manually test.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

… unable to fetch DEVICE_METADATA due to empty CONFIG_DB during initialization (sonic-net#2569)

- What I did
It is expected that db_migrator is not able to fetch DEVICE_METADATA when it is invoked before the CONFIG_DB is initialized. In this case, we should not use ERROR to log the message since it's not an error.
Change the severity to NOTICE

- How I did it
Change the severity.

- How to verify it
Manually test.

Signed-off-by: Stephen Sun <stephens@nvidia.com>
@liat-grozovik liat-grozovik merged commit 3bc2bc6 into sonic-net:202205 Dec 29, 2022
@stephenxs stephenxs deleted the 202205-db-migrator-notice branch December 29, 2022 22:43
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.

2 participants