info_cache in Instance object can be None

Bug #1228426 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Chris Behrens

Bug Description

Instance object ignores when joined info_cache returns None when it shouldn't. Also if instance.info_cache happens to be None, it'll not be de-serialized correctly.

Chris Behrens (cbehrens)
Changed in nova:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Chris Behrens (cbehrens)
Chris Behrens (cbehrens)
description: updated
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/47654

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

Reviewed: https://review.openstack.org/47654
Committed: http://github.com/openstack/nova/commit/057534f2baf175b1deff0a34747107e21b41f6fd
Submitter: Jenkins
Branch: master

commit 057534f2baf175b1deff0a34747107e21b41f6fd
Author: Chris Behrens <email address hidden>
Date: Fri Sep 20 22:55:49 2013 +0000

    Instance object incorrectly handles None info_cache

    1) When getting records from the DB, it's possible for info_cache to be
    None, but this case was ignored.
    2) When de-serializing Instance with a None info_cache, a traceback
    would occur.

    Fixes bug 1228426

    Change-Id: I60e610aeafc9dea8d832adec10baaaecbae75215

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