Project

General

Profile

Actions

Bug #38299

open

py2/py3 incompatibilities in util/templates.py

Added by Joshua Schmid about 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Executed:

ceph-volume --log-level DEBUG lvm batch --bluestore /dev/vdb /dev/vdc /dev/vdd --wal-devices /dev/vde --db-devices /dev/vdf

--> AttributeError: 'dict' object has no attribute 'iteritems'

/usr/lib/python3.6/site-packages/ceph_volume-1.0.0-py3.6.egg/ceph_volume/util/templates.py L26
for device, info in devices.iteritems():
^^ is now .items()

or with six respectively

Actions

Also available in: Atom PDF