Bug #38741
cephfs-shell: python traceback with mkdir when reattempt of mkdir
% Done:
0%
Source:
Development
Tags:
Backport:
nautilus
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:~/>>> mkdir -m 0700 d2 CephFS:~/>>> ls -l drwxrwxrwx 0 25405 25405 2019-03-14 12:12:29 d1/ drwx------ 0 25405 25405 2019-03-14 18:00:56 d2/ CephFS:~/>>> mkdir -m 0700 d2 [Errno 17] error in mkdir 'b'/d2'' Traceback (most recent call last): File "../src/tools/cephfs/cephfs-shell", line 367, 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 413, in do_mkdir cephfs.mkdir(path, permission) File "cephfs.pyx", line 765, in cephfs.LibCephFS.mkdir cephfs.ObjectExists: [Errno 17] error in mkdir 'b'/d2''
Similar to the other one, it sounds like you just want the shell to output an error and not show a traceback. That sounds reasonable to me but then this would be a duplicate bug report.
Related issues
History
#1 Updated by Patrick Donnelly about 5 years ago
- Description updated (diff)
- Assignee set to Milind Changire
- Target version set to v15.0.0
- Start date deleted (
03/14/2019) - Source set to Development
- Backport set to nautilus
#2 Updated by Milind Changire almost 5 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 27235
#3 Updated by Patrick Donnelly almost 5 years ago
- Status changed from Fix Under Review to Pending Backport
#4 Updated by Nathan Cutler almost 5 years ago
- Copied to Backport #39377: nautilus: cephfs-shell: python traceback with mkdir when reattempt of mkdir added
#5 Updated by Nathan Cutler almost 5 years ago
- Status changed from Pending Backport to Resolved