Skip to content
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

scaleutils: fix least busy selector on clusters older than v1.0.0 #508

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

jrasell
Copy link
Member

@jrasell jrasell commented Jul 5, 2021

This adds additional API calls when performing the least busy node
selector as a best effort to work on cluster that running Nomad
versions before v1.0.0.

v1.0.0 including API functionality which allows node resources to
be include in the stub list node object which is used when
performing least busy calculations. In version prior to this, the
information is only available within the node info object.

closes #506

This adds additional API calls when performing the least busy node
selector as a best effort to work on cluster that running Nomad
versions before v1.0.0.

v1.0.0 including API functionality which allows node resources to
be include in the stub list node object which is used when
performing least busy calculations. In version priror to this, the
information is only available within the node info object.
@josegonzalez
Copy link

@jrasell if there is a version of this built, we're happy to test it out to see if it gets rid of the reported panics :)

Copy link
Contributor

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Reproduced and test on Nomad v0.12.12.

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
@jrasell jrasell merged commit bc1a8d2 into main Jul 8, 2021
@jrasell jrasell deleted the b-gh-506 branch July 8, 2021 12:31
jrasell added a commit that referenced this pull request Jul 8, 2021
@lgfa29
Copy link
Contributor

lgfa29 commented Jul 8, 2021

@jrasell if there is a version of this built, we're happy to test it out to see if it gets rid of the reported panics :)

@josegonzalez This fix will be available tomorrow when the nightly release runs.

jrasell added a commit that referenced this pull request Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws-asg target: Panic while scaling in nodes
3 participants