Bug #42238
cephfs-shell: setxattr() is passed extra length argument
% Done:
0%
Source:
Development
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:~/>>> quota --max_files 2 set test
setxattr() takes exactly 4 positional arguments (5 given)
Traceback (most recent call last):
File "../src/tools/cephfs/cephfs-shell", line 403, in onecmd
res = Cmd.onecmd(self, line, **kwargs)
File "/home/varsha/ceph/build/venv/lib/python3.7/site-packages/cmd2/cmd2.py", line 2164, in onecmd
stop = func(statement)
File "/home/varsha/ceph/build/venv/lib/python3.7/site-packages/cmd2/cmd2.py", line 276, in cmd_wrapper
return func(cmd2_app, args)
File "../src/tools/cephfs/cephfs-shell", line 1238, in do_quota
os.XATTR_CREATE)
File "cephfs.pyx", line 1070, in cephfs.LibCephFS.setxattr
TypeError: setxattr() takes exactly 4 positional arguments (5 given)
History
#1 Updated by Varsha Rao over 4 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 30802
#2 Updated by Patrick Donnelly about 4 years ago
- Status changed from Fix Under Review to Resolved
- Source set to Development