ZoneAwareScheduler can't build instances

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

Bug Description

Compute API's create_db_entry_for_new_instance() has added a new 'image' argument that's required. This is not being passed to the scheduler at the moment... so we'll need to pass it there.. and have the scheduler pass it along to this create_db call. Trace is below:

(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/rpc/amqp.py", line 230, in _process_data
(nova): TRACE: rval = node_func(context=ctxt, **node_args)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/scheduler/manager.py", line 94, in _schedule
(nova): TRACE: **kwargs)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/scheduler/zone_aware_scheduler.py", line 237, in schedule_run_instance
(nova): TRACE: request_spec, kwargs)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/scheduler/zone_aware_scheduler.py", line 170, in _provision_resource
(nova): TRACE: request_spec, kwargs)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/scheduler/zone_aware_scheduler.py", line 66, in _provision_resource_locally
(nova): TRACE: base_options, None, [])
(nova): TRACE: TypeError: create_db_entry_for_new_instance() takes at least 6 arguments (5 given)

Related branches

Chris Behrens (cbehrens)
Changed in nova:
status: New → Confirmed
assignee: nobody → Chris Behrens (cbehrens)
Changed in nova:
status: Confirmed → 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.