-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Gluster timeout patches #15396
Gluster timeout patches #15396
Conversation
[test] |
LGTM. Thanks @jsafrane! |
[test] |
// Give a try without `auto_unmount` mount option, because | ||
// it could be that gluster fuse client is older version and | ||
// mount.glusterfs is unaware of `auto_unmount`. | ||
noAutoMountOptions := make([]string, len(mountOptions)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this right? shouldn't it be noAutoMountOptions := make([]string, 0, len(mountOptions)
? Since we are using append()
instead of noAutoMountOptions[i]
isn't noautoMountOptions
actually ending up as a slice with 2*len(mountOptions)-1
where the first len(mountOptions)
strings are just ""
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, filled kubernetes/kubernetes#49475
[test] GCE PV fix was merged for ansible |
[test] |
Evaluated for origin test up to 50f5a42 |
[merge][severity: blocker] |
continuous-integration/openshift-jenkins/merge Waiting: You are in the build queue at position: 3 |
Evaluated for origin merge up to 50f5a42 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3485/) (Base Commit: cb4bddd) (PR Branch Commit: 50f5a42) |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eparis, jsafrane Associated issue requirement bypassed by: eparis The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
Automatic merge from submit-queue |
There are several upstream patches that shorten gluster timeout when remote gluster servers are unavailable. User gets an error about failed mount in 2 minutes instead of 2 minutes * 2 * nr. of gluster endpoints.
kubernetes/kubernetes#42038
kubernetes/kubernetes#49127
kubernetes/kubernetes#48709
kubernetes/kubernetes#49475
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1473587