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

Change the order of stopping dependent services of SWSS on master #6755

Merged
merged 1 commit into from
Feb 15, 2021
Merged

Change the order of stopping dependent services of SWSS on master #6755

merged 1 commit into from
Feb 15, 2021

Conversation

shlomibitton
Copy link
Contributor

@shlomibitton shlomibitton commented Feb 10, 2021

Signed-off-by: Shlomi Bitton shlomibi@nvidia.com

- What I did
All SWSS dependent services should stop before SWSS service to avoid future possible issues.
For example 'teamd' service will stop before to allow the driver unload netdev gracefully.
This is to stop all LAG's before restarting syncd service when running 'config reload' command.

- How I did it
Change the order of dependent services of SWSS.

- How to verify it
Run 'config reload' command.
Previously the operation failed when a large number of PortChannel configured on the system.

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog

Change the order of the service stop to be the opposite order of the start.

Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
@liat-grozovik
Copy link
Collaborator

@shlomibitton your PR description is missing to which branch the fix is required. Please add.

@liat-grozovik
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@shlomibitton shlomibitton changed the title Change the order of stopping dependent services of SWSS Change the order of stopping dependent services of SWSS on master Feb 14, 2021
@liat-grozovik
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik liat-grozovik merged commit f6bee73 into sonic-net:master Feb 15, 2021
daall pushed a commit that referenced this pull request Feb 16, 2021
- What I did
All SWSS dependent services should stop before SWSS service to avoid future possible issues.
For example 'teamd' service will stop before to allow the driver unload netdev gracefully.
This is to stop all LAG's before restarting syncd service when running 'config reload' command.

- How I did it
Change the order of dependent services of SWSS.

- How to verify it
Run 'config reload' command.
Previously the operation failed when a large number of PortChannel configured on the system.

Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
@shlomibitton shlomibitton deleted the shlomi_stop_teamd branch March 24, 2021 20:37
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.

3 participants