-
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
provider/openstack: updating security groups is broken #3816
Comments
Are you seeing this behavior with the patch from #3801 applied? If you are, can you provide a sample Terraform configuration? I'm unable to reproduce the problem. |
Yes, I have this patch in place. I will try to provide an example soon |
@jtopjian this is enough:
If I run it twice then on the second (and all consuequent ones) run I get:
|
Very strange! I was unable to reproduce the problem on any of my production environments. It wasn't until I modified the acceptance test and ran it against a devstack installation running Liberty that I'm able to reproduce it. I'll look into this -- hopefully I'll figure out a fix very shortly. |
@jtopjian I've played around with it a bit, trying to implement rules in similar way to aws SG implementation, but it didn't work from first attempt and I don't have time right now, because I am trying to fix other problem (will make a PR soon hopefully). Would be awesome to see this SG group issue fixed. |
I have a good idea why this is happening, but I'm not sure of a clean fix. Instead of rushing, I'd rather revert the patch that caused this. If you have a quick second, can you verify if #3824 causes the issue to go away? I'm pretty sure it will, but just want a second confirmation. |
Does that mean that master branch now doesn't update SGs all the time? Best regards, On Mon, Nov 9, 2015 at 6:57 PM, Joe Topjian notifications@github.com
|
The revert causes rules to not be computed, meaning the only security group rules that Terraform will know about are the rules that you explicitly set in your configuration. A side effect of this is seen in #3788. It looks like the ordering issue (what you were seeing) was caused by fixing #3788. switching back and forth between the patch made the configuration you provided either pass or fail. |
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. |
I found two issues:
terraform apply
The text was updated successfully, but these errors were encountered: