From ef9838c7967186f585119eab0383650fd43ddf57 Mon Sep 17 00:00:00 2001 From: Nic Grayson Date: Tue, 8 Dec 2015 16:03:33 -0600 Subject: [PATCH] increased openstack 10 minute timeouts to 30 minutes --- .../openstack/resource_openstack_compute_instance_v2.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/openstack/resource_openstack_compute_instance_v2.go b/builtin/providers/openstack/resource_openstack_compute_instance_v2.go index d21e1afed..f78a8d015 100644 --- a/builtin/providers/openstack/resource_openstack_compute_instance_v2.go +++ b/builtin/providers/openstack/resource_openstack_compute_instance_v2.go @@ -404,7 +404,7 @@ func resourceComputeInstanceV2Create(d *schema.ResourceData, meta interface{}) e Pending: []string{"BUILD"}, Target: "ACTIVE", Refresh: ServerV2StateRefreshFunc(computeClient, server.ID), - Timeout: 10 * time.Minute, + Timeout: 30 * time.Minute, Delay: 10 * time.Second, MinTimeout: 3 * time.Second, } @@ -791,7 +791,7 @@ func resourceComputeInstanceV2Delete(d *schema.ResourceData, meta interface{}) e Pending: []string{"ACTIVE"}, Target: "DELETED", Refresh: ServerV2StateRefreshFunc(computeClient, d.Id()), - Timeout: 10 * time.Minute, + Timeout: 30 * time.Minute, Delay: 10 * time.Second, MinTimeout: 3 * time.Second, }