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

Deleting pool with attached L7 policy sets LB to ERROR #3

Open
BenjaminLudwigSAP opened this issue Sep 18, 2020 · 0 comments
Open

Deleting pool with attached L7 policy sets LB to ERROR #3

BenjaminLudwigSAP opened this issue Sep 18, 2020 · 0 comments
Labels
bug Something isn't working elektra Concerns interaction between Elektra frontend and Octavia

Comments

@BenjaminLudwigSAP
Copy link
Collaborator

BenjaminLudwigSAP commented Sep 18, 2020

Steps to reproduce

  1. Create a loadbalancer with a listener and a pool
  2. On the listener, create a L7 policy (not extended L7 policy!) with action REDIRECT_TO_POOL, redirecting to the pool
  3. Delete the pool, using the GUI

Expected behavior

Pool doesn't disappear from GUI, some kind of error message is shown, indicating that the L7 policy must be deleted first. The load balancer remains in state ACTIVE.

Observed behavior

Pool disappears from GUI, because pool entry in DB has provisioning_status DELETED, load balancer enters ERROR state.

Proposed fix

At pool delete requests, check whether there is a L7 policy connected to the pool and if it is, answer the request with an error.

@BenjaminLudwigSAP BenjaminLudwigSAP added bug Something isn't working elektra Concerns interaction between Elektra frontend and Octavia labels Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working elektra Concerns interaction between Elektra frontend and Octavia
Projects
None yet
Development

No branches or pull requests

1 participant