Bug #62793
open
client: setfattr -x ceph.dir.pin: No such attribute
Added by Venky Shankar 8 months ago.
Updated 8 months ago.
Category:
Administration/Usability
Backport:
reef,quincy,pacific
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.
- Assignee set to Christopher Hoffman
Chris, please take this one.
- 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.
- Status changed from New to In Progress
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.
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.
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 53755
Also available in: Atom
PDF