-
Notifications
You must be signed in to change notification settings - Fork 878
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
containerservice.ManagedClusterPropertiesAutoScalerProfile (AKS) does not accept some duration values which are otherwise valid #14311
Comments
Hi @krishna-birla thanks for this issue! This sounds like an API issue rather than the SDK itself. Therefore I have tagged this issue so that the corresponding service team could have a look at this. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @qike-ms, @jwilder, @thomas1206, @seanmck. Issue DetailsBug Report
Extra observations
Similar issues exist with other fields, for example:
Similarly:
but
|
Thanks @ArcturusZhang Yes, this is an API issue where wrong validations are taking place. I did not know where to raise API bugs, so I created an issue in SDK repo. |
Any update? |
Hi @krishna-birla, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support. |
Bug Report
github.com/Azure/azure-sdk-for-go/profiles/latest/containerservice/mgmt/containerservice
column output by
dep status "github.com/Azure/azure-sdk-for-go
.go version go1.15.6 darwin/amd64
containerservice.ManagedClusterPropertiesAutoScalerProfile.ScanInterval = &("1m")
throws an error: "containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidParameter" Message="Invalid value specified for the cluster-autoscaler parameter 'scan-interval'. Please refer to https://aka.ms/cluster-autoscaler for more details."containerservice.ManagedClusterPropertiesAutoScalerProfile.ScanInterval = &("1m")
Extra observations
containerservice.ManagedClusterPropertiesAutoScalerProfile.ScanInterval = &("1m")
fails butcontainerservice.ManagedClusterPropertiesAutoScalerProfile.ScanInterval = &("60s")
passes.Similar issues exist with other fields, for example:
containerservice.ManagedClusterPropertiesAutoScalerProfile.ScaleDownDelayAfterFailure = &("3m30s")
throws an error: "containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidParameter" Message="Invalid value specified for the cluster-autoscaler parameter 'scale-down-delay-after-failure'. Please refer to https://aka.ms/cluster-autoscaler for more details." even though it is a valid value.Similarly:
containerservice.ManagedClusterPropertiesAutoScalerProfile.ScaleDownDelayAfterFailure = &("180s")
throws an error: "containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidParameter" Message="Invalid value specified for the cluster-autoscaler parameter 'scale-down-delay-after-failure'. Please refer to https://aka.ms/cluster-autoscaler for more details."but
containerservice.ManagedClusterPropertiesAutoScalerProfile.ScaleDownDelayAfterFailure = &("3m")
passes.The text was updated successfully, but these errors were encountered: