Skip to content

Destroying load balancers periodically fail and require manual intervention #414

@jhorwit2

Description

@jhorwit2

Terraform Version

$ terraform -v
Terraform v0.11.0
+ provider.dyn v1.1.0
+ provider.oci (unversioned)

Your version of Terraform is out of date! The latest version
is 0.11.1. You can update by downloading from www.terraform.io/downloads.html

OCI Provider Version

Execute the plugin directly to get the version:

$ ~/.terraform.d/plugins/terraform-provider-oci -v
2018/01/08 09:08:30 [INFO] terraform-provider-oci 2.0.5

Description:

I have a terraform plan that includes 1 load balancer with 3 listeners and 3 backendsets. Each backendset has 5 backends. Fairly often when destroying the load balancer i'll get the following error which requires manual intervention to be able to remove the load balancer.

Error: Error applying plan:

1 error(s) occurred:

* module.public-lb.oci_load_balancer_backend.authn[3] (destroy): 1 error(s) occurred:

* oci_load_balancer_backend.authn.3: unexpected state 'FAILED', wanted target 'SUCCEEDED_WORK_REQUEST, SUCCEEDED'. last error: %!s(<nil>)

The only way I can get around this is to remove the state for that resource from terraform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions