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

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

Open inspurSDN opened this issue 2 years ago • 0 comments

[Inspur][utilities][201911] Fix warm-reboot may cause orchagent is frozened and 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.

How I did it

In order to prevent the orchagent is frozen, when executing warm-reboot, will check orchagent wart start status.

How to verify it

  1. When executing warm-reboot continuously, check syslog "orchagent warm restart state is disabled".
  2. And then, execute warm-reboot successfully.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

inspurSDN avatar Sep 28 '22 15:09 inspurSDN