Skip to content

[PMON] Skip chassis_db_init task on Mellanox simx platform#9017

Merged
lguohan merged 1 commit intosonic-net:masterfrom
keboliu:skip_chassis_init_db_on_simx
Oct 24, 2021
Merged

[PMON] Skip chassis_db_init task on Mellanox simx platform#9017
lguohan merged 1 commit intosonic-net:masterfrom
keboliu:skip_chassis_init_db_on_simx

Conversation

@keboliu
Copy link
Copy Markdown
Collaborator

@keboliu keboliu commented Oct 20, 2021

Signed-off-by: Kebo Liu kebol@nvidia.com

Why I did it

"chassis_db_init" task of PMON should be skipped on Mellanox simx platform, since the hardware info which this task is trying to access is not available on simx platforms, It will introduce some error log.

How I did it

  1. Add the capability for "chassis_db_init" in the template for it can be skipped by adding configuration in "pmon_daemon_control.json".
  2. add "skip_chassis_db_init" configuration for simx platforms.
  3. use symbol link for "pmon_daemon_control.json" since all the simx platforms share the same configuration

How to verify it

Build an image and install it on simx platform to check whether "chassis_db_init" task is skipped.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Kebo Liu <kebol@nvidia.com>
@keboliu keboliu requested a review from lguohan as a code owner October 20, 2021 06:23
@keboliu keboliu requested a review from sujinmkang October 22, 2021 01:13
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