sonic-swss icon indicating copy to clipboard operation
sonic-swss copied to clipboard

[Inspur][swss][201911] Fix warm-reboot may cause orchagent is frozened and wait forever

Open inspurSDN opened this issue 2 years ago • 0 comments

…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

  1. When executing warm-reboot continuously, the orchagent cannot finish pre-warm task within 10 seconds.
  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 orchagent wart start status. How I verified it
  5. When executing warm-reboot, check syslog "orchagent warm restart state is disabled".
  6. And then, execute warm-reboot successfully. Details if related

inspurSDN avatar Sep 28 '22 15:09 inspurSDN