-
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
Increase syncd start timeout #2776
Increase syncd start timeout #2776
Conversation
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a workaround, not a fix.
The fast-reboot or warm-reboot time will be impacted.
@@ -22,6 +22,9 @@ Environment=sonic_asic_platform={{ sonic_asic_platform }} | |||
ExecStartPre=/usr/local/bin/syncd.sh start | |||
ExecStart=/usr/local/bin/syncd.sh wait | |||
ExecStop=/usr/local/bin/syncd.sh stop | |||
{% if sonic_asic_platform == 'mellanox' %} | |||
TimeoutSec=150 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TimeoutSec [](start = 0, length = 10)
Is it better to use TimeoutStartSec? #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
@andriymoroz-mlnx do we still want to merge this change after #2788 being merged to 201803? This is just a question, not a rejection :-) |
yes, because if after upgrade reboot will be via power/kernel crash/etc or user will not change default in GRUB but select it manually on boot we need this fix to let post-boot FW burn finish successfully |
Just to summarize. |
* Increase syncd start timeout Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Replace TimeoutSec to TimeoutStartSec Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
* Increase syncd start timeout Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Replace TimeoutSec to TimeoutStartSec Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
Signed-off-by: Andriy Moroz c_andriym@mellanox.com
- What I did
Increased syncd start timeout to let post-boot FW update on Mellanox platform finish successfully.
- How I did it
Added TimeoutSec field to the syncd service config
- How to verify it
Verified upgrade from 201803 to 201811 or master finishes successfully
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)