[config-setup] Fail fast and loud when 'config load_minigraph' fails - #29293
Open
louis-nexthop wants to merge 1 commit into
Open
[config-setup] Fail fast and loud when 'config load_minigraph' fails#29293louis-nexthop wants to merge 1 commit into
louis-nexthop wants to merge 1 commit into
Conversation
Signed-off-by: louis-nexthop <louis@nexthop.ai>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Collaborator
|
This PR has backport request for branch(es): 202511,202512,202605. ---Powered by SONiC BuildBot
|
Collaborator
|
This PR has backport request label(s) for branch(es): 202511,202605,msft-202512, but is missing required test information. Please make sure you tick the tested branch(es) in the Tested branch section and provide test evidence (e.g., 202511: <test result>) in the Test result section as well in your PR description. ---Powered by SONiC BuildBot
|
nh-grecs Bot
pushed a commit
to nexthop-ai/sonic-buildimage
that referenced
this pull request
Sep 3, 2026
rebuild-source: sonic-net#29293 @ nexthop-ai/sonic-buildimage 220517e [case: upstream:open]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Fixes #29290.
A failure to load
/etc/sonic/minigraph.xmlis critical:config save -fcommand thatconfig-setuptries to run after loading the minigraph.config-setup.servicedo not get a chance to start. This includespmon,swss,syncd, and etc.Work item tracking
How I did it
When
config load_minigraphfails..config-setup.servicefails at least once, so that the error is loud.How to verify it
Reproduction steps are in #29290.
After the changes:
CRITlog.Which release branch to backport (provide reason below if selected)
Tracking issue/work item for backport/cherry-pick request (GitHub issue or Microsoft ADO):
Failure type:
Tested branch
Test result
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)