-
Notifications
You must be signed in to change notification settings - Fork 664
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] Improve reload by using sonic.target. #1199
[reload] Improve reload by using sonic.target. #1199
Conversation
Signed-off-by: Stepan Blyshchak <[email protected]>
Telemetry test case is no longer valid scenario to unit test. Signed-off-by: Stepan Blyshchak <[email protected]>
This pull request introduces 1 alert when merging 6b63721 into 1753f22 - view on LGTM.com new alerts:
|
Signed-off-by: Stepan Blyshchak <[email protected]>
retest this please |
This PR depends on sonic-net/sonic-buildimage#5705 |
…_enhancement Signed-off-by: Stepan Blyshchak <[email protected]>
…_enhancement Signed-off-by: Stepan Blyshchak <[email protected]>
…_enhancement Signed-off-by: Stepan Blyshchak <[email protected]>
@rajendra-dendukuri I've just merged master and resolved conflict, could you please approve? |
@yxieca Could you please review after merges from master? |
retest this please |
1 similar comment
retest this please |
Signed-off-by: Stepan Blyshchak <[email protected]>
Signed-off-by: Stepan Blyshchak <[email protected]>
Signed-off-by: Stepan Blyshchak <[email protected]>
@rajendra-dendukuri and yxieca can you please review again? |
@yxieca as it was approved before and we lost you r approval with the recent merge, can you please review and approve so we can move forward with merging it? |
- Why I did it Group all SONiC services together and able to manage them together. Will be used in config reload command as much simpler and generic way to restart services. - How I did it Add services to sonic.target - How to verify it Together with sonic-net/sonic-utilities#1199 config reload -y Signed-off-by: Stepan Blyshchak <[email protected]>
- What I did To remove the list of hardcoded order-dependent lists of services to stop/restart/reset-failed. - How I did it Used sonic.target to stop/restart/reset-failed. - How to verify it Execute config reload and observe the services do restart. Signed-off-by: Stepan Blyshchak <[email protected]>
- Why I did it Group all SONiC services together and able to manage them together. Will be used in config reload command as much simpler and generic way to restart services. - How I did it Add services to sonic.target - How to verify it Together with sonic-net/sonic-utilities#1199 config reload -y Signed-off-by: Stepan Blyshchak <[email protected]>
@stepanblyschak should we label it for 202012 as well? sonic.target is expected to be included in 202012 if i remember correct. |
@liat-grozovik yes, it looks like we want this feature in 202012 and this PR is crucial part of it. |
@stepanblyschak @liat-grozovik there is a merge conflict when cherry-picking, please open a PR against 202012 branch |
included in 202012 via #1509 |
- Why I did it Group all SONiC services together and able to manage them together. Will be used in config reload command as much simpler and generic way to restart services. - How I did it Add services to sonic.target - How to verify it Together with sonic-net/sonic-utilities#1199 config reload -y Signed-off-by: Stepan Blyshchak <[email protected]>
- Why I did it Group all SONiC services together and able to manage them together. Will be used in config reload command as much simpler and generic way to restart services. - How I did it Add services to sonic.target - How to verify it Together with sonic-net/sonic-utilities#1199 config reload -y Signed-off-by: Stepan Blyshchak <[email protected]>
Signed-off-by: Stepan Blyshchak [email protected]
- What I did
To remove the list of hardcoded order-dependent lists of services to stop/restart/reset-failed.
- How I did it
Used sonic.target to stop/restart/reset-failed.
- How to verify it
Execute config reload and observe the services do restart.
- 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)