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

Allow all-ports listener (port 0), but only one per LB #24

Open
wants to merge 2 commits into
base: stable/yoga-m3
Choose a base branch
from

Conversation

BenjaminLudwigSAP
Copy link
Collaborator

@BenjaminLudwigSAP BenjaminLudwigSAP commented Apr 13, 2022

Unfortunately, ListenersController._validate_allports_listeners is not enough in the case of fully populated LBs. It can only check against listeners already existing in the DB. Therefore LoadBalancersController._validate_internal_listener_conflicts is needed as well.

@BenjaminLudwigSAP BenjaminLudwigSAP marked this pull request as ready for review April 14, 2022 13:48
notandy
notandy previously approved these changes Apr 14, 2022
Copy link
Collaborator

@notandy notandy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, lgtm

@m-kratochvil
Copy link

Discussed in the Octavia sync all on Apr 19, while technically feasible, we agreed Benjamin will request the actual specific use-case from the LoB, to see if we actually need this feature, because of the fact that even if the listener is listening on all ports, with the listener port-translation enabled (default), the server side communication would still be using the pool-member destination port. We need to understand what the customer is trying to achieve.

@BenjaminLudwigSAP BenjaminLudwigSAP changed the base branch from stable/ussuri-m3 to stable/yoga-m3 October 5, 2022 14:23
@BenjaminLudwigSAP BenjaminLudwigSAP changed the base branch from stable/yoga-m3 to stable/ussuri-m3 October 5, 2022 14:24
Unfortunately, ListenersController._validate_allports_listeners is not
enough in the case of fully populated LBs. It can only check against
listeners already existing in the DB. Therefore
LoadBalancersController._validate_internal_listener_conflicts is
needed as well.
@BenjaminLudwigSAP BenjaminLudwigSAP changed the base branch from stable/ussuri-m3 to stable/yoga-m3 October 5, 2022 14:30
@BenjaminLudwigSAP
Copy link
Collaborator Author

Cherry-picked commits basing on stable/yoga-m3

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.

3 participants