Project

General

Profile

Bug #38299

py2/py3 incompatibilities in util/templates.py

Added by Joshua Schmid 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
02/13/2019
Due date:
% Done:

0%

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

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

Also available in: Atom PDF