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

[platform-daemons] pcied daemon doesn't update STATE_DB #5349

Closed
bratashX opened this issue Sep 9, 2020 · 1 comment
Closed

[platform-daemons] pcied daemon doesn't update STATE_DB #5349

bratashX opened this issue Sep 9, 2020 · 1 comment

Comments

@bratashX
Copy link
Contributor

bratashX commented Sep 9, 2020

Steps to reproduce the issue:

  1. Run pcied daemon
  2. Execute command
    redis-cli -n 6 SET "PCIE_STATUS|PCIE_DEVICES" "TEST"
  3. Wait one minute
  4. Execute command
    redis-cli -n 6 GET "PCIE_STATUS|PCIE_DEVICES

Describe the results you received:

pcied daemon must update the database every minute, but PCIE_STATUS|PCIE_DEVICES doesn`t change.

Additional information you deem important (e.g. issue happens only occasionally):

pcie-check.service and pcied daemon set different variables in STATE_DB.

https://github.com/Azure/sonic-platform-daemons/blob/7f812c93b19fc456ac1ecd66510d403b8ff775c3/sonic-pcied/scripts/pcied#L83

https://github.com/Azure/sonic-buildimage/blob/5b3b4804adcffaa43012596acf6effe5a31f0256/files/image_config/pcie-check/pcie-check.sh#L40

@liat-grozovik
Copy link
Collaborator

issue was handled and clarified as fixed

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

2 participants