Python3 do not use dict.iteritems dict.iterkeys dict.itervalues

Bug #1596124 reported by Yafei Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Low
Ji.Wei
glance_store
Fix Released
Undecided
Yafei Yu
python-heatclient
Fix Released
Undecided
Yafei Yu

Bug Description

Python3 do not use dict.iteritemse dict.iterkeys dict.itervalues, which would raise AttributeError: 'dict' object has no attribute 'iterkeys'.

Tags: python3
Yafei Yu (yu-yafei)
Changed in glance-store:
assignee: nobody → yuyafei (yu-yafei)
Changed in python-glanceclient:
assignee: nobody → yuyafei (yu-yafei)
Changed in python-heatclient:
assignee: nobody → yuyafei (yu-yafei)
Changed in cinder:
assignee: nobody → yuyafei (yu-yafei)
Changed in nova:
assignee: nobody → yuyafei (yu-yafei)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance_store (master)

Fix proposed to branch: master
Review: https://review.openstack.org/334126

Changed in glance-store:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/334128

Changed in python-glanceclient:
status: New → In Progress
Changed in python-heatclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/334129

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/334130

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/334131

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-heatclient (master)

Reviewed: https://review.openstack.org/334129
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=e84621ecc0e3c774a031ea6d29875a9313008bd0
Submitter: Jenkins
Branch: master

commit e84621ecc0e3c774a031ea6d29875a9313008bd0
Author: yuyafei <email address hidden>
Date: Sat Jun 25 12:06:58 2016 +0800

    Replace dict.iteritems with six.iteritems to make PY3 compatible

    Python3 do not use dict.iteritems, which would raise AttributeError: 'dict'
    object has no attribute 'iteritems'.

    Change-Id: I75f5954ce0d5573f69a22799dacb74b918028115
    Closes-Bug: #1596124

Changed in python-heatclient:
status: In Progress → Fix Released
Ji.Wei (jiwei)
Changed in tracker:
assignee: nobody → Ji.Wei (jiwei)
Ji.Wei (jiwei)
Changed in swift:
assignee: nobody → Ji.Wei (jiwei)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by yuyafei (<email address hidden>) on branch: master
Review: https://review.openstack.org/334131
Reason: As Kevin L. Mitchell says.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance_store (master)

Reviewed: https://review.openstack.org/334126
Committed: https://git.openstack.org/cgit/openstack/glance_store/commit/?id=19d8df31fdbb88439fc7876ea474b0abd465b240
Submitter: Jenkins
Branch: master

commit 19d8df31fdbb88439fc7876ea474b0abd465b240
Author: yuyafei <email address hidden>
Date: Sat Jun 25 11:52:29 2016 +0800

    Replace dict.iterkeys with six.iterkeys to make PY3 compatible

    Python3 do not use dict.iterkeys, which would raise AttributeError:
    'dict' object has no attribute 'iterkeys'.

    Change-Id: I97e320eac9f2f0b2cb5cf34a1d3fc57e80e440ed
    Closes-Bug: #1596124

Changed in glance-store:
status: In Progress → Fix Released
tags: added: python3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (master)

Fix proposed to branch: master
Review: https://review.openstack.org/341988

Changed in swift:
status: New → In Progress
Ji.Wei (jiwei)
no longer affects: tracker
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-heatclient 1.3.0

This issue was fixed in the openstack/python-heatclient 1.3.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/glance_store 0.14.0

This issue was fixed in the openstack/glance_store 0.14.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by yuyafei (<email address hidden>) on branch: master
Review: https://review.openstack.org/334130
Reason: As Huang Zhiteng says.

Yafei Yu (yu-yafei)
no longer affects: cinder
Yafei Yu (yu-yafei)
no longer affects: nova
Ian Cordasco (icordasc)
no longer affects: python-glanceclient
Tim Burke (1-tim-z)
Changed in swift:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/341988
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=4fa536a9be39632213f305308f07becfe16d037e
Submitter: Jenkins
Branch: master

commit 4fa536a9be39632213f305308f07becfe16d037e
Author: Ji-Wei <email address hidden>
Date: Thu Jul 14 16:01:46 2016 +0800

    Replace dict.iteritems with six.iteritems

    Python3 do not use dict.iteritems, which would raise AttributeError:
    'dict' object has no attribute 'iteritems'

    Change-Id: I53eb2f8837699965d786e7903bb4e2837be35b6d
    Closes-Bug: #1596124

Changed in swift:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift 2.15.0

This issue was fixed in the openstack/swift 2.15.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.