Bug #21991
mds: tell session ls returns vanila EINVAL when MDS is not active
% Done:
0%
Source:
Development
Tags:
Backport:
luminous
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
A more helpful error message would be desirable.
$ ceph tell mds.a session ls Error EINVAL:
Related issues
History
#1 Updated by Patrick Donnelly about 6 years ago
- Description updated (diff)
#2 Updated by Jos Collin about 6 years ago
- Status changed from New to In Progress
#3 Updated by Jos Collin about 6 years ago
- Status changed from In Progress to Fix Under Review
#4 Updated by Jos Collin about 6 years ago
It doesn't matter whether mds is active or inactive. The actual issue is: the tell mds command doesn't print the output text when _handle_command() returns error. If the return value is 0 (r is 0) it prints the output text.
#5 Updated by Patrick Donnelly about 6 years ago
#6 Updated by Jos Collin about 6 years ago
Based on the latest findings, a new PR is created: https://github.com/ceph/ceph/pull/19078
#7 Updated by Jos Collin about 6 years ago
- Status changed from Fix Under Review to Pending Backport
#8 Updated by Nathan Cutler almost 6 years ago
- Copied to Backport #22392: luminous: mds: tell session ls returns vanila EINVAL when MDS is not active added
#9 Updated by Jos Collin almost 6 years ago
- Status changed from Pending Backport to Resolved