You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Node{Stage,Publish}Volume RPCs idempotent on kubelet restarts (#752)
When kubelet is restarted NodeStageVolume/NodePublishVolume RPCs are
called with existing staging-target-path and target-path. Previously
respective RPCs return errors stating staging-target-path/target-path
are already mounted.
This PR fixes the issue.
Signed-off-by: Bala.FA <bala@minio.io>
klog.ErrorS(err, "unable to bind mount staging target path to target path", "StagingTargetPath", req.GetStagingTargetPath(), "TargetPath", req.GetTargetPath())
145
-
returnnil, status.Errorf(codes.Internal, "unable to bind mount staging target path to target path; %v", err)
klog.V(5).InfoS("stagingTargetPath is already bind-mounted to targetPath", "stagingTargetPath", req.GetStagingTargetPath(), "targetPath", req.GetTargetPath())
klog.ErrorS(err, "unable to bind mount staging target path to target path", "StagingTargetPath", req.GetStagingTargetPath(), "TargetPath", req.GetTargetPath())
150
+
returnnil, status.Errorf(codes.Internal, "unable to bind mount staging target path to target path; %v", err)
0 commit comments