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

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

Merged
merged 1 commit into from
Oct 24, 2021

Conversation

keboliu
Copy link
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>
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