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(csi): Invalid mount point with volume detached (backport #2043) #2050

Merged
merged 1 commit into from
Jul 6, 2023

Commits on Jul 6, 2023

  1. fix(csi): Invalid mount point with volume detached

    Volume detached because only one replica failed and not remount the
    `globalmount`. We need to handle it at NodePublishVolume because
    os.ReadDir will be passed when it becomes a read-only file system
    after an unexpected volume detaching.
    
    Use an empty file to test the file system
    
    Ref: 4814, 5801
    
    Signed-off-by: James Lu <james.lu@suse.com>
    (cherry picked from commit a9d6289)
    mantissahz authored and mergify[bot] committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f2e6977 View commit details
    Browse the repository at this point in the history