info_cache unified object should hydrate/to_primitive network_info

Bug #1192014 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

The current InstanceInfoCache object has a 'network_info' field, but it doesn't hydrate it currently. It would be nice if it did. When it does that, we should convert it to json when to_primitive() is called.

Revision history for this message
Chris Behrens (cbehrens) wrote :

nova/compute/utils.py has a get_nw_info_for_instance() method that hydrates the instance['info_cache'].network_info. We can get rid of this method and use instance.info_cache.network_info directly once we fix this bug.

tags: added: unified-objects
Changed in nova:
importance: Undecided → Low
status: New → Triaged
Chris Behrens (cbehrens)
Changed in nova:
assignee: nobody → Chris Behrens (cbehrens)
status: Triaged → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → 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.