InstanceTypeFilter host filter no longer valid

Bug #828848 reported by Sandy Walsh
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Ed Leafe

Bug Description

in nova.compute.api there is a hard coded reference to InstanceTypeFilter, which is no longer used

If changed to None (which should use the FLAGS default, we get this)

2011-08-18 08:39:16,904 DEBUG nova.scheduler.abstract_scheduler [-] Attempting to build 1 instance(s) from (pid=6624) schedule_run_instance /home/swalsh/openstack/nova/nova/scheduler/abstract_scheduler.py:218
2011-08-18 08:39:16,941 ERROR nova [-] Exception during message handling
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/home/swalsh/openstack/nova/nova/rpc/amqp.py", line 230, in _process_data
(nova): TRACE: rval = node_func(context=ctxt, **node_args)
(nova): TRACE: File "/home/swalsh/openstack/nova/nova/scheduler/manager.py", line 97, in _schedule
(nova): TRACE: **kwargs)
(nova): TRACE: File "/home/swalsh/openstack/nova/nova/scheduler/abstract_scheduler.py", line 230, in schedule_run_instance
(nova): TRACE: request_spec, kwargs)
(nova): TRACE: File "/home/swalsh/openstack/nova/nova/scheduler/abstract_scheduler.py", line 169, in _provision_resource
(nova): TRACE: request_spec, kwargs)
(nova): TRACE: File "/home/swalsh/openstack/nova/nova/scheduler/abstract_scheduler.py", line 70, in _provision_resource_locally
(nova): TRACE: image, base_options, None, [])
(nova): TRACE: TypeError: create_db_entry_for_new_instance() takes at least 7 arguments (6 given)
(nova): TRACE:

Related branches

Ed Leafe (ed-leafe)
Changed in nova:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Ed Leafe (ed-leafe)
milestone: none → diablo-4
Changed in nova:
status: In Progress → Fix Committed
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.