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

Predictable and balanced GW Chassis distribution in CMS Openstack #184

Open
mkalcok opened this issue Oct 27, 2023 · 0 comments
Open

Predictable and balanced GW Chassis distribution in CMS Openstack #184

mkalcok opened this issue Oct 27, 2023 · 0 comments

Comments

@mkalcok
Copy link
Contributor

mkalcok commented Oct 27, 2023

As pointed out by @dceara #179 (comment), ovn-heater run should be consistent and reproducible, that's why random assignment of GW chassis to router ports in Openstack CMS is not the best approach.

Alternative to this could be a round-robin distribution of GWs to ports. This sounds deceivingly simple, but we need to keep in mind that it's not only about evenly distributing GWs to ports, it's also about balanced distribution of priorities these GWs receive. We need to ensure that high priority is not accumulated on single GW.

Example of bad distribution:

# Port   # GW    # Priority 
port1    gw1       1
port1    gw2       2
port1    gw3       3

port2    gw1       1
port2    gw2       2
port2    gw3       3

port3    gw1       1
port3    gw2       2
port3    gw3       3

In above example, 3 GWs are evenly distributed between 3 ports, but all the ports prioritize gw1

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

No branches or pull requests

1 participant