You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering why I wasn't seeing any agents. I went to the lambda's cloudwatch logs and saw this.
2020-10-06T17:47:13.030-04:00 | 2020/10/06 21:47:13 👮️ Increasing scale-out of 8 by factor of 2.00
2020-10-06T17:47:13.030-04:00 | 2020/10/06 21:47:13 Scaling OUT 📈 to 16 instances (currently 0)
2020-10-06T17:47:13.142-04:00 | 2020/10/06 21:47:13 Scaling error: ValidationError: New SetDesiredCapacity value 16 is above max value 10 for the AutoScalingGroup.
This looks like an error in the lambda scaler. If this scaler hits a max, instead of failing to scale out any agents, it should scale to the MaxSize set on the asg.
As of ~24 hours there's a bug in master that will leave an instance running but with no agent if the terminate-instance exits non-zero. We hope to have this fixed in the next day or two.
yob
transferred this issue from buildkite/elastic-ci-stack-for-aws
Oct 7, 2020
One other issue i noticed is that the lambda output returned a 0 return code even though it returned an error. I've created a separate ticket #36 for this.
I was wondering why I wasn't seeing any agents. I went to the lambda's cloudwatch logs and saw this.
This looks like an error in the lambda scaler. If this scaler hits a max, instead of failing to scale out any agents, it should scale to the
MaxSize
set on the asg.buildkite-agent-scaler/scaler/scaler.go
Lines 226 to 229 in 12d9dfb
The text was updated successfully, but these errors were encountered: