Skip to content

[swss] Adding bgp container as dependent of swss#11168

Merged
prsunny merged 1 commit intosonic-net:202012from
Ndancejic:bgp_202012
Jul 29, 2022
Merged

[swss] Adding bgp container as dependent of swss#11168
prsunny merged 1 commit intosonic-net:202012from
Ndancejic:bgp_202012

Conversation

@Ndancejic
Copy link
Copy Markdown
Contributor

@Ndancejic Ndancejic commented Jun 16, 2022

What I did:
Added bgp as a dependent of swss

Why I did it:
bgp container was not restarting on swss crash. When swss crashes, linkmgrd
doesn't initate a switchover because it cannot access the default route from
orchagent. Bringing down bgp with swss will isolate the ToR, causing linkmgrd
to initiate a switchover to the peer ToR avoiding significant packet loss.

How I did it:
Added bgp to DEPENDENT

Signed-off-by: Nikola Dancejic [email protected]

@prsunny
Copy link
Copy Markdown
Contributor

prsunny commented Jun 20, 2022

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Copy Markdown
Contributor

prsunny commented Jun 21, 2022

@Ndancejic , seems like a consistent failure. Can you check the fail logs?

@prsunny
Copy link
Copy Markdown
Contributor

prsunny commented Jun 21, 2022

Cherry-pick from #11000

@Ndancejic
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@Ndancejic
Copy link
Copy Markdown
Contributor Author

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@Ndancejic
Copy link
Copy Markdown
Contributor Author

/azp run Azure.sonic-buildimage (Test kvmtest-t1-lag)

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

What I did:
Added bgp as a dependent of swss

Why I did it:
bgp container was not restarting on swss crash. When swss crashes, linkmgrd
doesn't initate a switchover because it cannot access the default route from
orchagent. Bringing down bgp with swss will isolate the ToR, causing linkmgrd
to initiate a switchover to the peer ToR avoiding significant packet loss.

How I did it:
Added bgp to DEPENDENT

Signed-off-by: Nikola Dancejic <[email protected]>
@prsunny prsunny merged commit c5a5734 into sonic-net:202012 Jul 29, 2022
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.

2 participants