Bug 2187985
Summary: | Creating members with an invalid subnet on Edge environment won't allow Octavia to delete them | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Omer Schwartz <oschwart> |
Component: | openstack-octavia | Assignee: | Gregory Thiemonge <gthiemon> |
Status: | CLOSED MIGRATED | QA Contact: | Bruna Bonguardo <bbonguar> |
Severity: | medium | Docs Contact: | Greg Rakauskas <gregraka> |
Priority: | medium | ||
Version: | 17.1 (Wallaby) | CC: | beagles, gregraka, gthiemon, tweining |
Target Milestone: | zstream | Keywords: | Triaged |
Target Release: | 17.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
Adding a load balancer member whose subnet is not in the Load-balancing service (octavia) availability zone puts the load balancer in `ERROR`. The member cannot be removed because of the `ERROR` status, making the load balancer unusable.
+
*Workaround:* Delete the load balancer.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2024-12-06 15:43:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Omer Schwartz
2023-04-19 11:03:35 UTC
One important thing to add: If the controller fails to add a member, the revert function of MemberToErrorOnRevertTask is executed: https://opendev.org/openstack/octavia/src/branch/stable/wallaby/octavia/controller/worker/v1/tasks/lifecycle_tasks.py#L140-L145 it sets the member to ERROR and also sets the listener/pool/lb to ACTIVE, it means that the user can still add another member. In the octavia-worker, the handling of the member's subnets works with deltas (what is needed vs what is plugged), it may mean that when adding a 2nd member, the controller will also apply some changes for the first one if it is needed (maybe because it failed during the 1st call). So maybe we should consider that: - either there's something wrong and adding new members will not fix the situation, we may set the LB to ERROR to avoid other issues - or we should check the provisioning_status of the members in the worker when plugging/unplugging subnet, and skip members that are in ERROR Bulk moving target milestone to GA after the release of Beta on 14th June '23. |