[reload] Improve reload by using sonic.target.#1199
[reload] Improve reload by using sonic.target.#1199liat-grozovik merged 11 commits intosonic-net:masterfrom
Conversation
Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
Telemetry test case is no longer valid scenario to unit test. Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
|
This pull request introduces 1 alert when merging 6b63721 into 1753f22 - view on LGTM.com new alerts:
|
Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
|
retest this please |
|
This PR depends on sonic-net/sonic-buildimage#5705 |
…_enhancement Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
…_enhancement Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
…_enhancement Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
|
@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 <stepanb@nvidia.com>
Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
|
@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 <stepanb@nvidia.com>
- 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 <stepanb@nvidia.com>
- 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 <stepanb@nvidia.com>
|
@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 <stepanb@nvidia.com>
- 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 <stepanb@nvidia.com>
Signed-off-by: Stepan Blyshchak stepanb@nvidia.com
- 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)