Actions
Bug #65865
openMDS/MDSMonitor: retval of mds fail cmd when non-existent MDS name is passed is zero
% 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.
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
Updated by Rishabh Dave almost 2 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 57333
Updated by Konstantin Shalygin about 1 year ago
- Backport changed from squid,reef,quincy to squid,reef
Actions