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

Added safe reload=True option for config reload performed in syslog_rate_limit to eliminate intermittent failures #16682

Merged

Conversation

harish-kalyanaraman
Copy link
Contributor

@harish-kalyanaraman harish-kalyanaraman commented Jan 25, 2025

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

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Pavan-Nokia
Copy link

@Blueve @lizhijianrd Please help review and merge

@Blueve Blueve merged commit b873e07 into sonic-net:master Feb 8, 2025
14 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Feb 8, 2025
…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

Cherry-pick PR to 202411: #16861

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Feb 8, 2025
…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

Cherry-pick PR to 202405: #16862

mssonicbld pushed a commit that referenced this pull request Feb 10, 2025
…ate_limit to eliminate intermittent failures (#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 pushed a commit that referenced this pull request Feb 10, 2025
…ate_limit to eliminate intermittent failures (#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>
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.

6 participants