-
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
[sflow] Failed to start with result 'start-limit-hit' (Reproduced intermittently) #7177
Comments
Issue triage 3/31:
|
Start Limit failing is an Expected behavior for Sflow StartLimitIntervalSec = 1200 and StartLimitBurst=3 which means it'll allow 3 attempts of starting the service within the last 1200 sec. This is obviously crossed in the logs attached.
This can be manually observed as well
The "start-limit" exceeded behavior can be avoided by running systemd reset-failed which flushes the timer values and start-limit won't hit.
Before this PR: #1999. reset-failed was not run on sflow service, during a config reload. The reason being config reload used to filter out those services which doesn't have "feature enabled" status. and sflow is by default disabled.
The new PR restarts sonic.target which in turns restarts every service dependent on it (inclusing sflow) even though it's feature status is disabled) and backported to 202012 from this commit. Hence, i certainly think that this issue can be closed. |
Description
From time to time restarting of sflow.service fails:
The issue was detected during ztp process only.
This issue is reproduced intermittently (approximately one time out of ten)
Steps to reproduce the issue
1.Boot sonic with ZTP enabled feature
2.Announce DHCP option 67 pointing to ztp_config.json (see at the bottom)
3.Put all necessary plugins and configuration files using in ZTP process on WEB server.
4. Start ZTP process
5.Wait till ZTP process has finished.
Describe the results you received
During config reloading process sflow.service fails to start.
Output of
show version
The issue was detected on
SONiC Software Version: SONiC.SONIC.202012.53-aee4892c_Internal
as wellsonic_dump_DUT-1_20200902_133602.tar.gz
The text was updated successfully, but these errors were encountered: