[docker-gbsyncd-vs] Run new gbsyncdmgrd in lieu of deprecated gbsyncd_startup.py #7154
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I did it
To improve management of docker-gbsyncd-vs.
gbsyncd_startup.py
simply spawned syncd processes and then exited. In that case, supervisord would no longer manage any processes in the container, and thus there was no way to know if a critical process had exited.I recently created
gbsyncdmgrd
to be a more complete, robust replacement forgbsyncd_startup.py
.NOTE: This PR is dependent on the inclusion of
gbsyncdmgrd
in the sonic-sairedis repo. A submodule update is pending at#7089
How I did it
Replace references to
gbsyncd_startup.py
withgbsyncdmgrd
.How to verify it
Ensure gbsyncdmgrd spawns all applicable syncd processes, and that it will exit if any of the syncd subprocesses exits.
Which release branch to backport (provide reason below if selected)