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

Increasing the startsecs for teamsyncd in supervisor.conf #4083

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

judyjoseph
Copy link
Contributor

- What I did
Updating the startsecs=5sec for teamsyncd to make the time for which …the process needs to stay up before declaring the startup successful.

- How I did it
Added the statement startsecs=5sec for teamsyncd process in supervisor.conf file in teamd docker.

- How to verify it
Back to back config reloads was tried.

- Description for the changelog
As per the current implementation in teamsyncd, When a TeamPortSync object is created, if there is a failure in team_init/team_alloc, it is retried 3 times with a sleep of 1 sec in between. So the teamsyncd could take upto 3 secs for coming up in case it hits the error. Hence increasing the startsecs to 5sec, so that supervisord will recognize the failure of teamsyncd and try starting again.

- A picture of a cute animal (not mandatory but encouraged)

…the process needs to stay up

before declaring the startup successfull.
Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this get cherry-picked into 201911?

@judyjoseph
Copy link
Contributor Author

Should this get cherry-picked into 201911?

Yes, will add the labels.

@lguohan
Copy link
Collaborator

lguohan commented Jan 30, 2020

retest vsimage please

@lguohan lguohan merged commit c95d8e4 into sonic-net:master Jan 30, 2020
@judyjoseph judyjoseph deleted the teamd_fix branch January 30, 2020 15:07
yxieca pushed a commit that referenced this pull request Jan 30, 2020
Updating the startsecs=5sec for teamsyncd to make the time for which the process needs to stay up before declaring the startup successfull.
rlhui pushed a commit that referenced this pull request Jan 31, 2020
Updating the startsecs=5sec for teamsyncd to make the time for which the process needs to stay up before declaring the startup successfull.
pphuchar pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Mar 9, 2020
Updating the startsecs=5sec for teamsyncd to make the time for which the process needs to stay up before declaring the startup successfull.
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
Updating the startsecs=5sec for teamsyncd to make the time for which the process needs to stay up before declaring the startup successfull.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants