Project

General

Profile

Actions

Bug #62720

open

mds: identify selinux relabelling and generate health warning

Added by Venky Shankar 8 months ago. Updated 3 months ago.

Status:
In Progress
Priority:
High
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Tags:
Backport:
reef,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This request has come up from folks in the field. A recursive relabel on a file system brings the mds down to its knees - not an mds issue as such, its a badly designed upper layer that applies `security.selinux` extended attribute touching all inodes in a file system before handing the file system path for mounting (subvolume users). Using a perf counter to track the relabel and emitting a warning when it exceeds a threshold would ease of some burden for cluster admins (who currently have to either analyse debug log files to be certain that the slowness is due to an ongoing selinux relabel).

Actions #1

Updated by Venky Shankar 8 months ago

  • Priority changed from Normal to High
Actions #2

Updated by Venky Shankar 5 months ago

  • Backport changed from reef,quincy,pacific to reef,quincy
Actions #3

Updated by Manish Yathnalli 4 months ago

  • Status changed from New to In Progress
Actions #4

Updated by Venky Shankar 3 months ago

  • Assignee changed from Manish Yathnalli to Christopher Hoffman

Chris, please take this one whenever you get some time off from the fscrypt work :)

Actions

Also available in: Atom PDF