Project

General

Profile

Actions

Bug #61444

closed

mds: session ls command appears twice in command listing

Added by Patrick Donnelly 11 months ago. Updated 6 months ago.

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

0%

Source:
Development
Tags:
backport_processed
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

https://github.com/ceph/ceph/blob/3bc1ea5519c0ec98894c5cc16c4404ab7bd186bc/src/mds/MDSDaemon.cc#L379

and

https://github.com/ceph/ceph/blob/3bc1ea5519c0ec98894c5cc16c4404ab7bd186bc/src/mds/MDSDaemon.cc#L355

$ ceph tell mds.* help
...
session ls [--cap-dump]                                                                         Enumerate connected CephFS clients
session ls [--cap-dump] [<filters>...]                                                          List client sessions based on a filter

The filters argument cannot be given because the first one overrides the second.

A workaround is to use "client ls"

The version without "filters" needs removed and tests written to ensure it works.


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #61986: pacific: mds: session ls command appears twice in command listingRejectedNeeraj Pratap SinghActions
Copied to CephFS - Backport #61987: reef: mds: session ls command appears twice in command listingResolvedNeeraj Pratap SinghActions
Copied to CephFS - Backport #61988: quincy: mds: session ls command appears twice in command listingResolvedNeeraj Pratap SinghActions
Actions #1

Updated by Milind Changire 11 months ago

  • Assignee set to Neeraj Pratap Singh
Actions #2

Updated by Neeraj Pratap Singh 11 months ago

  • Pull request ID set to 51959
Actions #3

Updated by Neeraj Pratap Singh 11 months ago

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

Updated by Venky Shankar 10 months ago

  • Category set to Administration/Usability
  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Backport Bot 10 months ago

  • Copied to Backport #61986: pacific: mds: session ls command appears twice in command listing added
Actions #6

Updated by Backport Bot 10 months ago

  • Copied to Backport #61987: reef: mds: session ls command appears twice in command listing added
Actions #7

Updated by Backport Bot 10 months ago

  • Copied to Backport #61988: quincy: mds: session ls command appears twice in command listing added
Actions #8

Updated by Backport Bot 10 months ago

  • Tags set to backport_processed
Actions #9

Updated by Neeraj Pratap Singh 6 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF