Project

General

Profile

Actions

Bug #65865

open

MDS/MDSMonitor: retval of mds fail cmd when non-existent MDS name is passed is zero

Added by Rishabh Dave almost 2 years ago. Updated about 1 year ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Backport:
squid,reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDSMonitor, qa-suite
Labels (FS):
qa, qa-failure
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

Passing a non-existent MDS's name to the command ceph mds fail returns zero. It should be returning non-zero value to indicate that command didn't run successfully.

$ ./bin/ceph mds fail zzz
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2024-05-08T18:25:52.771+0530 7f61f31756c0 -1 WARNING: all dangerous and experimental features are enabled.
2024-05-08T18:25:52.778+0530 7f61f31756c0 -1 WARNING: all dangerous and experimental features are enabled.
MDS named 'zzz' does not exist, or is not upMDS named 'zzz' does not exist, is not up or you lack the permission to see.
Actions #1

Updated by Rishabh Dave almost 2 years ago

  • Backport set to squid,reef,quincy
Actions #2

Updated by Venky Shankar almost 2 years ago

  • Subject changed from cephfs: retval of mds fail cmd when non-existent MDS name is passed is zero to MDS/MDSMonitor: retval of mds fail cmd when non-existent MDS name is passed is zero
  • Component(FS) MDSMonitor added
Actions #3

Updated by Rishabh Dave almost 2 years ago

  • Description updated (diff)
Actions #4

Updated by Rishabh Dave almost 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 57333
Actions #5

Updated by Konstantin Shalygin about 1 year ago

  • Backport changed from squid,reef,quincy to squid,reef
Actions

Also available in: Atom PDF