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

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

Open
wants to merge 1 commit into
base: 201911
Choose a base branch
from

Conversation

inspurSDN
Copy link
Contributor

…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

…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant