Project

General

Profile

Bug #24780

Some cephfs tool commands silently operate on only rank 0, even if multiple ranks exist

Added by John Spray 6 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
High
Assignee:
Category:
Administration/Usability
Target version:
Start date:
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
tools
Labels (FS):
task(medium)
Pull request ID:

Description

I think this is biting people, e.g. in thread "[ceph-users] CephFS - How to handle "loaded dup inode" errors"

We made commands like cephfs-journal-tool operate on rank 0 by default, at a time when single MDS systems were the norm.

On a system with many MDS ranks, it is confusing to run this command, see it succeed, but have it only act on one rank. Maybe we should change the default to all ranks, or maybe we should warn the user that they're only acting on one, but the current silent behaviour is a bit awkward.

We could get rid of the default option entirely, as it is also kind of scary that these commands will operate (I think?) on the default filesystem when there are multiple filesystems, which makes it easy for someone to forget they have multiple filesystems, and do a "reset" on a particular rank forgetting which one they're acting on.


Related issues

Copied to fs - Backport #36217: luminous: Some cephfs tool commands silently operate on only rank 0, even if multiple ranks exist In Progress
Copied to fs - Backport #36218: mimic: Some cephfs tool commands silently operate on only rank 0, even if multiple ranks exist Resolved

History

#1 Updated by Patrick Donnelly 5 months ago

  • Assignee set to Venky Shankar
  • Priority changed from Normal to High
  • Target version set to v14.0.0
  • Start date deleted (07/05/2018)
  • Source set to Development
  • Backport set to luminous,mimic
  • Component(FS) tools added
  • Labels (FS) task(medium) added

#2 Updated by Venky Shankar 5 months ago

  • Status changed from New to Need Review

#3 Updated by Patrick Donnelly 3 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #36217: luminous: Some cephfs tool commands silently operate on only rank 0, even if multiple ranks exist added

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #36218: mimic: Some cephfs tool commands silently operate on only rank 0, even if multiple ranks exist added

Also available in: Atom PDF