Project

General

Profile

Actions

Bug #38809

closed

cephfs-shell: python traceback with inexistant directory with cd

Added by Milind Changire about 5 years ago. Updated about 4 years ago.

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

0%

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

Description

CephFS:~/cmd2.git/.git/objects>>> cd pac
[Errno 2] chdir failed
Traceback (most recent call last):
File "../src/tools/cephfs/cephfs-shell", line 382, in onecmd
res = Cmd.onecmd(self, line)
File "/usr/lib/python3.7/site-packages/cmd2.py", line 2672, in onecmd
stop = func(statement)
File "/usr/lib/python3.7/site-packages/cmd2.py", line 496, in cmd_wrapper
return func(instance, args)
File "../src/tools/cephfs/cephfs-shell", line 790, in do_cd
cephfs.chdir(to_bytes(args.dir_name))
File "cephfs.pyx", line 681, in cephfs.LibCephFS.chdir
cephfs.ObjectNotFound: [Errno 2] chdir failed

Actions #1

Updated by Varsha Rao about 4 years ago

  • Status changed from New to Closed

It is fixed in Octopus.
This PR(https://github.com/ceph/ceph/pull/30365) fixes it

Actions

Also available in: Atom PDF