Project

General

Profile

Actions

Bug #62793

open

client: setfattr -x ceph.dir.pin: No such attribute

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

Status:
Fix Under Review
Priority:
Urgent
Category:
Administration/Usability
Target version:
% Done:

0%

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

Description

I've come across documents which suggests to remove ceph.dir.pin to disable export pins, but, looks like it does not work as expected. Maybe it used to and something broke it - I"m not sure. But this needs to be fixed.

Actions #1

Updated by Venky Shankar 8 months ago

  • Assignee set to Christopher Hoffman

Chris, please take this one.

Actions #2

Updated by Patrick Donnelly 8 months ago

  • Subject changed from setfattr -x ceph.dir.pin: No such attribute to client: setfattr -x ceph.dir.pin: No such attribute

It'll be nice if we can handle this just from the MDS side. It may require changes to ceph-fuse and the kclient to pass a removexattr call on a vxattr ("ceph." prefix) to the MDS.

Actions #3

Updated by Christopher Hoffman 8 months ago

  • Status changed from New to In Progress
Actions #4

Updated by Christopher Hoffman 7 months ago

It appears there's multiple xattrs that aren't being handled. When attempting to remove an xattr listed below, one will get "No such attribute".

-ceph.dir.pin
-ceph.dir.pin.distributed
-ceph.dir.pin.random
-ceph.dir.subvolume

This page https://docs.ceph.com/en/latest/cephfs/multimds/ mentions to remove partitioning policy, one can remove the xattr. This functionality should exist.

Actions #5

Updated by Venky Shankar 7 months ago

Christopher Hoffman wrote:

It appears there's multiple xattrs that aren't being handled. When attempting to remove an xattr listed below, one will get "No such attribute".

-ceph.dir.pin
-ceph.dir.pin.distributed
-ceph.dir.pin.random
-ceph.dir.subvolume

This page https://docs.ceph.com/en/latest/cephfs/multimds/ mentions to remove partitioning policy, one can remove the xattr. This functionality should exist.

Or, it got broken somehow due to some change. Let's also add tests for the same with the fix.

Actions #6

Updated by Christopher Hoffman 7 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 53755
Actions

Also available in: Atom PDF