Skip to content

[swss] Restart countersyncd after unexpected exit#2056

Merged
Pterosaur merged 2 commits intoAzure:202412from
Pterosaur:backport/26147-to-202412
Mar 13, 2026
Merged

[swss] Restart countersyncd after unexpected exit#2056
Pterosaur merged 2 commits intoAzure:202412from
Pterosaur:backport/26147-to-202412

Conversation

@Pterosaur
Copy link
Contributor

Why I did it

Backport public SONiC PR sonic-net/sonic-buildimage#26147 to the 202412 branch.

swss:countersyncd in orchagent is started through dependent-startup, but the current supervisor stanza leaves it at EXITED after an unexpected exit instead of recovering it.

Work item tracking
  • Microsoft ADO (number only): N/A

How I did it

How to verify it

Validated on 202412 DUT image 20241212.54.

Equivalent live-patched supervisor settings were applied on DUT str4-sn5640-2, then HFT telemetry validation was rerun successfully.

Relevant result:

  • high_frequency_telemetry/test_high_frequency_telemetry.py::test_hft_port_counters
  • result: 1 passed
  • swss:countersyncd remained RUNNING after telemetry capture

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

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

Base branch of this PR is already 202412.

Tested branch (Please provide the tested image version)

  • 20241212.54

Description for the changelog

Restart swss:countersyncd automatically after unexpected exits.

Link to config_db schema for YANG module changes

N/A

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

🦦

Signed-off-by: Ze Gan <[email protected]>
(cherry picked from commit 7490f6700cc08ba7ab4616423f9c25982e0cebed)
Signed-off-by: Ze Gan <[email protected]>
(cherry picked from commit 14dc70b0cb20ddb33babbe902e6c002907d672b9)
@Pterosaur Pterosaur requested a review from lguohan as a code owner March 13, 2026 01:31
@Pterosaur Pterosaur requested a review from r12f March 13, 2026 01:36
@Pterosaur Pterosaur merged commit 21b6334 into Azure:202412 Mar 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant