-
Notifications
You must be signed in to change notification settings - Fork 359
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
improving control flow for lb_v2 resources #4
Comments
@jrperritt Is this similar to hashicorp/terraform#15225 or is a 409 being hit elsewhere? I should probably just blanket all LB resources with 409 checks. |
Yes, similar to that, but the fix that was implemented is not sufficient. Instead of immediately retrying the request, |
I'll submit a fix for this. |
#25 has been merged. I'm sorry for the delay on that one. |
Fixed by #29 |
# This is the 1st commit message: Images v2: Fixing acceptance tests for image data source # This is the commit message terraform-provider-openstack#2: Object Storage v1: Disabling container tests until test environment can be fixed # This is the commit message terraform-provider-openstack#3: Firewall v1: Making associated_routers computed # This is the commit message terraform-provider-openstack#4: Firewall v1: Pass all attributes when a rule update occurs # This is the commit message terraform-provider-openstack#5: Network v2: Make network segment acceptance test an admin-only test
The control flow of waiting for LB v2 resources to become ready to create/update could be improved. Currently, for example, it just immediately retries if it gets a
409
, which can lead to what appear to be race conditions in OpenStack. It seems like the problem should be fixed in OpenStack, but Terraform should handle this better by, for example, waiting until the LB isACTIVE
before continuing to try to create the LB pool after receiving a409
.Terraform Version
0.9.8.
Affected Resource(s)
Terraform Configuration Files
You'll need to provide
image_id
andflavor_id
:Expected Behavior
1 LB pool gets created
Actual Behavior
4 LB pools get created
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: