-
Notifications
You must be signed in to change notification settings - Fork 235
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
BigTable Autoscaling - HTTP 499 error #673
Comments
Hi @tommycouri-bestbuy, normally you can only specify either |
Hi @caieo - the issue is that when I'm deploying without numNodes specified, I get the following error: Warning UpdateFailed 85s (x7 over 3m29s) bigtableinstance-controller Update call failed: error applying desired state: summary: Error: cluster.numNodes cannot be less than 1 |
@tommycouri-bestbuy, I was able to reproduce this bug. Let me try to determine the cause of this issue and I'll update this thread with more info when I get to it. |
Opened a bug on the TF team's side to see if this is behavior they have run into. It looks like leaving |
Hi @caieo - just checking in to see if there is an update on this one. |
Hi @tommycouri-bestbuy, after talking with the Terraform team, we decided that this is an issue that should be fixed on our side. We added this into our queue of bugs to fix but unfortunately don't have an update for you. Can you also clarify if this issue is a blocker or friction point for you? I noticed you checked the |
Hey @caieo - GCP support ticket 29934946 was opened up regarding this issue. |
@tommycouri-bestbuy thanks for the additional info. I added this to our upcoming sprint to tackle as a quick fix, but because we are operating on a very limited capacity, we can't guarantee any timeline. Feel free to respond in the GCP support ticket or here if the priority of this issue changes. |
numNodes is optional when autoscalingConfig is set. This should be fixed in the next Config Connector release. |
This is now supported in v1.94.0. Please give it a try and let us know if you see any issues. Also thank you @kevinsi4508 for making the change! |
Checklist
Bug Description
When trying to deploy BigTable with autoscaling through config connector, I'm seeing the following error:
Cancelled (HTTP 499): Operation successfully rolled back : Both manual scaling (serve_nodes) and autoscaling (cluster_autoscaling_config) enabled. Exactly one must be set for CreateInstance/CreateCluster
Because of this, the BigTable instance does not deploy at all. When I try and deploy an instance without autoscaling enabled, it deploys without any issue. I have also opened GCP support case 29934946 regarding this issue. Their recommendation was to open up a GitHub issue here, as they believe the issue sits within Config Connector.
I have tried deploying this with and without the numNodes value as well. When that is not present, the instance fails to deploy without any error message in the activity log. I am also running config connector V1.88
Additional Diagnostic Information
Here is my sample yaml file that I'm trying to deploy:
Kubernetes Cluster Version
1.21.0
Config Connector Version
1.88
Config Connector Mode
namespaced mode (default)
Log Output
Output from kubectl describe. I have removed my Namespace information:
Steps to reproduce the issue
Deploying the following yaml file will should reproduce the issue.
YAML snippets
The text was updated successfully, but these errors were encountered: