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

[action] [PR:16682] Added safe reload=True option for config reload performed in syslog_rate_limit to eliminate intermittent failures #16862

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

mssonicbld
Copy link
Collaborator

Description of PR

This PR addresses an issue where the syslog rate_limit configuration command does not take effect properly because certain containers are not fully initialized before the command execution. To resolve this, "safe reload" option has been added to the config reload. This ensures that all containers and critical processes are up and running before the configuration is applied, ensuring successful configuration

Summary:
Fixes # (issue)
Intermittent syslog_rate_limit testcase failure on Nokia-7215 platforms

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
  • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

Fix intermittent failure caused by containers not up before rate_limit config command execution

How did you do it?

Added safe=True option to config reload

How did you verify/test it?

Run test_syslog_rate_limit testcase on Nokia-7215 platforms

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

…ate_limit to eliminate intermittent failures (sonic-net#16682)

This PR addresses an issue where the syslog rate_limit configuration command does not take effect properly because certain containers are not fully initialized before the command execution. To resolve this, "safe reload" option has been added to the config reload. This ensures that all containers and critical processes are up and running before the configuration is applied, ensuring successful configuration

What is the motivation for this PR?
Fix intermittent failure caused by containers not up before rate_limit config command execution

How did you do it?
Added safe=True option to config reload

How did you verify/test it?
Run test_syslog_rate_limit testcase on Nokia-7215 platforms

Co-authored-by: karavasi <olympia.karavasili_arapogianni@nokia.com>
@mssonicbld
Copy link
Collaborator Author

/azp run

@mssonicbld
Copy link
Collaborator Author

Original PR: #16682

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 3c4694c into sonic-net:202405 Feb 10, 2025
13 checks passed
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.

2 participants