Skip to content

[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
liat-grozovik merged 1 commit intosonic-net:202205from
stephenxs:202205-db-migrator-notice
Dec 29, 2022
Merged

[Mellanox][202205] Change severity to NOTICE in Mellanox buffer migrator when unable to fetch DEVICE_METADATA due to empty CONFIG_DB during initialization#2570
liat-grozovik merged 1 commit intosonic-net:202205from
stephenxs:202205-db-migrator-notice

Conversation

@stephenxs
Copy link
Copy Markdown
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