-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
OpenStack Neutron Router Interface deletion: timeout too short #11192
Comments
@jtopjian isn't 5 minutes still quite little? |
I am still puzzled it takes more than 2 minutes in first place. But that probably depends on Neutron configuration. Maybe there is some real hardware/switch that required re-configuration ? Sorry, I have zero Neutron experience. |
@sneumann Sorry, I'm misunderstanding. I had thought that 5 minutes would be enough time since you said that the total deletion time is less than 4 minutes. Is that correct? And absolutely - deletion and creation times are highly dependent on the OpenStack configuration. I wouldn't say that anything is wrong with your environment. |
Hi, I am afraid this change did not fix my issue, it timed out after 5 minutes. |
@sneumann The delete call is repeated every 5 seconds, so I think it might just need a longer timeout. Are you able to compile the Terraform binary yourself? If so, you can increase the timeout here and see what the appropriate timeout is. But if you aren't in a position to compile the binary, I can compile one for you for Linux with a timeout of 10 minutes just to see if that will help. Either way, once confirmed, we can get it merged into master. It's entirely possible that if you need a longer timeout, there are others as well. |
Hi Jtopjian, Error deleting OpenStack Neutron Router Interface: timeout while waiting for state to become 'DELETED' (last state: 'ACTIVE', timeout: 2m0s) Thanks |
@Ashok2988 The router interface resource supports the timeout options. Have you tried using those? |
@jtopjian I am not using the latest version, moving to the latest would involve some work for me, do you think this can work with 0.8.0 release? |
Timeouts were introduced in the 0.9.0 release, unfortunately. To fix for 0.8.0, follow the instructions on configuring a dev environment for terraform here. When you clone the Terraform repo, you'll want to check out a 0.8.0 release. Next, edit this file. Look for the two That's a very quick / high level summary. Let me know if you run into any problems and I'd be happy to give more details. :) |
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. |
Hi,
I have a working deployment using Terraform v0.8.2 against an OpenStack installation.
When deleting, I always get
and on re-running, the deletion of the OpenStack Neutron Router Interface succeeds,
so total deletion time is probably <4min.
I don't have a PR for @jtopjian , (who asked for it in #4223 (comment)) but I think the change is required here:
https://github.com/hashicorp/terraform/blob/master/builtin/providers/openstack/resource_openstack_networking_router_interface_v2.go#L73
Yours,
Steffen
The text was updated successfully, but these errors were encountered: