-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Terraform Destroy fails on OpenStack due to improper resource destroy order #2671
Comments
Why is this issue closed? Not fixed in 0.6.1 as far as I can see? |
Still having this issue. It should be reopened. The issue also affects removing pools from a vip |
Spent a good bit of today looking at this but in the context of VIPs and Pools. A delete request on a VIP and pool isn't instantly actioned, it is scheduled. The openstack provider doesn't poll to ensure the VIP/Pool hasn't been removed accordingly. By the time we try delete something like the router or a monitor the VIP/Pool hasn't been removed thus failure. Removal is needed across the whole openstack provider to check where polling is required on delete. @radeksimko @kaelumania @boernd @samdunne |
@jtopjian sounds like we just need to add some polling in here, yes? |
Hi all, #3712 might resolve this issue if anyone wants to take a look and give feedback. |
#3712 was just merged. Please let me know if this helps. |
I believe there is still a bug here related to destroying resources that depend on Neutron Ports. I will try to compile an example in next few days. |
@Fodoj Thanks! That would be much appreciated. |
@Fodoj any update on this one? Are you still hitting a bug? |
Yes and no :) I do still have this bug, but it's rather a bug with openstack version I use and I solved it by specifying some dependencies manually in terraform Best regards, On Sat, Nov 14, 2015 at 4:19 AM, Joe Topjian [email protected]
|
Hi, fyi just tested with master and my issue during destroy is gone (openstack_networking_router_interface_v2.router-interface: Error deleting OpenStack Neutron Router Interface...). Thx! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Running Terraform Destroy against OpenStack will fail if you have used Terraform to build a router, router interface, network, subnet, and floating IPs. Terraform will destroy VMs, keys, etc. first, but instead of then destroying the floating IPs, it will attempt to destroy the router interface. This will fail as the floating IP still exists.
The text was updated successfully, but these errors were encountered: