Project

General

Profile

Bug #37467

ceph-volume: RuntimeError: dictionary changed size during iteration

Added by Volker Theile 10 days ago. Updated 10 days ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
Start date:
11/29/2018
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

When running the command 'ceph-volume lvm batch --report --filestore /dev/vdg' the following error occurs.

-->  RuntimeError: dictionary changed size during iteration

More detailed:

# ceph-volume lvm batch --report --filestore /dev/vdg
Traceback (most recent call last):
  File "/usr/sbin/ceph-volume", line 6, in <module>
    main.Volume()
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 40, in __init__
    self.main(self.argv)
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 151, in main
    terminal.dispatch(self.mapper, subcommand_args)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 182, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/main.py", line 40, in main
    terminal.dispatch(self.mapper, self.argv)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 182, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 16, in is_root
    return func(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/batch.py", line 197, in main
    description=self.print_help(),
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/batch.py", line 153, in print_help
    detected_devices=self.get_devices(),
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/batch.py", line 145, in get_devices
    for device, detail in all_devices.items():
RuntimeError: dictionary changed size during iteration

History

#1 Updated by Alfredo Deza 10 days ago

Is this a Python 3 environment?

#2 Updated by Alfredo Deza 10 days ago

#4 Updated by Volker Theile 10 days ago

Alfredo Deza wrote:

Is this a Python 3 environment?

Yes

#5 Updated by Jan Fajerski 10 days ago

  • Status changed from New to Duplicate

Also available in: Atom PDF