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

Change isVolumeConflict so read-only gce persistent disks don't confl… #9056

Merged
merged 1 commit into from
Jun 2, 2015

Conversation

runningwild
Copy link
Contributor

…ict with each other

Fixes issue #8478.

This doesn't address the problem of two pods on different machines trying to mount the same disk in read-write mode, but I assume that is not within the scope of this issue.

@k8s-bot
Copy link

k8s-bot commented Jun 1, 2015

Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist")

If this message is too spammy, please complain to ixdy.

@@ -52,12 +52,13 @@ func (nodes ClientNodeInfo) GetNodeInfo(nodeID string) (*api.Node, error) {

func isVolumeConflict(volume api.Volume, pod *api.Pod) bool {
Copy link
Member

Choose a reason for hiding this comment

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

Medium-to-long term, anything related to specific volume implementations should move to pkg/volume and be part of the plugin interface.

@erictune
Copy link
Member

erictune commented Jun 1, 2015

ok to test

@k8s-bot
Copy link

k8s-bot commented Jun 1, 2015

EXPERIMENTAL JENKINS PR BUILDER: e2e build failed.

@runningwild
Copy link
Contributor Author

I don't really understand the error I'm seeing here, is this something I can fix?

@thockin
Copy link
Member

thockin commented Jun 2, 2015

Don't worry about EXPERIMENTAL JENKINS PR BUILDER. He's experimental.

On Mon, Jun 1, 2015 at 12:25 PM, runningwild notifications@github.com
wrote:

I don't really understand the error I'm seeing here, is this something I
can fix?


Reply to this email directly or view it on GitHub
#9056 (comment)
.

@davidopp davidopp added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 2, 2015
@davidopp
Copy link
Member

davidopp commented Jun 2, 2015

LGTM

I think this is OK to merge because in some sense it was a bug (or at least a usability issue). (Otherwise we are under code freeze.)

bgrant0607 added a commit that referenced this pull request Jun 2, 2015
Change isVolumeConflict so read-only gce persistent disks don't confl…
@bgrant0607 bgrant0607 merged commit 808932c into kubernetes:master Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants