Networks returned by get_instance_nw_info must have a label

Bug #882330 reported by Brad Hall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Brad Hall

Bug Description

Currently the QuantumManager network manager can return a nw_info dict that doens't contain a label and this breaks the api "get_networks_for_instance" call:

(nova.api.openstack): TRACE: networks = common.get_networks_for_instance(self.context, inst)
(nova.api.openstack): TRACE: File "/home/bmcconne/openstack/nova/nova/api/openstack/common.py", line 319, in get_networks_for_instance
(nova.api.openstack): TRACE: networks[info['label']] = network
(nova.api.openstack): TRACE: KeyError: 'label'

Revision history for this message
Brad Hall (bgh) wrote :
Changed in nova:
status: New → In Progress
assignee: nobody → Brad Hall (bgh)
Revision history for this message
Brad Hall (bgh) wrote :

Jenkins has merged this change.

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