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

[autoscaler][commands] Fix load metrics summary #20623

Conversation

DmitriGekhtman
Copy link
Contributor

@DmitriGekhtman DmitriGekhtman commented Nov 22, 2021

Why are these changes needed?

Running ray status with the changes from #20359
while running an autoscaler older than those changes
results in an error on input "head_ip" to LoadMetricsSummary.
See #20359 (comment)
This PR fixes the bug by restoring head_ip as an optional parameter of LoadMetricsSummary.

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@rkooo567
Copy link
Contributor

rkooo567 commented Nov 22, 2021

Btw why isn’t it caught from any e2e test? (No re2e test for autoscaler?)

@DmitriGekhtman DmitriGekhtman merged commit 76a0186 into ray-project:master Nov 22, 2021
@DmitriGekhtman
Copy link
Contributor Author

Btw why isn’t it caught from any e2e test? (No re2e test for autoscaler?)

Good question. Looks like Ray status is not tested e2e for the [deployment stack]/[compatibility direction] that broke here. Will follow up on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants