-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
InvalidLoadBalancerProfile in AKS #6525
Comments
I am having the same issue after upgrading to azure provider v2.6.0. I have tried to fix the issue by adding the
However, I get the same error in the description of this issue. |
I am getting the same error. I am using Provisioned the AKS cluster successfully. I get the error only during
|
Ah, shoot! I just pushed a fix PR. I've spent some thoughts on this scenario during implementation of the feature causing this issue, but didn't implement the right test for it and forgot! |
Getting the same error as described above for the following scenario, using terraform version
Terraform tries an update in place and fails with the error message displayed in the original post. |
As an interim measure, I rolled back my azurerm provider version to 2.5.0. |
@tombuildsstuff Can we tag this as a /bug? The fix is already available, including a test reproducing the failure. @robologic et all: as a workaround you can also change the number of outbound IP's for every change, the problem shows when no change in the |
This doesnt work for me as I need 2.6.0 for the kubelet exports. I believe I have the same issue here on 2.6.0; I can create the AKS in Devops no problems, but if later then I try to change on that AKS with
|
I'm seeing the same behaviour on
|
Hello, |
I am still getting this error with provider 2.7.0. I have to keep changing |
I'm still having an issue now on |
Thank you... so I fork your repo from #6534 and build it using make for golang? I am not a developer, but if you could point me to some basic doc I can do my bit. |
This was working in 2.5.0 |
It is still working in 2.5.0! To make it possible to change your loadbalancer outbound IP settings without recreating the cluster I filled a PR, which is merged into 2.6.0. Due to this PR the loadbalancer outbound settings can be changed. But if these settings are not changed a bug in the code causes your AKS cluster to think you have no outbound loadbalancer settings, which blocks any other kind of change you want to make to your cluster. The good news is 2.5.0 is still working and just limited functionality has made it past that. If you need 2.6+ functionality, this sad issue is blocking cluster changes after cluster creation. |
So does this mean that clusters created with the provider before 2.5 are not able to be modified if the provider version is bumped above 2.6? Is there an ignore value that we can set? |
This issue (in my experience), means that all versions of the provider > 2.5 are broken for AKS, regardless of the version of the provider used to create the AKS cluster. It's actually a rather insidious break, because you can create AKS clusters using newer versions of the provider, but the first time you have a modification, To me, this appears to be a grade A drop-everything-and-fix-it issue because to all intents and purposes the past four provider releases are fundamentally broken for all AKS users... please excuse me if I've got the wrong end of the stick and there's a workaround I missed! |
I discussed it with the maintainers, if it doesn’t make it into 2.10.0 (May 14th) expect it for 2.11.0. |
Just encountered this. This is a pretty nasty issue and I have to agree with @markslater, this needs to be fixed and released sooner than a regular release cycle. Can we ping the maintainers in here for discussion? Do they ascertain the severity of this or can they provide sound reasoning? |
is this PR the official one ? #6534. we need a custom build as this is breaking all cluster update :( |
I have just observed this with 2.9.0. I basically did a |
This has been released in version 2.10.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.10.0"
}
# ... other configuration ... |
Just linked in the issue above. If you're looking to upgrade and are using the |
It’s quit easy to separate the versions between two resources, although I feel your pain. Bugs like these on advanced resources are not always easy to catch though.. |
To be honest, I don't feel like I've been doing anything advanced. I've hit so many bugs and gotchas just trying to provision a resource group with a database, gateway, AKS and key store. All low tier and lots of defaults. |
I'm having the same issue as well on:
My network_profile block is below:
|
@nivhty upgrade to 2.10.0 for the fix. |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
After deplyoing an app with a load balancer into a fresh AKS cluster with no load balancer profile configured (only sku to Standard) and then changing for example number of nodes gives me:
Output of
terrafom apply
which is causing it I guess:Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.23
The text was updated successfully, but these errors were encountered: