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

mimic: cephfs: mount: key parsing fail when doing a remount #29225

Merged
merged 1 commit into from
Oct 7, 2019

Commits on Jul 23, 2019

  1. common/secret.c: fix key parsing when doing a remount

    When doing a CephFS remount (-o remount) the secret is parsed from procfs
    and we get '<hidden>' as a result and the mount will fail with:
    
      secret is not valid base64: Invalid argument.
      adding ceph secret key to kernel failed: Invalid argument.
    
    As the kernel already have the key, we simply need to use it.
    
    Fixes: https://tracker.ceph.com/issues/39951
    Signed-off-by: Luis Henriques <lhenriques@suse.com>
    (cherry picked from commit f44516b)
    luis-henrix authored and smithfarm committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    8b8ae6c View commit details
    Browse the repository at this point in the history