-
Notifications
You must be signed in to change notification settings - Fork 22
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
Remove all load balancers pre-delete #6
Labels
priority: high
High priority issues
Comments
mnaser
added
priority: medium
Medium priority issues
priority: high
High priority issues
and removed
priority: medium
Medium priority issues
labels
Oct 26, 2022
In order to successfully do this, we'll have to update this part: we should instead add |
This was referenced Apr 11, 2023
This was referenced Jun 29, 2023
This was referenced Jul 31, 2023
This was referenced Dec 5, 2023
This was referenced Dec 15, 2023
This was referenced Mar 8, 2024
This was referenced Mar 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment, the load balancers are not removed with CAPO.
We can work-around this by doing something similar to what Magnum does with cleaning up the resources:
https://github.com/openstack/magnum/blob/0ee8abeed0ab90baee98a92cab7c684313bab906/magnum/drivers/heat/driver.py#L306-L311
FTR,
pre_delete_cluster
is manually called so we can just add it at the top of ourdelete_cluster
. The function that's already implemented seems tied to Heat, so these two parts of code should help:https://github.com/openstack/magnum/blob/0ee8abeed0ab90baee98a92cab7c684313bab906/magnum/common/octavia.py#L89-L101
https://github.com/openstack/magnum/blob/0ee8abeed0ab90baee98a92cab7c684313bab906/magnum/common/octavia.py#L131-L137
With that in place, we'll be able to wipe all of the resources. However, the one thing to investigate is the cluster UUID in the description and what that is set to with CAPI to make sure the regex works right.
The text was updated successfully, but these errors were encountered: