-
Notifications
You must be signed in to change notification settings - Fork 77
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
destruction of listener not possible with terraform #2377
Comments
Hello @celinesantosh98 please provide configuration that causes the error. |
TO CREATE LOAD BALANCER TO CREATE TWO LISTENER ONE FOR HTTP AND HTTPS resource "opentelekomcloud_lb_listener_v3" "httpslistener_1" { CREATE POOL AND MEMBER FOR EACH LISTENER resource "opentelekomcloud_lb_pool_v3" "httpspool" { resource "opentelekomcloud_lb_member_v3" "member2" { |
Looks like there's a flaw in API which breaks terraform dependency graph. |
We stumbled at the same problem. Here is our Error-message: │ Error: unable to delete ListenerV3 1e2a60f9-e91d-470e-934b-c9e49f301887: Expected HTTP response code [202 204] when accessing [DELETE https://elb.eu-de.otc.t-systems.com/v3/1947dfb57bc14d28aeb7b0982a30a56d/elb/listeners/1e2a60f9-e91d-470e-934b-c9e49f301887], but got 409 instead Is there already a workaround without deleting the listener manually? BTW. this does not happen with the Shared Loadbalancer, it only happens with the Dedicated Loadbalancer |
Answer from R&D: |
Description of the enhancement
I have an infrastructure with load balancer, listener with a target group (pool), and backend member. So while creating it using terraform it first creates load balancer, backend group (pool), listener, backend member.
while destroying it , it destroys in reverse order. But it's not able to destroy listener before pool . it gives me this error
Error: unable to delete ListenerV3 d12bfa4a-79d8-480d-a6cd-27cbd03255bf: Expected HTTP response code [202 204] when accessing [DELETE https://elb.eu-de.otc.t-systems.com/v3/dcaf879e2fb94c1d86cc56fe45288baf/elb/listeners/d12bfa4a-79d8-480d-a6cd-27cbd03255bf], but got 409 instead
│ {"error_msg":"pool 7f432fce-85db-4f80-a7ea-ecb275d92ec0 is using this listener","error_code":"ELB.8907","request_id":"02d69056be68b798c631a4c481cf88c5"}
so each time I go to the open Telekom cloud console and delete listeners from there then again run terraform destroy to delete rest of the resources.
please suggest a way to solve this
thanks in advance.
The text was updated successfully, but these errors were encountered: