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 11 days ago. Updated 10 days ago.

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

0%

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

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 11 days ago

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

Updated by Venky Shankar 11 days 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 11 days ago

  • Description updated (diff)
Actions #4

Updated by Rishabh Dave 10 days ago

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

Also available in: Atom PDF