Project

General

Profile

Bug #39951

mount: key parsing fail when doing a remount

Added by Luis Henriques 5 months ago. Updated 5 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
nautilus,mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
kceph, tools
Labels (FS):
Pull request ID:
Crash signature:

Description

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, as in the attach patch.

0001-common-secret.c-fix-key-parsing-when-doing-a-remount.patch View (1.17 KB) Luis Henriques, 05/16/2019 11:05 AM


Related issues

Copied to fs - Backport #40163: luminous: mount: key parsing fail when doing a remount In Progress
Copied to fs - Backport #40164: nautilus: mount: key parsing fail when doing a remount Resolved
Copied to fs - Backport #40165: mimic: mount: key parsing fail when doing a remount Resolved

History

#1 Updated by Luis Henriques 5 months ago

#2 Updated by Patrick Donnelly 5 months ago

  • Project changed from Linux kernel client to fs
  • Status changed from New to Need Review
  • Assignee set to Luis Henriques
  • Target version set to v15.0.0
  • Start date deleted (05/16/2019)
  • Source set to Development
  • Backport set to nautilus,mimic,luminous
  • Pull request ID set to 28148
  • Component(FS) kceph, tools added

#3 Updated by Patrick Donnelly 5 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 5 months ago

  • Copied to Backport #40163: luminous: mount: key parsing fail when doing a remount added

#5 Updated by Nathan Cutler 5 months ago

  • Copied to Backport #40164: nautilus: mount: key parsing fail when doing a remount added

#6 Updated by Nathan Cutler 5 months ago

  • Copied to Backport #40165: mimic: mount: key parsing fail when doing a remount added

Also available in: Atom PDF