Bug #62793
openclient: setfattr -x ceph.dir.pin: No such attribute
0%
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.
Updated by Venky Shankar 8 months ago
- Assignee set to Christopher Hoffman
Chris, please take this one.
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.
Updated by Christopher Hoffman 8 months ago
- Status changed from New to In Progress
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.
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.subvolumeThis 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.
Updated by Christopher Hoffman 7 months ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 53755