Project

General

Profile

Actions

Bug #24780

closed

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

Added by John Spray almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Administration/Usability
Target version:
% 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:
Crash signature (v1):
Crash signature (v2):

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 2 (0 open2 closed)

Copied to CephFS - Backport #36217: luminous: Some cephfs tool commands silently operate on only rank 0, even if multiple ranks existResolvedVenky ShankarActions
Copied to CephFS - Backport #36218: mimic: Some cephfs tool commands silently operate on only rank 0, even if multiple ranks existResolvedNathan CutlerActions
Actions #1

Updated by Patrick Donnelly almost 6 years 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
Actions #2

Updated by Venky Shankar over 5 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Patrick Donnelly over 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

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

Updated by Patrick Donnelly over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF