Project

General

Profile

Actions

Bug #62793

closed
VS CH

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

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

Added by Venky Shankar about 3 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Urgent
Category:
Administration/Usability
Target version:
Due date:
% 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):
Fixed In:
v19.3.0-3049-gcac7dcd634
Released In:
v20.2.0~2601
Upkeep Timestamp:
2026-08-28T01:38:20+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 open — 4 closed)

Copied to CephFS - Backport #66730: pacific: client: setfattr -x ceph.dir.pin: No such attributeRejectedChristopher Hoffman

Actions
Copied to CephFS - Backport #66732: reef: client: setfattr -x ceph.dir.pin: No such attributeResolvedChristopher Hoffman

Actions
Copied to CephFS - Backport #66733: quincy: client: setfattr -x ceph.dir.pin: No such attributeRejectedChristopher Hoffman

Actions
Copied to CephFS - Backport #68942: squid: client: setfattr -x ceph.dir.pin: No such attributeResolvedChristopher Hoffman

Actions

VS Updated by Venky Shankar about 3 years ago Actions #1

  • Assignee set to Christopher Hoffman

Chris, please take this one.

PD Updated by Patrick Donnelly about 3 years ago Actions #2

  • 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.

CH Updated by Christopher Hoffman about 3 years ago Actions #3

  • Status changed from New to In Progress

CH Updated by Christopher Hoffman about 3 years ago Actions #4

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.

VS Updated by Venky Shankar about 3 years ago Actions #5

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.

CH Updated by Christopher Hoffman about 3 years ago Actions #6

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

VS Updated by Venky Shankar over 2 years ago Actions #7

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

CH Updated by Christopher Hoffman over 2 years ago Actions #8

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

CH Updated by Christopher Hoffman over 2 years ago Actions #9

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

CH Updated by Christopher Hoffman over 2 years ago Actions #10

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

CH Updated by Christopher Hoffman over 2 years ago Actions #11

  • Tags (freeform) set to backport_processed

VS Updated by Venky Shankar about 2 years ago Actions #12

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

UB Updated by Upkeep Bot about 2 years ago Actions #13

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

UB Updated by Upkeep Bot about 2 years ago Actions #14

  • Tags (freeform) set to backport_processed

KS Updated by Konstantin Shalygin almost 2 years ago Actions #15

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

UB Updated by Upkeep Bot over 1 year ago Actions #16

  • 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

UB Updated by Upkeep Bot over 1 year ago Actions #17

  • 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

UB Updated by Upkeep Bot about 1 year ago Actions #18

  • 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

UB Updated by Upkeep Bot 3 months ago Actions #19

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:34:24+00:00 to 2026-08-28T01:38:20+00:00
Actions

Also available in: PDF Atom