Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

[autoscaler] Usebash instead of/bin/bash#38105

Closed
rskew wants to merge1 commit intoray-project:masterfromrskew:no-bin-bash

Conversation

rskew
Copy link

@rskewrskew commentedAug 4, 2023
edited
Loading

Why are these changes needed?

Some Docker containers (e.g. from scratch containers, or containers built with nix) may not have/bin/bash included. Replacing/bin/bash withbash allows them to work.

It is already assumed thatbash will be on thePATH, e.g.docker run usesbash as the cmd:

docker_run= [
docker_cmd,
"run",
"--rm",
"--name {}".format(container_name),
"-d",
"-it",
mount_flags,
env_flags,
user_options_str,
"--net=host",
image,
"bash",

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 runscripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed forhttps://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 indoc/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 athttps://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

I've run a cluster with this code and the cluster runs successfully.

@rskew
Copy link
Author

Friendly bump :)

@stale
Copy link

stalebot commentedOct 15, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

  • If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@stalestalebot added the staleThe issue is stale. It will be closed within 7 days unless there are further conversation labelOct 15, 2023
@stalestalebot removed the staleThe issue is stale. It will be closed within 7 days unless there are further conversation labelDec 25, 2023
@architkulkarniarchitkulkarni self-assigned thisDec 26, 2023
@anyscalesamanyscalesam added triageNeeds triage (eg: priority, bug/not-bug, and owning component) coreIssues that should be addressed in Ray Core labelsMay 15, 2024
@anyscalesamanyscalesam added the core-autoscalerautoscaler related issues labelJun 17, 2024
@anyscalesam
Copy link
Contributor

@hongchaodeng picking it back up post@architkulkarni ... this is safe to merge no?

@anyscalesam
Copy link
Contributor

@rskew can you fix the failing tests here so we can merge?

Signed-off-by: Rowan Skewes <rowan.skewes@gmail.com>
@rskew
Copy link
Author

@anyscalesam how do I get thebuildkite/premerge CI check to run?

@anyscalesamanyscalesam added the goadd ONLY when ready to merge, run all tests labelAug 12, 2024
@anyscalesam
Copy link
Contributor

ask one of the reviewers - we have rights to start it with the go label addition; i just added buildkite is running now@rskew

rskew reacted with thumbs up emoji

@anyscalesamanyscalesam added P1Issue that should be fixed within a few weeks and removed triageNeeds triage (eg: priority, bug/not-bug, and owning component) labelsAug 19, 2024
@aslonnieaslonnie requested a review fromjjyaoAugust 20, 2024 03:09
Copy link
Collaborator

@aslonnieaslonnie left a comment

Choose a reason for hiding this comment

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

core team owns this part.

@@ -408,7 +408,7 @@ def create_and_get_archive_from_remote_node(
else ["--no-proccesses-verbose"]
)

cmd += ["/bin/bash", "-c", _wrap(collect_cmd, quotes='"')]
cmd += ["bash", "-c", _wrap(collect_cmd, quotes='"')]
Copy link
Collaborator

Choose a reason for hiding this comment

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

this might create security issue to hijacking bash viaPATH?

maybe the path of bash (or all shell?) should be an configurable option.

@kevin85421
Copy link
Member

Close this PR since it is quite old.

rskew reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@aslonnieaslonnieaslonnie left review comments

@ericlericlAwaiting requested review from ericl

@architkulkarniarchitkulkarniAwaiting requested review from architkulkarni

@hongchaodenghongchaodengAwaiting requested review from hongchaodeng

@jjyaojjyaoAwaiting requested review from jjyao

Assignees
No one assigned
Labels
coreIssues that should be addressed in Ray Corecore-autoscalerautoscaler related issuesgoadd ONLY when ready to merge, run all testsP1Issue that should be fixed within a few weeks
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@rskew@anyscalesam@kevin85421@aslonnie@architkulkarni

[8]ページ先頭

©2009-2025 Movatter.jp