Project

General

Profile

Bug #42238

cephfs-shell: setxattr() is passed extra length argument

Added by Varsha Rao about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% 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:

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 about 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 30802

#2 Updated by Patrick Donnelly 11 months ago

  • Status changed from Fix Under Review to Resolved
  • Source set to Development

Also available in: Atom PDF