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

[scripts/fast-reboot] stop timers in advance #2131

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

stepanblyschak
Copy link
Contributor

@stepanblyschak stepanblyschak commented Apr 8, 2022

Signed-off-by: Stepan Blyschak stepanb@nvidia.com

What I did

Service timers may trigger service start in the middle of warm-reboot. Stopping them in advance prevents this issue.

How I did it

Stopped all service timers that are part of sonic-delayed.target

How to verify it

Run warm-reboot.

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)

Requested for: 202111, 202012

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
@liat-grozovik
Copy link
Collaborator

@yxieca could you please help to signoff?

@liat-grozovik liat-grozovik merged commit 576c9ef into sonic-net:master Apr 12, 2022
qiluo-msft pushed a commit that referenced this pull request Apr 13, 2022
- What I did
Service timers may trigger service start in the middle of warm-reboot. Stopping them in advance prevents this issue.

- How I did it
Stopped all service timers that are part of sonic-delayed.target

- How to verify it
Run warm-reboot.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
judyjoseph pushed a commit that referenced this pull request Apr 18, 2022
- What I did
Service timers may trigger service start in the middle of warm-reboot. Stopping them in advance prevents this issue.

- How I did it
Stopped all service timers that are part of sonic-delayed.target

- How to verify it
Run warm-reboot.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
stepanblyschak added a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 18, 2022
```
08495be [scripts/fast-reboot] Shutdown remaining containers through systemd (sonic-net#2133)
fa07373 [scripts/fast-reboot] stop timers in advance (sonic-net#2131)
00ef80e [show][muxcable] Decrease the timeout for show mux status/hwmode (sonic-net#2130)
```

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants