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:16588] [snmp] Sleep for 20 seconds before service starts #16881

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

mssonicbld
Copy link
Collaborator

Why I did it

Fixes #16486

Work item tracking
  • Microsoft ADO (number only): 24780690

How I did it

As snmp depends on intfmgrd to work, let's add a check to ensure intfmgrd is running.
The check will run for 20 seconds at most.

How to verify it

Do config reload and confirms snmpd is started after intfmgrd setups all the loopback interfaces.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Add pre start check to ensure intfmgrd is running.
The check will run for 20 seconds at most.

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
@mssonicbld
Copy link
Collaborator Author

Original PR: #16588

@yxieca yxieca merged commit aea2e19 into sonic-net:202205 Oct 14, 2023
5 of 15 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.

3 participants