-
Notifications
You must be signed in to change notification settings - Fork 750
[reload] stop timers on reload #4021
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
[reload] stop timers on reload #4021
Conversation
Signed-off-by: Stepan Blyschak <[email protected]>
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@stepanblyschak Lets have the label until Azure/sonic-utilities.msft#226 is merged. @r12f This is an issue we found in 202412 testing. Please help to prioritize |
thanks Sud! merged in 202412 already. |
|
@qiluo-msft any concern or can we move forward the merge it? |
|
Cherry-pick PR to msft-202412: |
What I did
I implemented a fix to stop timers upon reload/load_minigraph. If "config reload" or "config load_minigraph" is executed soon after system has started a timer may expire in the middle of the command causing subsequent failures.
Here's what is observed:
How I did it
Stop timers associated with sonic.target
How to verify it
I put a breakpoint after stopping sonic.target. Soon after reboot I execute "config reload" command. I then wait for ~5-6 min, no services start. Without this fix, services would start.
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)