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

Return an error while adding nodes if duplicate chassis id is detected #4739

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arghosh93
Copy link
Contributor

While multiple nodes gets same chassis id, POD to POD connectivity between newly added node and all other existing nodes gets impacted due to several missing OVN flows and OpenFlows.

Chassis ID is generally obtained from /etc/openvswitch/system-id.conf and this file gets created while starting up Opevswitch. While the chances of duplicate Openvswitch system ID created for multiple nodes is very thin but not impossible.

This commit returns an error if duplicate chassis id is detected while adding a new node.

What this PR does and why is it needed

Which issue(s) this PR fixes

Fixes #

Special notes for reviewers

How to verify it

Details to documentation updates

Description for the changelog

Does this PR introduce a user-facing change?


While multiple nodes gets same chassis id, POD to POD connectivity
between newly added node and all other existing nodes gets impacted due
to several missing OVN flows and OpenFlows.

Chassis ID is generally obtained from /etc/openvswitch/system-id.conf
and this file gets created while starting up Opevswitch. While the
chances of duplicate Openvswitch system ID created for multiple nodes
is very thin but not impossible.

This commit returns an error if duplicate chassis id is detected while
adding a new node.

Signed-off-by: Arnab Ghosh <arnabghosh89@gmail.com>
@arghosh93 arghosh93 requested a review from a team as a code owner September 19, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant