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] fix too many values to unpack (expected 2) bug #36231

Merged
merged 4 commits into from
Jun 9, 2023

Conversation

scv119
Copy link
Contributor

@scv119 scv119 commented Jun 8, 2023

autoscaler_summary.pending_launches is a dict thus causing the iteration fails with too many values to unpack issue.

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • 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 added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • 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 :(

@scv119 scv119 marked this pull request as ready for review June 8, 2023 22:59
@scv119 scv119 added release-blocker P0 Issue that blocks the release v2.5.0-pick and removed release-blocker P0 Issue that blocks the release labels Jun 8, 2023
self.autoscaler.all_node_types,
)
except Exception:
logger.error("Error emitting metrics")
Copy link
Collaborator

Choose a reason for hiding this comment

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

use logger.exception ? or print the stack trace?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think we want to drop the exception silently.

@aslonnie
Copy link
Collaborator

aslonnie commented Jun 8, 2023

@scv119 , could you also get a cherrypick PR for branch releases/2.5.0

@ArturNiederfahrenhorst
Copy link
Contributor

The 2.5.1 branch is up, please also create a cherry pick PR for that one.

@scv119 scv119 merged commit 94a22ca into ray-project:master Jun 9, 2023
scv119 added a commit to scv119/ray that referenced this pull request Jun 9, 2023
…ect#36231)

autoscaler_summary.pending_launches is a dict thus causing the iteration fails with too many values to unpack issue.
scv119 added a commit that referenced this pull request Jun 9, 2023
…36241)

autoscaler_summary.pending_launches is a dict thus causing the iteration fails with too many values to unpack issue.
aslonnie added a commit that referenced this pull request Jun 15, 2023
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
…ect#36231)

autoscaler_summary.pending_launches is a dict thus causing the iteration fails with too many values to unpack issue.

Signed-off-by: e428265 <[email protected]>
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.

4 participants