Project

General

Profile

Actions

Bug #62793

closed

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

Added by Venky Shankar over 2 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
Urgent
Category:
Administration/Usability
Target version:
% Done:

100%

Source:
Development
Backport:
quincy,reef,squid
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Tags (freeform):
backport_processed
Fixed In:
v19.3.0-3049-gcac7dcd634
Released In:
v20.2.0~2601
Upkeep Timestamp:
2025-11-01T01:34:24+00:00

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.


Related issues 4 (0 open4 closed)

Copied to CephFS - Backport #66730: pacific: client: setfattr -x ceph.dir.pin: No such attributeRejectedChristopher HoffmanActions
Copied to CephFS - Backport #66732: reef: client: setfattr -x ceph.dir.pin: No such attributeResolvedChristopher HoffmanActions
Copied to CephFS - Backport #66733: quincy: client: setfattr -x ceph.dir.pin: No such attributeRejectedChristopher HoffmanActions
Copied to CephFS - Backport #68942: squid: client: setfattr -x ceph.dir.pin: No such attributeResolvedChristopher HoffmanActions
Actions #1

Updated by Venky Shankar over 2 years ago

  • Assignee set to Christopher Hoffman

Chris, please take this one.

Actions #2

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.

Actions #3

Updated by Christopher Hoffman over 2 years ago

  • Status changed from New to In Progress
Actions #4

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.

Actions #5

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.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 over 2 years ago

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

Updated by Venky Shankar over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Source set to Development
Actions #8

Updated by Christopher Hoffman over 1 year ago

  • Copied to Backport #66730: pacific: client: setfattr -x ceph.dir.pin: No such attribute added
Actions #9

Updated by Christopher Hoffman over 1 year ago

  • Copied to Backport #66732: reef: client: setfattr -x ceph.dir.pin: No such attribute added
Actions #10

Updated by Christopher Hoffman over 1 year ago

  • Copied to Backport #66733: quincy: client: setfattr -x ceph.dir.pin: No such attribute added
Actions #11

Updated by Christopher Hoffman over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #12

Updated by Venky Shankar over 1 year ago

  • Backport changed from reef,quincy,pacific to quincy,reef,squid
  • Tags (freeform) deleted (backport_processed)
Actions #13

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #68942: squid: client: setfattr -x ceph.dir.pin: No such attribute added
Actions #14

Updated by Upkeep Bot over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #15

Updated by Konstantin Shalygin about 1 year ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
Actions #16

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
Actions #17

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
Actions #18

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
Actions

Also available in: Atom PDF