Bug #55111
open
- 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.
- Severity changed from 3 - minor to 4 - irritation
Also available in: Atom
PDF