Project

General

Profile

Actions

Bug #55111

open

cephfs-shell: tab completion throwing errors

Added by Jeff Layton about 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Actions #1

Updated by Jeff Layton about 2 years ago

  • Subject changed from cephfs-shell: to cephfs-shell: tab completion throwing errors
  • Component(FS) cephfs-shell added

I have a subvolume on one of my filesystems, and when I try to walk down into that subvolume using tab-completion in cephfs-shell, I get an errors, though the completion does seem to work. For instance:

[jlayton@tleilax ~]$ strace -f -o /tmp/cephfs-shell.strace cephfs-shell -f scratch
/home/jlayton/bin/cephfs-shell:21: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.version import LooseVersion
CephFS:~/>>> cd volumes/_nogroup/client1
CephFS:~/volumes/_nogroup/client1>>> cd 6opendir failed: No such file or directory [Errno 2]
a0ce533-aa3d-4413-aada-43757ed11949/
CephFS:~/volumes/_nogroup/client1/6a0ce533-aa3d-4413-aada-43757ed11949>>> quit

Note the spurious opendir error message in there. I don't see anything in the strace, so I suspect that ENOENT is coming from libcephfs.

Actions #2

Updated by Venky Shankar almost 2 years ago

  • Severity changed from 3 - minor to 4 - irritation
Actions

Also available in: Atom PDF