Project

General

Profile

Actions

Bug #65865

open
RD RD

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

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

Added by Rishabh Dave over 2 years ago. Updated 8 months ago.

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

0%

Source:
Backport:
squid
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.

RD Updated by Rishabh Dave over 2 years ago Actions #1

  • Backport set to squid,reef,quincy

VS Updated by Venky Shankar over 2 years ago Actions #2

  • 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

RD Updated by Rishabh Dave over 2 years ago Actions #3

  • Description updated (diff)

RD Updated by Rishabh Dave over 2 years ago Actions #4

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

KS Updated by Konstantin Shalygin almost 2 years ago Actions #5

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

KS Updated by Konstantin Shalygin 8 months ago Actions #6

  • Backport changed from squid,reef to squid
Actions

Also available in: PDF Atom