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 work #5236

Closed
bratashX opened this issue Aug 21, 2020 · 3 comments
Closed

[platform-daemons] pcied daemon doesn't work #5236

bratashX opened this issue Aug 21, 2020 · 3 comments
Assignees

Comments

@bratashX
Copy link
Contributor

Description

Steps to reproduce the issue:

  1. Deploy SONiC.HEAD.748
  2. Execute
    docker exec pmon supervisorctl status
  3. Wait one minute
  4. Execute
    docker exec pmon supervisorctl status

Describe the results you received:
pmon daemon restarts every minute.

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

pmon daemon execute pcieutil, but pcieutil is absent in pmon container.
https://github.com/Azure/sonic-platform-daemons/blob/415b8c457625c514aff0f8ecbdbbb655414d8067/sonic-pcied/scripts/pcied#L57

INFO pmon#supervisord: pcied Traceback (most recent call last):
INFO pmon#supervisord: pcied File "/usr/local/bin/pcied", line 129, in
INFO pmon#supervisord: pcied main()
INFO pmon#supervisord: pcied File "/usr/local/bin/pcied", line 126, in main
INFO pmon#supervisord: pcied pcied.run()
INFO pmon#supervisord: pcied File "/usr/local/bin/pcied", line 110, in run
INFO pmon#supervisord: pcied self.check_pcie_devices()
INFO pmon#supervisord: pcied File "/usr/local/bin/pcied", line 58, in check_pcie_devices
INFO pmon#supervisord: pcied p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
INFO pmon#supervisord: pcied File "/usr/lib/python2.7/subprocess.py", line 394, in init
INFO pmon#supervisord: pcied errread, errwrite)
INFO pmon#supervisord: pcied File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
INFO pmon#supervisord: pcied raise child_exception
INFO pmon#supervisord: pcied OSError: [Errno 2] No such file or directory

@lguohan
Copy link
Collaborator

lguohan commented Sep 2, 2020

@sujinmkang, any update on this?

@sujinmkang
Copy link
Collaborator

@lguohan I just noticed this issue and am looking into it. I will update this issue soon.

@bratashX
Copy link
Contributor Author

Bug 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

3 participants