Project

General

Profile

Bug #41319

ceph.in: pool creation fails with "AttributeError: 'str' object has no attribute '__mro__'"

Added by Patrick Donnelly about 1 month ago. Updated 9 days ago.

Status:
New
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
Labels (FS):
Pull request ID:

Description

2019-08-15T16:27:13.756 INFO:teuthology.orchestra.run.smithi197:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph osd pool create cephfs_data 8
...
2019-08-15T16:27:14.387 INFO:teuthology.orchestra.run.smithi197.stderr:Traceback (most recent call last):
2019-08-15T16:27:14.388 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/bin/ceph", line 1266, in <module>
2019-08-15T16:27:14.388 INFO:teuthology.orchestra.run.smithi197.stderr:    retval = main()
2019-08-15T16:27:14.388 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/bin/ceph", line 1197, in main
2019-08-15T16:27:14.388 INFO:teuthology.orchestra.run.smithi197.stderr:    verbose)
2019-08-15T16:27:14.388 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/bin/ceph", line 622, in new_style_command
2019-08-15T16:27:14.391 INFO:teuthology.orchestra.run.smithi197.stderr:    ret, outbuf, outs = do_command(parsed_args, target, cmdargs, sigdict, inbuf, verbose)
2019-08-15T16:27:14.391 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/bin/ceph", line 554, in do_command
2019-08-15T16:27:14.391 INFO:teuthology.orchestra.run.smithi197.stderr:    valid_dict = validate_command(sigdict, cmdargs, verbose)
2019-08-15T16:27:14.391 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib/python2.7/site-packages/ceph_argparse.py", line 1142, in validate_command
2019-08-15T16:27:14.391 INFO:teuthology.orchestra.run.smithi197.stderr:    matched == matchnum(args, sig, partial=False)):
2019-08-15T16:27:14.392 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib/python2.7/site-packages/ceph_argparse.py", line 865, in matchnum
2019-08-15T16:27:14.392 INFO:teuthology.orchestra.run.smithi197.stderr:    mysig = copy.deepcopy(signature)
2019-08-15T16:27:14.392 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib64/python2.7/copy.py", line 163, in deepcopy
2019-08-15T16:27:14.392 INFO:teuthology.orchestra.run.smithi197.stderr:    y = copier(x, memo)
2019-08-15T16:27:14.392 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib64/python2.7/copy.py", line 230, in _deepcopy_list
2019-08-15T16:27:14.393 INFO:teuthology.orchestra.run.smithi197.stderr:    y.append(deepcopy(a, memo))
2019-08-15T16:27:14.393 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib64/python2.7/copy.py", line 190, in deepcopy
2019-08-15T16:27:14.393 INFO:teuthology.orchestra.run.smithi197.stderr:    y = _reconstruct(x, rv, 1, memo)
2019-08-15T16:27:14.393 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib64/python2.7/copy.py", line 334, in _reconstruct
2019-08-15T16:27:14.393 INFO:teuthology.orchestra.run.smithi197.stderr:    state = deepcopy(state, memo)
2019-08-15T16:27:14.393 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib64/python2.7/copy.py", line 163, in deepcopy
2019-08-15T16:27:14.393 INFO:teuthology.orchestra.run.smithi197.stderr:    y = copier(x, memo)
2019-08-15T16:27:14.394 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib64/python2.7/copy.py", line 257, in _deepcopy_dict
2019-08-15T16:27:14.394 INFO:teuthology.orchestra.run.smithi197.stderr:    y[deepcopy(key, memo)] = deepcopy(value, memo)
2019-08-15T16:27:14.394 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib64/python2.7/copy.py", line 182, in deepcopy
2019-08-15T16:27:14.394 INFO:teuthology.orchestra.run.smithi197.stderr:    rv = reductor(2)
2019-08-15T16:27:14.394 INFO:teuthology.orchestra.run.smithi197.stderr:  File "/usr/lib64/python2.7/copy_reg.py", line 61, in _reduce_ex
2019-08-15T16:27:14.394 INFO:teuthology.orchestra.run.smithi197.stderr:    for base in self.__class__.__mro__:
2019-08-15T16:27:14.396 INFO:teuthology.orchestra.run.smithi197.stderr:AttributeError: 'str' object has no attribute '__mro__'
2019-08-15T16:27:14.401 DEBUG:teuthology.orchestra.run:got remote process result: 1

From: /ceph/teuthology-archive/pdonnell-2019-08-15_13:19:31-fs-wip-pdonnell-testing-20190814.222632-distro-basic-smithi/4217039/teuthology.log

History

#1 Updated by Greg Farnum 9 days ago

  • Project changed from Ceph to fs

Also available in: Atom PDF