Project

General

Profile

Bug #52878

qa/tasks: python3 'dict' object has no attribute 'iterkeys' error

Added by Zhiwei Dai about 1 year ago. Updated 8 months ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
teuthology
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

os: CentOS8.4
ceph version: ceph16.2.4

Teuthology error log:
2021-08-27T09:18:09.787 DEBUG:teuthology.orchestra.run.plana025:> rmdir -- /home/ubuntu/cephtest/mnt.0
2021-08-27T09:18:09.918 INFO:tasks.workunit:Deleted artificial mount point /home/ubuntu/cephtest/mnt.0/client.0
2021-08-27T09:18:09.918 INFO:teuthology.run_tasks:Running task netsplit.disconnect...
2021-08-27T09:18:09.930 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
File "/home/teuthworker/teuthology/teuthology/run_tasks.py", line 94, in run_tasks
manager = run_one_task(taskname, ctx=ctx, config=config)
File "/home/teuthworker/teuthology/teuthology/run_tasks.py", line 70, in run_one_task
return task(**kwargs)
File "_8080_r_ceph_ceph_9d625c649d8642febd948281feca2b8988be892e/qa/tasks/netsplit.py", line 38, in disconnect
(host1,) = ctx.cluster.only(config0).remotes.iterkeys()
AttributeError: 'dict' object has no attribute 'iterkeys'
2021-08-27T09:18:09.931 DEBUG:teuthology.run_tasks:Unwinding manager ceph
2021-08-27T09:18:09.940 INFO:tasks.ceph.ceph_manager.ceph:Canceling any pending splits or merges...
2021-08-27T09:18:09.941 DEBUG:teuthology.orchestra.run.plana011:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph osd dump --format=json
2021-08-27T09:18:10.640 INFO:teuthology.orchestra.run.plana011.stdout:

error_log.png View (83.3 KB) Zhiwei Dai, 10/09/2021 08:07 AM

History

#1 Updated by Kefu Chai about 1 year ago

  • Project changed from teuthology to RADOS
  • Category deleted (QA Suite)
  • Status changed from New to Fix Under Review
  • Pull request ID set to 43463

#2 Updated by Laura Flores 8 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF