Project

General

Profile

Actions

Documentation #62605

open

cephfs-journal-tool: update parts of code that need mandatory --rank

Added by Dhairya Parmar 8 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Tags:
Backport:
reef,quincy,pacific
Reviewed:
Affected Versions:
Labels (FS):
Pull request ID:

Description

For instance If someone refers [0] to export journal to a file, it says to run

cephfs-journal-tool journal export myjournal.bin

it would fail with:

$ ./bin/cephfs-journal-tool header get
Error (2023-08-28T17:38:29.038+0530 7f35c338d200 -1 main: missing mandatory "--rank" argument
(22) Invalid argument)

happens with other commands too, need to add --rank <fs>:all or <fs>:<some_rank> to the command examples.

[0] https://docs.ceph.com/en/latest/cephfs/cephfs-journal-tool/#example-journal-import-export

Actions #1

Updated by Venky Shankar 8 months ago

  • Assignee set to Rishabh Dave
  • Backport set to reef,quincy,pacific

Good catch.

Actions

Also available in: Atom PDF