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

Fix duplicated volume issue #690

Merged

Conversation

wilsonwang371
Copy link
Collaborator

Why are these changes needed?

some corner cases can be triggered and the error below is returned

Invalid value: \"/dev/shm\": must be unique", 

Related issue number

#688

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

ray-operator/controllers/ray/common/pod.go Outdated Show resolved Hide resolved
@wilsonwang371
Copy link
Collaborator Author

confirmed by Yi Cheng that this issue is no longer observed.

cc @iycheng

Copy link
Collaborator

@DmitriGekhtman DmitriGekhtman left a comment

Choose a reason for hiding this comment

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

Unit test appreciated but not required.

Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

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

Thank @wilsonwang371 for the update! Can you rebase the branch? I have added some config tests in the latest commit. In addition, unit tests appreciated. Thank you!

Copy link
Collaborator

@DmitriGekhtman DmitriGekhtman left a comment

Choose a reason for hiding this comment

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

Mm, actually, I do want to request a unit test -- testing is pretty important to the stability of this codebase.

@DmitriGekhtman
Copy link
Collaborator

@wilsonwang371 this will be good to merge after a basic unit test is added

@wilsonwang371 wilsonwang371 changed the title fix duplicated volume issue [WIP]fix duplicated volume issue Nov 10, 2022
@kevin85421
Copy link
Member

@wilsonwang371 is it ready to merge? The PR title is "WIP". Thank you!

@DmitriGekhtman DmitriGekhtman changed the title [WIP]fix duplicated volume issue Fix duplicated volume issue Nov 10, 2022
@DmitriGekhtman
Copy link
Collaborator

Deleted the WIP :) . Merging.

@DmitriGekhtman DmitriGekhtman merged commit 7e21b5d into ray-project:master Nov 10, 2022
@wilsonwang371
Copy link
Collaborator Author

Deleted the WIP :) . Merging.

this is really fast..... i was thinking about a few more tests... although it is fine to merge now...

@DmitriGekhtman
Copy link
Collaborator

DmitriGekhtman commented Nov 10, 2022

My bad! Sometimes I'm a bit trigger happy.
Feel free to add tests in a follow-up!

@wilsonwang371 wilsonwang371 deleted the wilson/dup-volume-fix branch November 11, 2022 00:33
@scarlet25151 scarlet25151 mentioned this pull request Nov 22, 2022
Closed
4 tasks
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
Avoid duplicating volumeMount paths.
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.

None yet

4 participants