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

Monit container_checker swss/syncd/teamd containers not running error in supervisor #10170

Closed
SuvarnaMeenakshi opened this issue Mar 7, 2022 · 2 comments · Fixed by #11442
Closed
Assignees
Labels
Chassis 🤖 Modular chassis support Triaged this issue has been triaged

Comments

@SuvarnaMeenakshi
Copy link
Contributor

Description

Steps to reproduce the issue:

  1. Bringup chassis with n-asic sup , where few asics are not present.
  2. swss/syncd/teamd services will come up in namespace corresponding to the asics that are available.
  3. for the asics that are NOT available, swss/syncd/teamd service will come up, but dockers will not be up as asic is not present.
  4. systemctl service will be in "active" state:
sudo systemctl status swss@<n>
â—� swss@<n>.service - switch state service
     Loaded: loaded (/lib/systemd/system/swss@.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/swss@<n>.service.d
             └─auto_restart.conf
     Active: active (running) since Mon 2022-03-07 19:38:55 UTC; 13min ago
    Process: 3905339 ExecStartPre=/usr/local/bin/swss.sh start <n> (code=exited, status=0/SUCCESS)
   Main PID: 3906818 (swss.sh)
      Tasks: 2 (limit: 38087)
     Memory: 11.7M
     CGroup: /system.slice/system-swss.slice/swss@<n>.service
             ├─3906818 /bin/bash /usr/local/bin/swss.sh wait <n>
             └─3906832 python3 /usr/local/bin/asic_status.py swss <n>
             

Describe the results you received:

Syslog contains:
ERR monit[3108314]: 'container_checker' status failed (3) -- Expected containers not running: swss, syncd, teamd
Also, affects the test_container_checker test case.

Describe the results you expected:

monit should not complain about the swss/syncd/teamd containers of the asics which are not present.

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

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

@SuvarnaMeenakshi SuvarnaMeenakshi added the Chassis 🤖 Modular chassis support label Mar 7, 2022
@prsunny prsunny added the Triaged this issue has been triaged label Apr 13, 2022
@prsunny
Copy link
Contributor

prsunny commented Apr 13, 2022

@abdosi to triage and identify next steps for this issue.

@SuvarnaMeenakshi
Copy link
Contributor Author

PR raised to fix #11442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chassis 🤖 Modular chassis support Triaged this issue has been triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants