Typo in update_service_capabilities: UnboundLocalError: local variable 'capability' referenced before assignment

Bug #824780 reported by Vladimir Popovski
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned

Bug Description

Bug/Typo in update_service_capabilities - capability field doesn't exist. Must be capabilities:

Causes capabilities update failure:

2011-08-11 12:59:56,568 ERROR nova [-] Exception during message handling
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/home/vlad/cactus/vsa/nova/nova/rpc/amqp.py", line 230, in _process_data
(nova): TRACE: rval = node_func(context=ctxt, **node_args)
(nova): TRACE: File "/home/vlad/cactus/vsa/nova/nova/scheduler/manager.py", line 74, in update_service_capabilities
(nova): TRACE: if not capability:
(nova): TRACE: UnboundLocalError: local variable 'capability' referenced before assignment
(nova): TRACE:

Related branches

Thierry Carrez (ttx)
Changed in nova:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-4
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-4 → 2011.3
status: Fix Committed → Fix Released
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.