Bug #62793
closedclient: setfattr -x ceph.dir.pin: No such attribute
100%
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 over 2 years ago
- Assignee set to Christopher Hoffman
Chris, please take this one.
Updated by Patrick Donnelly over 2 years 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 over 2 years ago
- Status changed from New to In Progress
Updated by Christopher Hoffman over 2 years 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 over 2 years 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 over 2 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 53755
Updated by Venky Shankar over 1 year ago
- Status changed from Fix Under Review to Pending Backport
- Source set to Development
Updated by Christopher Hoffman over 1 year ago
- Copied to Backport #66730: pacific: client: setfattr -x ceph.dir.pin: No such attribute added
Updated by Christopher Hoffman over 1 year ago
- Copied to Backport #66732: reef: client: setfattr -x ceph.dir.pin: No such attribute added
Updated by Christopher Hoffman over 1 year ago
- Copied to Backport #66733: quincy: client: setfattr -x ceph.dir.pin: No such attribute added
Updated by Christopher Hoffman over 1 year ago
- Tags (freeform) set to backport_processed
Updated by Venky Shankar over 1 year ago
- Backport changed from reef,quincy,pacific to quincy,reef,squid
- Tags (freeform) deleted (
backport_processed)
Updated by Upkeep Bot over 1 year ago
- Copied to Backport #68942: squid: client: setfattr -x ceph.dir.pin: No such attribute added
Updated by Upkeep Bot over 1 year ago
- Tags (freeform) set to backport_processed
Updated by Konstantin Shalygin about 1 year ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
Updated by Upkeep Bot 8 months ago
- Merge Commit set to cac7dcd63481ddbc4fe26f4b8d5918510e8be457
- Fixed In set to v19.3.0-3049-gcac7dcd6348
- Upkeep Timestamp set to 2025-07-11T22:08:51+00:00
Updated by Upkeep Bot 8 months ago
- Fixed In changed from v19.3.0-3049-gcac7dcd6348 to v19.3.0-3049-gcac7dcd634
- Upkeep Timestamp changed from 2025-07-11T22:08:51+00:00 to 2025-07-14T23:39:59+00:00
Updated by Upkeep Bot 5 months ago
- Released In set to v20.2.0~2601
- Upkeep Timestamp changed from 2025-07-14T23:39:59+00:00 to 2025-11-01T01:34:24+00:00