-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[System ready][ZTP] If system health service starts after ZTP exits in disabled state, sysready status is shown as down. #18814
Comments
@adyeung @sg893052 @rajendra-dendukuri FYI This issue is blocking in some scenarios as sflow depends on system ready, else will wait for 3 minutes. Please refer to sonic-net/SONiC#1627 .This results in sflow test failure. @sflow FYI |
@dgsudharsan @Junchao-Mellanox We could consider to ignore the ztp service for system ready. Sysmonitor has the logic in place to skip the services mentioned in the platform specific system_health configuration file under "services_to_ignore" field list.
|
@sg893052 This is not a platform specific issue and would occur in any platform since ZTP is common service. I prefer not adding this to platform directory. |
@dgsudharsan @adyeung #18911 is the PR raised to address this issue. |
…ng (sonic-net#18911) - Why I did it To address sonic-net#18814 - How I did it Introduce exclude service list in the code to be parsed and remove the services from the system ready tracking. In this case, it is ztp.service - How to verify it show system-health sysready-status output
Description
When ZTP is disabled if system-health services starts after sonic-ztp exit, system ready is show as no ready with ZTP shown as down.
If system-health starts before ZTP exit this issue is not seen
Good state
Issue state
In both scenarios ZTP is disabled
This issue can be reproduced easily even if ztp starts after healthd. Restarting system-health service will result in problem state
Steps to reproduce the issue:
Describe the results you received:
System is shown as not ready
Describe the results you expected:
System should be in ready state as ztp is administratively disabled.
Output of
show version
:(paste your output here or download and attach the file here )
The text was updated successfully, but these errors were encountered: