PCIDevicePool object can't be converted to a primitive if no tags are set

Bug #1436455 reported by Sylvain Bauza
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Sylvain Bauza

Bug Description

In https://github.com/openstack/nova/commit/9db1642e867deb2bea54a3c1a76e52b0480cc30c we missed to provide a dict instead of None, so six.iteritems() can raise an Exception.

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/167699

Changed in nova:
status: New → In Progress
Changed in nova:
importance: High → Medium
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/167699
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=267822930126e179a44830a66ab6014b46cf9e86
Submitter: Jenkins
Branch: master

commit 267822930126e179a44830a66ab6014b46cf9e86
Author: Sylvain Bauza <email address hidden>
Date: Wed Mar 25 18:13:59 2015 +0100

    Fix PCIDevicePool.to_dict() when the object has no tags

    If the object is created without specifying the tags attribute, then the
    iteration can fail.

    Change-Id: I092eaa70144772c8ab3b1ac76dd30e573d32f5d7
    Closes-Bug: #1436455

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-rc1 → 2015.1.0
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.