Project

General

Profile

Bug #21991

mds: tell session ls returns vanila EINVAL when MDS is not active

Added by Patrick Donnelly 3 months ago. Updated 15 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
-
Start date:
10/31/2017
Due date:
% Done:

0%

Spent time:
Source:
Development
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Component(FS):
MDS
Needs Doc:
No

Description

A more helpful error message would be desirable.

$ ceph tell mds.a session ls
Error EINVAL:

Related issues

Copied to fs - Backport #22392: luminous: mds: tell session ls returns vanila EINVAL when MDS is not active Resolved

History

#1 Updated by Patrick Donnelly 3 months ago

  • Description updated (diff)

#2 Updated by Jos Collin 3 months ago

  • Status changed from New to In Progress

#3 Updated by Jos Collin 3 months ago

  • Status changed from In Progress to Need Review

#4 Updated by Jos Collin 2 months 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.

#6 Updated by Jos Collin 2 months ago

Based on the latest findings, a new PR is created: https://github.com/ceph/ceph/pull/19078

#7 Updated by Jos Collin about 2 months ago

  • Status changed from Need Review to Pending Backport

#8 Updated by Nathan Cutler about 1 month ago

  • Copied to Backport #22392: luminous: mds: tell session ls returns vanila EINVAL when MDS is not active added

#9 Updated by Jos Collin 15 days ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF