Project

General

Profile

Actions

Bug #59624

open

pybind/ceph_argparse: Error message is not descriptive for ceph tell command

Added by Neeraj Pratap Singh 12 months ago. Updated 12 months ago.

Status:
In Progress
Priority:
Normal
Category:
common
Target version:
% Done:

0%

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

Description

ceph tell command with only <mds_name> giving below error

[root@magna028 ~]# ceph tell cephfs_1.magna023.yvyxvl client ls
error handling command target: local variable 'poolid' referenced before assignment

the error message `local variable 'poolid' referenced before assignment` looks not  descriptive. looks like there was a miss in some code path. 

same command with mds.<mds_name> is working fine
[root@magna028 ~]# ceph tell mds.cephfs_1.magna023.yvyxvl client ls | grep "id" 
2023-01-24T17:21:42.239+0000 7fcce27f4640  0 client.134465 ms_handle_reset on v2:10.8.128.23:6824/376621306
2023-01-24T17:21:42.381+0000 7fcce27f4640  0 client.78973 ms_handle_reset on v2:10.8.128.23:6824/376621306
        "id": 115809,
            "entity_id": "admin",
Actions #1

Updated by Neeraj Pratap Singh 12 months ago

  • Status changed from New to In Progress
  • Pull request ID set to 51332
Actions #2

Updated by Venky Shankar 12 months ago

  • Project changed from CephFS to Ceph
  • Category changed from Correctness/Safety to common
  • Target version set to v19.0.0
  • Backport set to reef,quincy,pacific
Actions

Also available in: Atom PDF