sonic-swss
sonic-swss copied to clipboard
[Inspur][swss][201911] Fix warm-reboot may cause orchagent is frozened and wait forever
…wait forever
Description:
1. When executing warm-reboot continuously, the orchagent cannot finish pre-warm task within 10 secs.
2. And then, the orchagent will be frozen by "second" warm restart.
3. In order to prevent the orchagent is frozen, add warm start default status.
4. If executing warm-reboot, will check wart start status.
What I did When executing warm-reboot continuously, will check orchagent wart start status. Why I did it
- When executing warm-reboot continuously, the orchagent cannot finish pre-warm task within 10 seconds.
- And then, the orchagent will be frozen by "second" warm restart.
- In order to prevent the orchagent is frozen, add warm start default status.
- If executing warm-reboot, will check orchagent wart start status. How I verified it
- When executing warm-reboot, check syslog "orchagent warm restart state is disabled".
- And then, execute warm-reboot successfully. Details if related