-
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
UPSTREAM: 71804: Use UnmountMountPoint util to clean up subpaths #22396
UPSTREAM: 71804: Use UnmountMountPoint util to clean up subpaths #22396
Conversation
/lgtm |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
3a92734
to
819d71d
Compare
@bertinatto, I fixed e2e test ( |
/retest |
1 similar comment
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bertinatto, jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The new test is failing/flaking? for nfs https://testgrid.k8s.io/redhat-openshift-release-blocking#redhat-release-openshift-origin-installer-e2e-aws-4.0&sort-by-flakiness=&width=5&include-filter-by-regex=subPath.should.be.able.to.unmount For some reason, we are error reading /var/lib/kubelet/pods/f760fcc6-4fe6-11e9-9cee-12bab6c09e9a/volume-subpaths/pvc-f4edd68e-4fe6-11e9-9cee-12bab6c09e9a/test-container-subpath-nfs-dynamicpv-xxnv: lstat /var/lib/kubelet/pods/f760fcc6-4fe6-11e9-9cee-12bab6c09e9a/volume-subpaths/pvc-f4edd68e-4fe6-11e9-9cee-12bab6c09e9a/test-container-subpath-nfs-dynamicpv-xxnv/0: stale NFS file handle subPathDir is So where did test-container-subpath-nfs-dynamicpv-xxnv at the end of the path come from? openshift-tests [sig-storage] In-tree Volumes [Driver: nfs] [Testpattern: Dynamic PV (default fs)] subPath should be able to unmount after the subpath directory is deleted [Suite:openshift/conformance/parallel] [Suite:k8s] 15m0s pod-subpath-test-nfs-dynamicpv-xxnv Mar 26 16:48:47 ip-10-0-131-185 hyperkube[962]: E0326 16:48:47.455823 962 nestedpendingoperations.go:278] Operation for ""kubernetes.io/nfs/f760fcc6-4fe6-11e9-9cee-12bab6c09e9a-pvc-f4edd68e-4fe6-11e9-9cee-12bab6c09e9a" ("f760fcc6-4fe6-11e9-9cee-12bab6c09e9a")" failed. No retries permitted until 2019-03-26 16:48:47.955768951 +0000 UTC m=+1562.231129938 (durationBeforeRetry 500ms). Error: "error cleaning subPath mounts for volume "test-volume" (UniqueName: "kubernetes.io/nfs/f760fcc6-4fe6-11e9-9cee-12bab6c09e9a-pvc-f4edd68e-4fe6-11e9-9cee-12bab6c09e9a") pod "f760fcc6-4fe6-11e9-9cee-12bab6c09e9a" (UID: "f760fcc6-4fe6-11e9-9cee-12bab6c09e9a") : error reading /var/lib/kubelet/pods/f760fcc6-4fe6-11e9-9cee-12bab6c09e9a/volume-subpaths/pvc-f4edd68e-4fe6-11e9-9cee-12bab6c09e9a/test-container-subpath-nfs-dynamicpv-xxnv: lstat /var/lib/kubelet/pods/f760fcc6-4fe6-11e9-9cee-12bab6c09e9a/volume-subpaths/pvc-f4edd68e-4fe6-11e9-9cee-12bab6c09e9a/test-container-subpath-nfs-dynamicpv-xxnv/0: stale NFS file handle" openshift-tests [sig-storage] In-tree Volumes [Driver: nfs] [Testpattern: Inline-volume (default fs)] subPath should be able to unmount after the subpath directory is deleted [Suite:openshift/conformance/parallel] [Suite:k8s] 15m0s pod-subpath-test-nfs-dzwq Mar 26 16:50:40 ip-10-0-131-185 hyperkube[962]: E0326 16:50:40.096646 962 nestedpendingoperations.go:278] Operation for ""kubernetes.io/nfs/3db5d95d-4fe7-11e9-ab53-028b3e5f8e58-test-volume" ("3db5d95d-4fe7-11e9-ab53-028b3e5f8e58")" failed. No retries permitted until 2019-03-26 16:50:40.596599019 +0000 UTC m=+1674.871960020 (durationBeforeRetry 500ms). Error: "error cleaning subPath mounts for volume "test-volume" (UniqueName: "kubernetes.io/nfs/3db5d95d-4fe7-11e9-ab53-028b3e5f8e58-test-volume") pod "3db5d95d-4fe7-11e9-ab53-028b3e5f8e58" (UID: "3db5d95d-4fe7-11e9-ab53-028b3e5f8e58") : error reading /var/lib/kubelet/pods/3db5d95d-4fe7-11e9-ab53-028b3e5f8e58/volume-subpaths/test-volume/test-container-subpath-nfs-dzwq: lstat /var/lib/kubelet/pods/3db5d95d-4fe7-11e9-ab53-028b3e5f8e58/volume-subpaths/test-volume/test-container-subpath-nfs-dzwq/0: stale NFS file handle" openshift-tests [sig-storage] In-tree Volumes [Driver: nfs] [Testpattern: Pre-provisioned PV (default fs)] subPath should be able to unmount after the subpath directory is deleted [Suite:openshift/conformance/parallel] [Suite:k8s] 15m0s pod-subpath-test-nfs-preprovisionedpv-qcrj Mar 26 16:34:00 ip-10-0-131-185 hyperkube[962]: E0326 16:34:00.153375 962 nestedpendingoperations.go:278] Operation for ""kubernetes.io/nfs/db7442aa-4fe4-11e9-8999-0e0b46216998-nfs-c6jbm" ("db7442aa-4fe4-11e9-8999-0e0b46216998")" failed. No retries permitted until 2019-03-26 16:34:00.653326705 +0000 UTC m=+674.928687706 (durationBeforeRetry 500ms). Error: "error cleaning subPath mounts for volume "test-volume" (UniqueName: "kubernetes.io/nfs/db7442aa-4fe4-11e9-8999-0e0b46216998-nfs-c6jbm") pod "db7442aa-4fe4-11e9-8999-0e0b46216998" (UID: "db7442aa-4fe4-11e9-8999-0e0b46216998") : error reading /var/lib/kubelet/pods/db7442aa-4fe4-11e9-8999-0e0b46216998/volume-subpaths/nfs-c6jbm/test-container-subpath-nfs-preprovisionedpv-qcrj: lstat /var/lib/kubelet/pods/db7442aa-4fe4-11e9-8999-0e0b46216998/volume-subpaths/nfs-c6jbm/test-container-subpath-nfs-preprovisionedpv-qcrj/0: stale NFS file handle" |
This fixes flakes found by upstream gluster e2e suite - sometimes it terminates gluster server before clients finish their cleanup.
kubernetes/kubernetes#71804
Upstream issue: kubernetes/kubernetes#71584
@openshift/sig-storage